Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

OVA thinks video is an ad

4 replies [Last post]

The preroll and video play correctly the first time through. After the ad, skip to the end of the video, and it should start to repeat the video. It does repeat, but it now thinks the video is a 787 second preroll.

I am loading a new playlist at the end of the video which may be what OVA isn't compatible with.

http://tinyurl.com/2cnhf7r

Hiya..

I just tried your link, but couldn't get the player to play anything - is it working at the moment?

I'm pretty sure though it's the loading of a new playlist. OVA really needs to know the playlist when it initialises and at the moment, that initialisation happens when the player starts up.

In an ideal world, you should be able to do something like:

this.getPlugin("ova").reinitialise()

after the

this.load(...)

But unfortunately at present, JW does not support an ability for a plugin to have a Javascript interface like that.

I'm wondering if I can detect your reload and force OVA to reinitialise itself? (thinking aloud - I'm not at all sure that can be done as it internally uses the playlist load events to manage it's operation so that would be difficult to track reliably)

Paul.

Hey - your link works now.

Ok, looking at it, yep - that's 100% right - the reload is causing the problem.

OVA loads up, configures itself after getting the ad, ends up with a playlist that is:

ad
stream

Then you trigger a load manually via Javascript so OVA gets back to clip 0 thinking the first clip is an ad.

The problem is, even if I can recognise your load event (which I can), OVA will try to reschedule against the new playlist putting another ad in there as the defined ad schedule for a loaded playlist is pre-roll then stream.

Out of interest, can I ask - why are you doing it this way and not loading up everything at the start ....?

Palu

I allow users to toggle "Continuous Play" which is basically the playlist. So when one video ends, it goes to the next, which you can turn on by clicking "Play All" below the video. A playlist was needed to keep the video in fullscreen from one video to the next. If someone doesn't want to use this feature, then it will just repeat the same video. While using OVA, the repeated video does not work correctly.

I guess I could make a work around where it loads a playlist with 2 videos, one being 0 seconds long, and the second being the real video. But when I configure other types of ads, and possibly sometimes 2 prerolls, this would get harder to manage. I would prefer OVA to reinitialize when a new playlist is loaded.

I'd like to add that using this.playlistItem(0); instead of loading a new playlist does not work. At the end of the video, it plays another preroll and then starts the next video.