Dev player rewrite (#883)

This commit is contained in:
Brahim Hadriche authored and GitHub committed 2026-06-10 19:01:21 -04:00
1 parent 8c11272b92
commit 1ba454cdab
80 files changed
+8405 -921

No files matched your search

+1
View File
@@ -319,6 +319,7 @@ namespace Locale
Loading = "Loading"
Buffering = "Buffering"
FullScreenHint = "Press Options (*) for full screen"
RewindLiveTv = "Rewind live TV"
VideoLoadError = "Video load error"
VideoLoadErrorMessage = "Failed to load video information for %1"
ErrorPlayingVideo = "Error playing video %1"
+5
View File
@@ -58,6 +58,11 @@ function ValidDouble(obj as dynamic) as double
end if
end function
' Returns true if the given object is numeric (Integer, Float, or Double)
function IsNumber(obj as dynamic) as boolean
return obj <> invalid and (GetInterface(obj, "ifInt") <> invalid or GetInterface(obj, "ifFloat") <> invalid or GetInterface(obj, "ifDouble") <> invalid)
end function
' Returns true if the given object is of type String, false otherwise
function IsString(obj as dynamic) as boolean
return obj <> invalid and GetInterface(obj, "ifString") <> invalid