Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Pojj
Visitor

How to create PLAY BUTTON in Video Player

PLEASE HELP, I want to create 2 more PLAY BUTTON in Video Player DetailScreen or SpringBoardScreen to play a set of same movies but different bitrate, for example:
Button 1 play Movie1_1200k
Button 2 play Movie1_800k
Button 3 play Movie1_400k
User can pick what's best for them to watch.
Thank you in advance for your help.
0 Kudos
2 REPLIES 2
RokuChris
Roku Employee
Roku Employee

Re: How to create PLAY BUTTON in Video Player

Roku is designed to choose the most appropriate rendition of a video automatically based on the bandwidth available to it. To accomplish that, you would add the various renditions to the streams array within your content-meta-data structure.

If you really want to have seperate buttons for each rendition, take a look at the documentation for roSpringboardScreen in the Component Reference document. Particularly the AddButton() function.
0 Kudos
Pojj
Visitor

Re: How to create PLAY BUTTON in Video Player

Thank you RokuChris,
I found this http://forums.roku.com/viewtopic.php?f=34&t=37831&p=246850&hilit=streamUrl#p246850 and it's works good, I wanted to do like this but I don't know how that's why I came out with that idea. Thank you again.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.