i have installed the opendstreamer.swf plugin
the prerolls load in the preview window is they are http - but not rtmp *which all of our videos are) neither will show preroll on the live site.
the companion ads are working fine -
is there something wrong with my code?
{echo '<a
href="mp4:' . $newvideo . '"
style="display:block;width:640px;height:360px"
id="player">
</a>
<!-- Flowplayer installation and configuration -->
<script language="JavaScript">
flowplayer("player", "http://www.dannylipford.com/flowplayer/flowplayer.commercial-3.2.7.swf", {
key:'#REMOVED',
clip: {
baseurl: '/home/dlipford/dannylipford.com/stream/',
provider: 'rtmp',
autoPlay: false,
autoBuffering: 'true',
bufferLength:'6',
eventCategory: 'Watched Video',
urlResolvers: 'bwcheck',
// preserve aspect ratios
scaling: 'fit',
onCuepoint: [5000, function() {
this.getPlugin("theContent").fadeOut(2000);
}],
bitrates: [
// standard definition
{ url: "mp4:' . $newvideo . '", width: 640, bitrate: 800, normal: true, isDefault: true },
// HD
{ url: "mp4:' . $newvideoHD . '", width: 1280, bitrate: 1200, hd: true }
],
},
plugins: {
openAdStreamer: {
url: 'http://www.dannylipford.com/flowplayer/OpenAdStreamer.swf',
"playOnce": true,
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "http://openx.dannylipford.com/www/delivery/fc.php",
"allowAdRepetition": true
}
],
"schedule": [
{
"zone": "155",
"position": "pre-roll"
}
]
},
"debug": {
"levels": "fatal",
"debugger": "firebug"
}
},
// RTMP streaming plugin
rtmp: {
url: 'http://www.dannylipford.com/flowplayer/flowplayer.rtmp-3.2.3.swf',
netConnectionUrl: 'rtmp://dannylipford.com/vod'
},
// bandwidth check plugin
bwcheck: {
url: 'http://www.dannylipford.com/flowplayer/flowplayer.bwcheck-3.2.5.swf',
// enable the HD toggle button
hdButton: true,
// Cloudfront uses FMS servers
serverType: 'wowza',
netConnectionUrl: 'rtmp://dannylipford.com/vod',
},
gatracker: {
url: "http://www.dannylipford.com/flowplayer/flowplayer.analytics-3.2.2.swf",
// track all possible events. By default only Start and Stop
// are tracked with their corresponding playhead time.
events: {
all: true,
// track the finish event under label 'Finish', by default it goes under label 'Stop'
finish: 'Finish'
},
debug: false,
accountId: "UA-792535-1" // your Google Analytics id here
},
theContent: {
// the only required property
url: "http://www.dannylipford.com/flowplayer/flowplayer.content-3.2.0.swf",
// some display properties
height: 26,
width: 640,
borderRadius: 0,
padding:0,
backgroundColor: '#000000',
opacity: 1,
bottom: 0,
border: 0,
// one styling property
backgroundGradient: [0.6, 0.0, 0.4],
/*** content plugin specific properties ***/
// fetch the actual HTML inside a DIV element on the page
html: document.getElementById("theContent").innerHTML,
style: {p: {fontSize: 12, color: '#ffffff', textTransform: 'uppercase', fontWeight: 'bold',} }
},
gatracker: {
url: "http://www.dannylipford.com/flowplayer/flowplayer.analytics-3.2.2.swf",
// track all possible events. By default only Start and Stop
// are tracked with their corresponding playhead time.
events: {
all: true,
// track the finish event under label 'Finish', by default it goes under label 'Stop'
finish: 'Finish'
},
debug: false,
accountId: "UA-792535-1" // your Google Analytics id here
},
viral: {
// load the viral videos plugin
url: 'http://www.dannylipford.com/flowplayer/flowplayer.viralvideos-3.2.5.swf',
share: {
// define a video title used in sharing
description: 'Great Video from Danny Lipford Media',
// disable livespaces (its from Microsoft)
livespaces: false,
bebo: false,
orkut:false,
digg:false
},
// disable embedding completely, the same syntax can
// be used to disable also email and share
embed: false
},
},
});
</script>
Hi Mike,
I suspect you are running a very very old version of the OVA plugin - the name "OpenAdStreamer.swf" tells me that. I haven't seen that name used in years!
So, step 1 is to use the very latest version of OVA. You can get that from the OVA developer site - go to http://developer.longtailvideo.com/ova, register on there and grab the SWF (RC5 or the latest development SWF RC6) from the "Download the Latest" page.
Now onto step 2 - "zone" 155 - it doesn't seem to be setup properly on your OpenX instance.
I've created a test page here:
http://static.openvideoads.org/support/danny-lipford/setup/flowplayer.htmlThat has your setup using the latest RC from the OVA developer site.
Here's what comes up in the OVA debug (see this in the Javascript console in your browser):
07:42:15 GMT+0000 VideoAdServingTemplate: Loading VAST data from OpenX - request is http://openx.dannylipford.com/www/delivery/fc.php?script=bannerTypeHtml:vastInlineBannerTypeHtml:vastInlineHtml&zones=pre-roll:0.0-0%3D155&nz=1&source=&r=R0.14515292178839445&block=1&format=vast&charset=UTF-8flowplayer.html
07:42:15 GMT+0000 Debuggable: OVA initialisation complete.
flowplayer.html
07:42:15 GMT+0000 VideoAdServingTemplate: Loaded 308 bytes for the VAST template - now parsing it...
flowplayer.html
07:42:15 GMT+0000 VideoAdServingTemplate: <?xml version="1.0" encoding="UTF-8"?> <VideoAdServingTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd"> <!-- You are requesting vast xml for zone which does not apear to be a video overlay banner nor a vast inline banner. --> </VideoAdServingTemplate>
Which basically means you don't have a "Video" banner setup on your OpenX instance against zone "155" ...
Finally, concerning RTMP, it's a good idea to see the release notes for RC5 here (section 20):
http://developer.longtailvideo.com/ova/wiki/OvaReleaseNote-0.5.0-RC5There's more info in there on setting up to run against RTMP, but given you are using OpenX, RTMP support should happen automatically (and work)...
Hope this helps,
Paul