
Getting JWPlayer Video Ads that are not muted (when they should be) on our site
We have Google Adsense on our site, and some of the ads that come in are JWPlayer-based ads. Note: This post is not an indictment of JWPlayer at all. I believe someone is mis-coding player parameters. Just want to be clear about that.
Problem: We run our own audio on our site, and we're having this issue with video ads that should be muted instead playing audio. Of course, that ad audio is competing with our own non-ad audio content, and is causing a poor user experience. I've been trying to narrow down the culprit ads, and they do have JWPlayer in common.
If lengthy code is not a problem here, I just want to post the code from one of the ads that's un-muted and perhaps you can tell me what the ad-server firm has done wrong?
Here's the code from a problem ad:
----------------------------------------------Code Begins----------------------------------------
document.write("<script type=\"text/javascript\" src=\"http://player.longtailvideo.com/jwplayer.js\"></scr" + "ipt>");
//document.write("<div onmouseover=\"jwplayer().getPlugin('controlbar').show();jwplayer().setMute(false);\" onmouseout=\"jwplayer().getPlugin('controlbar').hide();jwplayer().setMute(true);\" style=\"width:300px;\"><div id=\"ova-jwplayer-container\"></div></div>");
document.write("<div id=\"ova-jwplayer-container\"></div>");
setTimeout(function(){
if (cp_code.indexOf("_") != -1){
cp_code = cp_code.split("_")[1];
}
else{
cp_code = apnx_referer;
}
jwplayer('ova-jwplayer-container').setup({ "flashplayer": "http://vids.adgorithmsltd.netdna-cdn.com/player.swf",
"autostart" : true, "repeat": "always", "volume" : 50, "playlist": [ { "file": "http://vids.adgorithmsltd.netdna-cdn.com/kate2.mp4" } ],
"width": 300, "height": 250, "controlbar": { "position": "bottom" }, "plugins": { "ova-jw": { "canFireEventAPICalls": true,
"ads": { "holdingClipUrl": "http://vids.adgorithmsltd.netdna-cdn.com/blank.mp4",
"schedule": [
{
"position": "pre-roll",
"server": {
"tag": "http://u-ads.adap.tv/a/h/7PD_TCD_RP6Db7Upl6kizk6c3R0g2_HZ9+1yGVjbnzY=?cb=__random-number__&description=VIDEO_DESCRIPTION&duration=VIDEO_DURATION&id=VIDEO_ID&keywords=VIDEO_KEYWORDS&title=VIDEO_TITLE&url=VIDEO_URL&eov=eov",
"failoverServers": [
{
"tag": "http://u-ads.adap.tv/a/h/7PD_TCD_RP6Db7Upl6kizk6c3R0g2_HZ9+1yGVjbnzY=?cb=__random-number__&description=VIDEO_DESCRIPTION&duration=VIDEO_DURATION&id=VIDEO_ID&keywords=VIDEO_KEYWORDS&title=VIDEO_TITLE&url=VIDEO_URL&eov=eov"
}
]
}
},
{
"position": "post-roll",
"server": {
"tag": "http://u-ads.adap.tv/a/h/7PD_TCD_RP6Db7Upl6kizk6c3R0g2_HZ9+1yGVjbnzY=?cb=__random-number__&description=VIDEO_DESCRIPTION&duration=VIDEO_DURATION&id=VIDEO_ID&keywords=VIDEO_KEYWORDS&title=VIDEO_TITLE&url=VIDEO_URL&eov=eov"
}
}
]
}
} } });
//jwplayer().setVolume(1);
//jwplayer().getPlugin('controlbar').hide();
jwplayer().setMute(true);
},500);
function onImpressionEvent(event, forced) {
if(event != null) {
console.log("ad impression");
if (typeof(jwplayer) !== 'undefined') {
jwplayer().setMute(true);
}
else{
console.log("jwplayer is undefined");
}
}
}
-----------------------------------------Code Ends-----------------------------------------------------------------
Can you tell me why this ad is feeding un-muted audio? Is there a problem with the way the player is configured?
Thanks so much.