Hello
I am trying to use this DEMO script to run the trial version of OVA (Open Video Ads: Download | LongTail Video | Home of the JW Player)
<embed
id="ply"
data="http://player.longtailvideo.com/player5.2.swf"
src="http://player.longtailvideo.com/player5.2.swf"
width="450"
height="300"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="plugins=ova-trial&config=http://www.longtailvideo.com/files/ova/jw-trial-config.xml"
/>
It works fine but I was wondering how do I use OVA for my Javascript based JW Player. I am using the following code, the video player works fine and plays the video but it does NOT show any ads. Can someone guide me pls?
<script type='text/javascript' src='/jwplayer/jwplayer.js'></script>
<div id='mediaplayer'></div>
<script type="text/javascript">
jwplayer('mediaplayer').setup({
'flashplayer': 'player.swf',
'id': 'playerID',
'width': '480',
'height': '270',
'file': '/videos/bunny.mp4',
'image': '/thumbs/bunny.jpg',
'dock': 'true',
'plugins': {
'ova-trial': {
'config': 'http://www.longtailvideo.com/files/ova/jw-trial-config.xml'
}
}
});
</script>
Many Thanks