Your Digital Media Has Never Looked So Good

Topic Author
Posts: 13
Joined: Wed Dec 02, 2015 11:47 am

Integrating midroll ads into the RAFAdFrameworkSample

Fri Jan 08, 2016 7:20 am

I've been working on a channel for a few weeks (independent film channel for those interested) and it's pretty much set up. I wanted to have it as a free channel that generates ad revenue, so I downloaded the and edited it to work with the rest of my channel. It works great the only problem is that I'm currently only seeing preroll ads and since I'm working with a lot of feature film content I'd like to also ad midroll ads as well. I'm just not entirely sure what to change within the code to call up midroll ads and have them play intermittently throughout. I've been reading and re-reading the RAF developer documentation, but I'm still a bit lost. If someone could take a look at the RAF sample and help me out with a few pointers that would be much appreciated. Coming down to the home stretch before WatchIndie is a real thing. Pretty exciting times.

also. as I side note. I've read some things about banner ads being implemented into channels, and I'm interested in learning more about the process. Is there somewhere I can read up on how to do this, and who might provide content like this?
Posts: 27
Joined: Thu Mar 12, 2015 2:03 pm

Re: Integrating midroll ads into the RAFAdFrameworkSample

Tue Jan 12, 2016 11:15 am

Hi ackeba,

Have you played with the setAdBreaks method? ... tAdBreaks()

Seems like it is used as, adIface.setAdBreaks(600, [60, 120, 300]) prior to adIface.getAds(). I have personally not used it, but it seems like that might be a place to start if you haven't yet.


Who is online

Users browsing this forum: No registered users and 9 guests