Forum Discussion

Pojj's avatar
Pojj
Visitor
15 years ago

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.

2 Replies

  • 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.