Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
One of my customers has asked me if there exists a method to display ads/commercials within a video stream. A way to program ads to play at certain times within a show, and a way to simply edit a text or XML file to switch out the ads periodically. Is there a way to accomplish this?
If you break your video into 15 minute parts, you could insert a mid-roll ad between pieces. If you are streaming using HLS you should be able to pause the stream on the server side, push your ad, and then restart the paused stream.
How well this works on Roku, I am not certain, but I'm pretty sure a few of channels use mDialog, not sure if they use their HLS ad insertion technology.