Ticket #385 (new defect)

Opened 14 months ago

Last modified 10 months ago

"region" does not work with HTML5 overlays

Reported by: paul Owned by: paul
Priority: blocker Milestone: OVA for AS3 (v1.2.0)
Component: OVA for AS3 Version: OVA for AS3 (trunk)
Keywords: Cc:
Forum thread:

Description

This short-cut type setup doesn't work with HTML5 overlays:

<script type="text/javascript">jwplayer("container").setup({
'flashplayer': " http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/dist/swf/5.9.swf",
'width': 480,
'height': 360,
'controlbar.position': 'bottom',
'file': ' http://streaming.openvideoads.org:81/shows/the-black-hole.mp4',
'duration': 60,
'plugins': {

' http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/dist/swf/ova-jw.swf': {

"debug": { "levels": "fatal, config, vast_template, http_calls, display_events" },
"ads": {

"schedule": [

{

"region": "bottom-div",
"startTime": "00:00:05",
"duration": "recommended:10",
"scheduleid": "200004",
"tag": " http://zo.longtailvideo.com.s3.amazonaws.com/html-resource.vast",

"regions": {

"html5": true,
"flash": false

}
}

]

},
"debug": {

"levels": "fatal, config, vast_template, vpaid, http_calls"

}

}

}
});
</script>

Instead, this is needed:

<script type="text/javascript">jwplayer("container").setup({
'flashplayer': " http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/dist/swf/5.9.swf",
'width': 480,
'height': 360,
'controlbar.position': 'bottom',
'file': ' http://streaming.openvideoads.org:81/shows/the-black-hole.mp4',
'duration': 60,
'plugins': {

' http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/dist/swf/ova-jw.swf': {

"debug": { "levels": "fatal, config, vast_template, http_calls, display_events" },
"ads": {

"schedule": [

{

"startTime": "00:00:05",
"duration": "recommended:10",
"scheduleid": "200004",
"tag": " http://zo.longtailvideo.com.s3.amazonaws.com/html-resource.vast",

"regions": {

"html5": {

"enable": true,
"region": "bottom-div",
"overlay": false,
"width": 450,
"height": 50

},
"flash": false

}
}

]

},
"debug": {

"levels": "fatal, config, vast_template, vpaid, http_calls"

}

}

}
});
</script>

See:  http://localhost/support/zach/overlays/html-resource.html

Also improve the overlay documentation explaining the extended "regions" structure/setup.

Change History

comment:1 Changed 10 months ago by paul

  • Milestone changed from OVA for AS3 (v1.0.1) to OVA for AS3 (v1.2.0)
Note: See TracTickets for help on using tickets.