tfanslau
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2022
11:15 AM
Return to main screen when video is done.
I created a simple Roku Channel (SDK). I currently only have one video on the channel and it works fine except for when it ends, it just pauses on the final frame. I would prefer that it goes back to the main page of the channel. I've searched quite a bit with no luck. Can anyone help? Thanks in advance.
2 REPLIES 2
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2022
01:53 PM
Re: Return to main screen when video is done.
You have to set up an observer on "video_state" and monitor for "finished". Then change the visibility on your video screen and your "main page" screen.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
tfanslau
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2022
01:55 PM
Re: Return to main screen when video is done.
I shall try that and let you know how I make out. Thank you.