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: 
jtrjason
Visitor

different pre-roll videos

I work for a media company who is looking to start their own ROKU channel.
We produce our own content, and are looking to do community biased programming with local advertisements that we would produce in-house. I have the channel frame work designed using the videoplayer example, and i have read the blog article on pre-roll video, but it did not answer all of my questions. I have also looked through every post on this forum, and have not found the answers i am looking for.

I am trying to find a way to have two types of pre-roll, one for when a company sponsors a show, and one to show random ads from our advertisers.
I need this to be as easy to change as the XML files are.

Thanks for the help!
0 Kudos
1 REPLY 1
RokuJoel
Binge Watcher

Re: different pre-roll videos

Well, you could add a field to your XML for any sponsored show, like

<sponsored>http://urlofsponsoredpreroll</sponsored>



so if it is sponsored, the preroll would be the correct sponsor, otherwise:


<sponsored>http://urlofrandomAdPreroll</sponsored>


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