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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Video Player Playlist Of Streams

We are developing a video player that will contain multiple videos in a sequence. First there will be short video as a pre-roll commercial and the second item will be a live stream.

We tried to solve this in our server-side using HTTP redirects
1. we put serverside generated URL in the roku player and put the player in loop mode
2. in the initial/first request we HTTP redirect the player to pre-roll ad URL and
3. after the ad video finishes the player requests the same URL and we on the server side HTTP redirect to the live stream

this approach works OK with some of the players provided in the Roku SDK (customvideoplayer) but it does not work in some other players because it always plays back the first stream (the ad video)

where should we look? Does the roVideoPlayer caches the initial redirect URL?
0 Kudos
Roku Employee
Roku Employee

Re: Video Player Playlist Of Streams

I'm not sure the loop/redirect idea is the best solution. This blog post on preroll video may be helpful: ... r-channel/
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.