This commit is contained in:
Brahim Hadriche committed 2022-12-04 18:55:01 -05:00
1 parent 7f7564f66b
commit cf74af04ec
5 files changed
+15 -12

No files matched your search

@@ -5,7 +5,6 @@ function Init()
m.rowList = m.top.FindNode("rowList")
m.top.ObserveField("rowItemSelected", "OnHomeGridScreenVideoSelected")
m.top.ObserveField("focus", "OnFocusChange")
m.top.ObserveField("playvideo", "OnPlayVideoCommand")
m.top.ObserveField("refresh", "OnRefresh")
m.top.focus = true
@@ -114,11 +113,6 @@ function OnHomeGridScreenVideoSelected(event as object) as void
PlayVideo(videoId, m.top)
end function
function OnPlayVideoCommand()
videoId = m.top.playvideo
PlayVideo(videoId)
end function
function OnkeyEvent(key as string, press as boolean) as boolean
if press = false
return false
@@ -8,7 +8,6 @@
<field id="jumpToRowItem" type="intarray" alias="RowList.jumpToRowItem" />
<field id="escape" type="string" alwaysNotify="true" />
<field id="focus" type="boolean" alwaysNotify="true" />
<field id="playvideo" type="string" alwaysNotify="true" />
<field id="refresh" type="boolean" alwaysNotify="true" />
</interface>
<children>