erincinci / open-video-ads

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

playOnce not working with Flowplayer playlists #134

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
playOnce does not seem to work with the following config:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>Open-Ads Test - Pre-Roll autoPlay:false</title>
    </head>
    <body>

<h3>Open-Ads Pre-Roll Test</h3>
This video shows a pre-roll ad with autoPlay set to "false"

<!--Begin FlowPlayer-->
<script type="text/javascript" 
src="http://themes.phpmotionwiz.com/player/flowplayer-
3.1.4.min.js"></script>
<a id="indexplayer" style="display:block;width:640px;height:370px;"></a>
        <script type="text/javascript">
            $f("indexplayer", {src:"http://themes.phpmotionwiz.com/player/flowplayer-
3.1.4.swf", wmode:'opaque'}, { 

                playlist: [
                { 
                    url: 
"http://themes.phpmotionwiz.com/uploads/player_thumbs/OVitzbrcrDvYYLBGmVVv.jpg",
                    scaling: 'scale'
                    }],

                plugins: { 
                        pseudo: { url: 
"http://themes.phpmotionwiz.com/player/flowplayer.pseudostreaming-3.1.3.swf" },
                        pseudoInstream: { url: 
"http://themes.phpmotionwiz.com/player/flowplayer.pseudostreaming-3.1.3.swf" },

                       openAdStreamer: {
                                "url": "/fp-http/OpenAdStreamer.swf",
//                                url: 
'http://themes.phpmotionwiz.com/player/OpenAdStreamer.swf',

                                  "autoPlay": false,

                                  "providers": {
                                    "http": "pseudo"
                                  },
            "debug": {
              "levels": "fatal, vast_template",
              "debugger": "firebug"
            },

                                  "shows": {
                                    "baseURL": 
"http://themes.phpmotionwiz.com/player/xmoov-flowplayer.php",
                                    "streams": [{
                                        "file": "OVitzbrcrDvYYLBGmVVv.flv",
                                        "duration": "00:01:00"
                                    }]
                                  },

                                  "ads": {
                                    "servers": [{
                                        "type": "OpenX",
                                        "apiAddress": 
"http://ads.sandtservices.net/www/delivery/fc.php"
                                    }],

                                    "disableControls": true,
                                    "allowRepetition": true,                                    

                                    "schedule": [
                                       {
                                        "zone": "18",
                                        "position": "pre-roll",
                                        "playOnce": true
                                       }
                                    ]
                                  }
                       },
                        controls: { url: 
"http://themes.phpmotionwiz.com/player/flowplayer.controls-3.1.4.swf",
                             // display properties such as sice, location and opacity
                                bottom: 0,
                                opacity: 0.95,
                                height: 24,
                                autoHide: 'always',
                             // styling properties
                                   backgroundColor: "#cccccc",
                                   timeBgColor: "#555555",
                                   timeColor: "#36baef",
                                   durationColor: "#ffffff",
                                   progressColor: "#0368A0",
                                   bufferColor: "#999999",
                                   buttonColor: "#0368A0",
                                   buttonOverColor: "#36baef",
                                   sliderColor: "#000000",
                                   volumeSliderColor: "#000000",
                                   tooltipColor: "#0368A0",
                                   tooltipTextColor: "#ffffff",
                                   borderRadius: "0px",

                            // controlbar specific settings
                               all: false,
                               play: true,
                               pause: true,
                               scrubber: true,
                               time: true,
                               volume: true,
                               mute:true,
                               fullscreen: false,
                            // tooltips
                               tooltips: {
                                buttons: true,
                                fullscreen: "Enter fullscreen mode"
                               }

                              } 
                } 
            });</script><!--End of FlowPlayer-->

    <p>Everything works fine until the pre-roll ad finishes. At that point you have to click the 
play button again to begin playback of the video.<br>
       You should only have to click Play once.</p>

    </body>
</html>

Original issue reported on code.google.com by paul.sch...@gmail.com on 15 Nov 2009 at 9:14

GoogleCodeExporter commented 9 years ago
Not working on mid-rolls

Original comment by paul.sch...@gmail.com on 18 Nov 2009 at 4:52

GoogleCodeExporter commented 9 years ago
Checking against latest FP 3.2 build.. 

Original comment by paul.sch...@gmail.com on 20 Apr 2010 at 10:32

GoogleCodeExporter commented 9 years ago
Doesn't seem to be working on post-rolls either. Pre-rolls work. See 
"Customised ad delivery - example 02"

Original comment by paul.sch...@gmail.com on 22 Apr 2010 at 10:25

GoogleCodeExporter commented 9 years ago
JW 5.x is fixed - works perfectly.

Flowplayer is fundamentally broken. Mid-rolls can't be played once and the last 
post-roll won't be played once 
as the _player.next() doesn't seem to want to force the "play again" button to 
appear when skipping over the last 
post-roll. The last clip remains and is played.

Original comment by paul.sch...@gmail.com on 24 Apr 2010 at 9:33

GoogleCodeExporter commented 9 years ago
Can't fix fully for FP - the mid-roll won't work and the final post-roll in a 
stream sequence won't playOnce. 
Moving to awaiting status while I talk with FP and see what's the best to do.

Original comment by paul.sch...@gmail.com on 25 Apr 2010 at 2:06