nginadofficial / open-video-ads

Automatically exported from code.google.com/p/open-video-ads
2 stars 3 forks source link

applyToParts seems to be forcing clips to be dropped from the playlist #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
 When I use a list of clips and apply advertising to individual items on the list, the second entry in 
the play list doesn't get loaded up.

Here is an example:

http://bl-www.egontech.com/BigLive/pg/stage/4389

Here is a config snippet from that page:

                openAdStreamer: {
                    "providers": { "rtmp": "rtmp" },
                    "autoPlay": true,
                    url: 'http://bl-
www.egontech.com/BigLive/flowplayer/OpenAdStreamer.swf',
                    "shows": {
                    "baseURL": "rtmp://bl-video.egontech.com/simplevideostreaming",
                    "streams": [
{ "file":"mp4:testads/biglive-800k.mp4", "duration":"00:00:10", "provider": 
"rtmp", "player": { 
"metaData": false, "scaling": "fit" } },
{ "file":"mp4:testads/biglive-800k.mp4", "duration":"00:00:10", "provider": 
"rtmp", "player": { 
"metaData": false, "scaling": "fit" } },
{ "file":"mp4:media/santos-14-jul-2009/glint/Glint 
1of7-800k.m4v","duration":"00:6:21", 
"provider": "rtmp", "player": { "metaData": false, "scaling": "fit" } },
{ "file":"mp4:media/santos-14-jul-2009/glint/Glint 
2of7-800k.m4v","duration":"00:5:48", 
"provider": "rtmp", "player": { "metaData": false, "scaling": "fit" } },
{ "file":"mp4:media/santos-14-jul-2009/glint/Glint 
3of7-800k.m4v","duration":"00:5:28", 
"provider": "rtmp", "player": { "metaData": false, "scaling": "fit" } },
{ "file":"mp4:media/santos-14-jul-2009/glint/Glint 
4of7-800k.m4v","duration":"00:5:38", 
"provider": "rtmp", "player": { "metaData": false, "scaling": "fit" } },
{ "file":"mp4:media/santos-14-jul-2009/glint/Glint 
5of7-800k.m4v","duration":"00:7:10", 
"provider": "rtmp", "player": { "metaData": false, "scaling": "fit" } },
{ "file":"mp4:media/santos-14-jul-2009/glint/Glint 
6of7-800k.m4v","duration":"00:5:12", 
"provider": "rtmp", "player": { "metaData": false, "scaling": "fit" } },
{ "file":"mp4:media/santos-14-jul-2009/glint/Glint 
7of7-800k.m4v","duration":"00:8:15", 
"provider": "rtmp", "player": { "metaData": false, "scaling": "fit" } }
                    ] }, // end streams
                    "ads": {
                        "servers": [ { "type": "OpenX", "apiAddress": "http://bl-
ads.egontech.com/openx/www/delivery/fc.php", "allowAdRepetition": true } ],
                        "schedule": [
                            { "zone": "12", "position": "pre-roll", "applyToParts": [ 1 ], "player": 
{ "metaData": false, "fadeInSpeed": 4000, "fadeOutSpeed": 4000, "scaling": 
"fit" } },
                            { "zone": "14", "position": "post-roll", "applyToParts": [ 7 ], 
"player": { "metaData": false, "fadeInSpeed": 4000, "fadeOutSpeed": 4000, 
"scaling": "fit" } }
                        ] }, // end ads
                        "debug": { "levels": "config", "debugger": "firebug" }
                }, //OpenAdStreamer

And output from firebug:

RTMP provider set to rtmp
Configuring 1 ad servers
Configuring the ad server requests across each ad slot...
Impression serving being forced: false
AdSlot: 0 - ad server type is OpenX on address http://bl-
ads.egontech.com/openx/www/delivery/fc.php
Impression serving being forced: false
AdSlot: 1 - ad server type is OpenX on address http://bl-
ads.egontech.com/openx/www/delivery/fc.php
No Flowplayer playlist defined - relying on internal show stream configuration
Saftey margin for start of stream time tracking events set to 300 milliseconds
Configuration loaded as:
Debug level has been set to 64
Active debuggers have been set to firebug
Building the ad schedule - 2 ad slots defined, stream count is 9, maxspots -1
Creating new ad slot: pre-roll0 tied to stream index 1
Creating new ad slot: post-roll1 tied to stream index 7
Ad schedule constructed - 2 ad positions created and slotted
Flowplayer Open Video Ad Streamer constructed - v0.4.0.3
Regions created - 17 in total. Trace follows:
Have configured 1 ad server request groups
NOTIFICATION: Scheduling stream 'show-b-0-0' ('mp4:testads/biglive-800k.mp4') 
at index 0
Custom Clip Config: Setting metaData to false
Custom Clip Config: Setting scaling to fit
NOTIFICATION: Scheduling stream 'pre-roll0' 
('mp4:testads/30/country_life_butter.mp4') at 
index 1
Custom Clip Config: Setting fadeInSpeed to 4000
Custom Clip Config: Setting fadeOutSpeed to 4000
Custom Clip Config: Setting metaData to false
Custom Clip Config: Setting scaling to fit
clipList == 1: autoPlay set on clip[0] to: true
NOTIFICATION: Scheduling stream 'show-hf-2-2' 
('mp4:media/santos-14-jul-2009/glint/Glint 
1of7-800k.m4v') at index 2
Custom Clip Config: Setting metaData to false
Custom Clip Config: Setting scaling to fit
NOTIFICATION: Scheduling stream 'show-hf-3-3' 
('mp4:media/santos-14-jul-2009/glint/Glint 
2of7-800k.m4v') at index 3
Custom Clip Config: Setting metaData to false
Custom Clip Config: Setting scaling to fit
NOTIFICATION: Scheduling stream 'show-hf-4-4' 
('mp4:media/santos-14-jul-2009/glint/Glint 
3of7-800k.m4v') at index 4
Custom Clip Config: Setting metaData to false
Custom Clip Config: Setting scaling to fit
NOTIFICATION: Scheduling stream 'show-hf-5-5' 
('mp4:media/santos-14-jul-2009/glint/Glint 
4of7-800k.m4v') at index 5
Custom Clip Config: Setting metaData to false
Custom Clip Config: Setting scaling to fit
NOTIFICATION: Scheduling stream 'show-hf-6-6' 
('mp4:media/santos-14-jul-2009/glint/Glint 
5of7-800k.m4v') at index 6
Custom Clip Config: Setting metaData to false
Custom Clip Config: Setting scaling to fit
NOTIFICATION: Scheduling stream 'show-e-7-7' 
('mp4:media/santos-14-jul-2009/glint/Glint 
6of7-800k.m4v') at index 7
Custom Clip Config: Setting metaData to false
Custom Clip Config: Setting scaling to fit
NOTIFICATION: Scheduling stream 'post-roll1' 
('mp4:testads/30/sexy_subaru_carwash.mp4') at 
index 8
Custom Clip Config: Setting fadeInSpeed to 4000
Custom Clip Config: Setting fadeOutSpeed to 4000
Custom Clip Config: Setting metaData to false
Custom Clip Config: Setting scaling to fit
NOTIFICATION: Scheduling stream 'show-g-8' 
('mp4:media/santos-14-jul-2009/glint/Glint 
7of7-800k.m4v') at index 9
Custom Clip Config: Setting metaData to false
Custom Clip Config: Setting scaling to fit

Original issue reported on code.google.com by paul.sch...@gmail.com on 29 Jan 2010 at 8:29

GoogleCodeExporter commented 9 years ago
Resolved in the 0.5.0 RC1 release.

Original comment by paul.sch...@gmail.com on 20 Apr 2010 at 9:59