Search screen (#10)

* Search screen with keyboard and suggestions

* Clear search on visibility change

* Search page works

* Local search history

* Use built-in delete function

* Changelog

* Animation

* Adjust suggestions

* Web play video always goes to home
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2022-11-23 09:02:05 -05:00
1 parent 22dfe785f1
commit 740440c3a7
15 files changed
+395 -22

No files matched your search

+2 -1
View File
@@ -12,8 +12,9 @@ function ShowVideoScreenEmbedded(videoId as string, thumbnailNode as object)
ShowVideoScreen(videoId)
end function
function ShowVideoScreenFull(videoId as string)
function ShowVideoScreenFull(videoId as string, sender as object)
m.videoPlayer = CreateObject("roSGNode", "VideoPlayer")
m.videoPlayer.sender = sender
AddVideoFields()
m.videoPlayer.embedded = false
+2 -2
View File
@@ -13,9 +13,9 @@ function OnkeyEvent(key as string, press as boolean) as boolean
end function
function CloseVideo()
homeGridScreen = m.top.getParent().findNode("HomeGridScreen")
sender = m.top.sender
m.top.control = "stop"
m.top.visible = false
m.top.getParent().removeChild(m.videoPlayer)
homeGridScreen.focus = true
sender.focus = true
end function
@@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<component name="VideoPlayer" extends="Video">
<interface>
<field id="sender" type="node" />
</interface>
</component>