Ticket #46 (new enhancement)
Autoplay and empty VAST responses / ad server down
| Reported by: | paul | Owned by: | paul |
|---|---|---|---|
| Priority: | wish | Milestone: | OVA for AS3 (v1.0.1) |
| Component: | OVA for AS3 | Version: | OVA for AS3 (trunk) |
| Keywords: | Cc: | ||
| Forum thread: |
Description
Reported by dashiad, Jun 10, 2010
What steps will reproduce the problem?
- Setup: 1 pre-roll spot (configured with autoplay:false) and 1 clip/show (configured with autoplay:true)
- Set the server to an invalid url (simulating the server is down)
- The server returns an empty VAST response
What is the expected output? What do you see instead?
The VAST request is done, and, as there are no ads clips to add, "nothing" in the playlist gets the autoplay:false, and the clip autoplays.I see this is the expected output, but maybe not the "desired" output (for example, if one page has 3 videos pointing to a dead ads server, the 3 videos would autoplay...).Maybe (as i'm pretty new to this), i'm missing something (some config option..).I guess i can handle this issue by listening to events and some javascript, but i think it'd be interesting to have it out-of-the-box.
Please provide any additional information below.
This is somehow related to issue 177 (Lazy mode).Both issues would need a not-clip-related "autoplay".In the "lazy load" issue, setting "autoplay" to "false" in the clip, (so it doesnt autostart,and the ads request is done after clicking in "play" for the first clip) would not suffice;the plugin would have to change the clip's autoPlay to "true" so the clip plays after the ads.
If i can be of any help testing/debugging/fixing, feel free to contact!
Comment 1 by dashiad, Jun 11, 2010
To deal with this, i've added a "pauseIfNoPreroll" config option, that overrides any previous "autoPlay" setting calculated in OpenAdStreamer.as..I chose this way to support different ways of specifying splash images (as player container background, as its childnodes,or in-playlist), that behave differently and would need different "pauseIfNoPreroll" values.
