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)|
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?
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.