Hello,
Hiya,
It's kinda hard to help without more details ;)
Do you have a link to a test page that I can check-out?
Paul
Oh, and PS: Get the latest development release from the OVA developer site rather than use the "ova-trial" version which is now quite out of date.
Go to http://developer.longtailvideo.com/ova - register on the site and grab the SWF from the "Download the Latest Release" page.
That may help...
If not, give me a pointer to a test URL and I'll have a deeper look ...
Paul
I tried with the latest swf -> Same problem.
I will try to open an access online so you can check the whole setup, but in the meantime can you please take a look at the code below?
I think my problem comes from the fact that I want to use jwplayer recommended embbeder (http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12538/supported-player-embed-m...). But your support section doesn't mention using it.
Any clue ?
<div id="dv_container">Chargement du lecteur...</div><div id="companion" style="width:200px;height:240px;"></div>
<script type="text/javascript">
dv_player=new Object();
dv_player=jwplayer("dv_container");
dv_player.setup({
"flashplayer": "/world/communaute/video/jwplayer/5_8/player.swf",
"height": 585,
"width": 784,
"controlbar": "none",
"icons": false,
"logo.hide": true,
"youtube.quality": "medium",
"bufferlength": 8,
"plugins": "/world/communaute/video/jwplayer/5_8/ova.swf",
"ova.json":"%7B+%22ads%22%3A+%7B+%22servers%22%3A+%5B+%7B+%22type%22%3A+%22OpenX%22%2C+%22apiAddress%22%3A+%22http%3A%2F%2Fopenx%2Eopenvideoads%2Eorg%2Fopenx%2Fwww%2Fdelivery%2Ffc%2Ephp%22+%7D+%5D%2C+%22displayCompanions%22%3A+true%2C+%22companions%22%3A+%5B+%7B+%22id%22%3A%22companion%22%2C+%22width%22%3A%22200%22%2C+%22height%22%3A%22240%22+%7D+%5D%2C+%22schedule%22%3A+%5B+%7B+%22zone%22%3A+%2247%22%2C+%22position%22%3A+%22pre%2Droll%22+%7D%2C+%7B+%22zone%22%3A+%2248%22%2C+%22position%22%3A+%22bottom%22%2C+%22width%22%3A+320%2C+%22height%22%3A+80%2C+%22startTime%22%3A+%2200%3A00%3A05%22%2C+%22duration%22%3A+%2215%22+%7D+%5D+%7D+%7D",
"events": {
onError: function(event) {
console.log(event.message);
}
}
});
dv_player.load({file: "http://local.aufeminin.com/world/communaute/video/jwplayer/5_8/jwplayer.xml.asp?v=1/20100819/v286207...", image: "/shim.gif"});
Thank you for your support,
JG
Ok, I think I see your problem...
You are using player.load() to load up the new clip.
Have you looked at the RC5 release note? See section 37 on using player.load() - you need to add in some extra OVA configuration options to make that work.
http://developer.longtailvideo.com/ova/wiki/OvaReleaseNote-0.5.0-RC5
Also, I advise that you switch from using that messy old "ova.json" approach to using the direct JSON config as follows:
jwplayer("dv_container").setup({
plugins:
"/path/to/your/ova-jw.swf": {
"ads": {
..
},
"debug": {
}
}
});For example:
Do you have to use player.load() to load up the show clip?
I also recommend starting getting the JW Embedder config working with the show in the "playlist" variable, and then move to use player.load()
e.g.
Oh, and you can find some examples here using the player.load() approach:
http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/examples/pages/javascript/index.html
Hope this helps,
Paul
Hi Paul,
I coded the recommendations you gave me here above. Can you please take a look at my new version and maybe tell me why the inline direct JSON config doesn't work?
http://www.aufeminin.com/world/communaute/video/jwplayer/5_8/test_player.asp
An other issue is the player doesn't "crawl among" the overlapped VAST. This is relatively new, do you know if it will be supported?
example:
http://network.aufeminin.com/diff/1/1289078/show7.asp?1289078%3B205428%3B7753253006596407290%3B73636...
--> VASTAdTagURI
http://fr-advideum.videoplaza.tv/proxy/distributor?shares=90105dc3-fe09-4313-9edc-ad36c3b7160f&tt=PR...
--> VASTAdTagURI
http://broadcast.piximedia.fr/s2/campagnes/4582_RENAULT_4_FREINS_NOV11_VAGUE_3_RECHARGE/pm6806_1.xml
(which I put directly in the attached version, to focus on direct JSON problem)
This is used in order to make it possible for multiple adservers to get the display stats.
Thank you for your help!
JG
Hi Julien,
The "ova-trial" (0.4.4) version is quite old and a little limited. It doesn't support the JSON based direct configuration amongst other things.
It is best that you run RC5 as indicated above. Looking at your setup page, you are still running 0.4.4.
To get RC5, please grab the latest OVA SWF from the OVA Developer Site (http://developer.longtailvideo.com/ova) - register on there and then go to the "Download the Latest Release" page.
Take note that the SWF name has changed in RC5 to "ova-jw.swf"
Another one of the limitations of that trial version is limited VAST "wrapper" support.
Here is your setup running with RC5:
http://static.openvideoads.org/support/julien-girault/trial/jwplayer.html
I'm sure if you put in ad tags that are wrapped, they will work.
You can find the full set of RC5 examples here, including a range of wrapper examples:
http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/examples/index.html
Hope this helps,
Paul
Now it works thanks!!!
I am so sorry: I was really sure I had downloaded and replaced the swf as you asked... But I must have been interrupted :(
Thanks again, now we'll get a full licence when the boss sees that :)
Best regards,
JG
No prob at all.. yell out if you need anything else.
It's a bit confusing having the old trial version up at the moment - that will be updated shortly along with a tonne of new documentation so hopefully it will make things easier all around.
Sorry for the confusion on that ;)
Paul
Erm...
The ad works, but the clip no longer displays. :(
Any clue?
Looking at it - it seems to be an MRSS playlist.
Best do this setup for the player then (take the playlist option out and just specify the MRSS playlist as a "file" as follows):
<script type="text/javascript">jwplayer("container").setup({
'flashplayer': "player.swf",
'width': 480,
'height': 360,
'controlbar.position': 'bottom',
"autostart": true,
'file': 'http://xxx/path/to/your/playlist.mrss',
'image': 'http://xxx/v286207_7175_31.jpg',
'plugins': {
'/dist/swf/ova-jw.swf': {
"debug": { "levels": "fatal, config, vast_template, http_calls" },
"ads": {
"notice": { "textStyle": "smalltext" },
"schedule": [
{
"position": "pre-roll",
"tag": "http://xxxx/4582_RENAULT_4_FREINS_NOV11_VAGUE_3_RECHARGE/pm6806_1.xml"
}
]
}
}
}
});
</script>I just tested that on my setup here and that works..
Paul
Hi again Paul,
I have two minor problems remaining :
- the duration always is 35 secs and cuts my video. Is this due to licencing or something?
- the image won't display when I use the direct file and image call (like you told me to) instead of playlist. Is this normal ?
Hi,
Ah... there's no restriction on the duration so that shouldn't be the case (cutting to 35 seconds) - do you have a URL I can look at to see this happening?
On the image - that should also work - must also be something config related - can you show me that as well in a test URL and I'll look at it... ?
Paul
Going on the previous test page:
(http://www.aufeminin.com/world/communaute/video/jwplayer/5_8/test_player.asp) will set/unset a cookie allowing you to see/not see the jwplayer version i'm preparing for our video player:
http://www.aufeminin.com/recette-video-cuisine/comment-reussir-sa-creme-patissiere-n78354.html
Thanks,
Julien
Hi Julien,
There looks like there is a logic error in that RC6 build that is stopping the show duration being picked up by default, but you can force it to be taken via the "setDurationFromMetaData":true option as follows:
'plugins': {
'../ova-jw.swf': {
"debug": { "levels": "fatal, config, vast_template, http_calls" },
"shows": { "setDurationFromMetaData": true },
"ads": {
"schedule": [
{
"position": "pre-roll",
"tag": "http://xxx/pm6806_1.xml"
}
]
}
}
}That will get around the problem in the short term - in the meantime I'll fix the bug in RC6 so that it takes the metadata duration by default if no duration is specified...
Sorry about that bug...
Paul
Can you check also about that poster not displayed thing also please?
Well, I did - I see the poster image on the following link:
http://www.aufeminin.com/world/communaute/video/jwplayer/5_8/test_player.asp
It appears before the pre-rolls starts, albeit briefly because you have autostart on.
Confused - have I mis-understood something?
Paul
Hi Paul,
Happy new year! Wish you full success in your devs :)!
I tried the setDurationFromMetaData solution and it doesn't really work: the duration is correct only at first read, then when the end of the video is reached, the duration goes back to 34 secs wrong value...
You said you should fix it soon, any chance the release is ready or you have any other workaround advice?
Best regards,
Julien
Hi Julien,
Yep, I do have the fix done, but it's caught up with a very very large set of changes for overlays that I can't check in for another 48 hours... can you check the OVA dev site on Friday for an update and if you can't see it there, post back to the forum and I'll update.
Right now, I'm planning on checking in the latest changes towards the end of Thursday, and the set duration fix is definitely in there...
Paul
oops, sorry...
I integrated the pluggin "ova-trial" and cannot see the preroll before my main video starts. Surprisingly, The click to the site works fine. I want to be sure the solution will work before buying a license.
Any ideas?
Best regards,
JG