我正在使用以下 jquery live click 来显示来自我的 openx 服务器的广告。
$('.vbox > li > img').live('click',function(){
var videourl = "http://www.indiantripadviser.com/img/video/"+$(this).data('videourl');
var videodur = parseInt($(this).data('duration'));
$('#vidHolder').show();
flowplayer("player", "dist/swf/flowplayer-3.2.7.swf", {
"playlist":[
{
"url": videourl,
"duration": videodur
}
],
"plugins": {
"ova": {
"url": "dist/swf/ova.swf",
"autoPlay": true,
"ads": {
"controls": {
"skipAd": {
"enabled": true,
"showAfterSeconds": 5,
"image": "global/images/skip.png",
"width": 100,
"height": 15
}
},
"servers": [
{
"type": "OpenX",
"apiAddress": "http://advert.visionimpact.co.in/www/delivery/fc.php"
}
],
"schedule": [
{
"zone": "8",
"position": "pre-roll"
}
],
"notice": { "type": "countdown" }
}
}
},
"canvas": {
"backgroundColor": '#F9F9F9'
}
});
});
现在我的问题是,如果我使用“apiAddress”:“ http://advert.indiantripadviser.com/www/delivery/fc.php
”它可以正常工作,但是当我将其更改为它时,"apiAddress": "http://advert.**visionimpact.co.in**/www/delivery/fc.php"
它会停止投放广告。我无法弄清楚错误在哪里,因为我创建了多次链接区域和横幅。我完全出局了!