The company I work for has just purchased a JW Player Pro license and a Adtonomy Video and Text license. The site is currently setup to play videos and that works fine. I am now trying to ad preroll videos to each video. So far I have had no luck in getting it to work. Here is what my code looks like:
jwplayer("container").setup({
flashplayer: "mediaplayer/player.swf",
file: "mediaplayer/video.mp4",
height: 270,
width: 480,
plugins: {
adtvideo: {
config: 'http://localhost/testsite/config.xml'
}
}
});<ad-program>
<ad id="ad2" type="video" title="Ad 2" description="Description for Ad 2">
<ad_video length="0:27" url="http://localhost/testsite/ad.flv"
type="video/x-flv" scalable="aspect"/>
<destination url="http://www.google.ca"/>
</ad>
<spot id="preroll_spot" type="video" timing="pre" />
<controls show_pause="true" show_skip="true" show_mute="true" static_message="A message from our sponsors" countdown_message="Your video will resume in 00 seconds." countdown_key="00"/>
</ad-program>Note: If the license only works on the registered domain I will set up this example on that domain.
There is an issue with Adtonomy video and recent versions of the JW Embedder. Contact us for a fix - http://www.longtailvideo.com/support/contact-us