diff --git a/playlet-lib/src/components/VideoPlayer/VideoContentTask.bs b/playlet-lib/src/components/VideoPlayer/VideoContentTask.bs index 4ad56342..c896921d 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoContentTask.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoContentTask.bs @@ -165,6 +165,7 @@ function SetCaptions(metadata as object, service as object, contentNode as objec return end if ' TODO:P2 we don't need to read and parse this every time + ' TODO:P2 filter out languages that can't render properly on Roku isoLanguageList = ParseJson(ReadAsciiFile("libpkg:/config/ISO-639-1-to-ISO-639-2T.json5")) instance = service.GetInstance() diff --git a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs index 2a7d6ef8..1002f637 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs @@ -139,6 +139,9 @@ function OnControlChange() end if end function +' TODO:P2 investigate timeouts caused by control="stop" being synchrounous and too slow +' See if `asyncStopSemantics` would fix this +' Test if stopping a video asynchrnously and loading another one immediately works or not function OnVideoPlayerStateChange() as void state = m.top.state content = m.top.content