Refactor and fix player (#19)

* Refactor and fix player

* Rename functions, fix video loading indicator

* Hide loading indicator on exit
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2022-12-02 10:46:48 -05:00
1 parent 2d1490f925
commit 68a8d61eb0
14 files changed
+388 -329

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ function OnSearchVideoSelected(event as object)
itemContent = rowContent.GetChild(selectedRowItem)
videoId = itemContent.videoId
ShowVideoScreen(videoId, m.top)
PlayVideo(videoId, m.top)
end function
function OnkeyEvent(key as string, press as boolean) as boolean