Adding Preroll Advertisements to VideoPlayer Template

Resolved

“lmagnif” wrote:
If VAST is what we need to do, then fine… but I’m not sure we need to do that. All we want to do is have a short commercial video played before whatever video is selected to be played. I don’t want to have to repackage or republish every time we acquire a new commercial ad. I’d like to just be able to update an XML file (ideally, the same XML file that calls the video being selected if that’s possible). We’d like to be able to choose what ad is played before what content.

That’s almost exactly what VAST does, VAST is just an XML schema (http://www.iab.net/guidelines/508676/di … /vast_copy). Each time you want to play an ad, your channel will make a request to your (or your ad provider’s) cloud service for a chunk of VAST defining the ad to be played. No need to update your channel for each new ad you put in the system.

You could use your own schema to define your ads if you wanted, but you’d also have to write the BrightScript to parse it. If you go with VAST, you can use the library included with the VAST template channel.

“lmagnif” wrote:

  1. the commercial video couldn’t be skipped prior to playing the main video
    and
  2. the main video would play right after the commercial is over.

Sounds easy, right? I can’t find documentation ANYWHERE to tell me how to do this.

I think this blog post addresses both those issues: http://blog.roku.com/developer/2011/06/ … r-channel/

Resolved

You know I need those files as well how can I get them?