(function() { var script = document.createElement("script") script.type = "text/javascript"; if (script.readyState){ //IE script.onreadystatechange = function(){ if (script.readyState == "loaded" || script.readyState == "complete"){ script.onreadystatechange = null; var schedule = []; schedule = [ { tag: "https://www3.smartadserver.com/ac?siteid=396542&fmtid=98591&ab=1&tgt=&oc=1&out=vast4&ps=1&pb=3&visit=S&vcn=s&vph=__player-height__&vpw=__player-width__&vpmt=1&tmstp=__timestamp__&gdpr=1&gdpr_consent=__gdpr_consent__&schain=1.0,1!allinagency.com,396542,1,,&pgid=" + 1362868, offset: "pre" } ]; for(var i=0; i<5; i++) { if (i==0) { var publi = { tag: "https://www3.smartadserver.com/ac?siteid=396542&fmtid=98591&ab=2&tgt=&oc=1&out=vast4&ps=1&pb=3&visit=S&vcn=s&vph=__player-height__&vpw=__player-width__&vpmt=1&tmstp=__timestamp__&gdpr=1&gdpr_consent=__gdpr_consent__&schain=1.0,1!allinagency.com,396542,1,,&pgid=" + 1362868, offset: 15 * 60 } }else { var publi = { tag: "https://www3.smartadserver.com/ac?siteid=396542&fmtid=98591&ab=2&tgt=&oc=1&out=vast4&ps=1&pb=3&visit=S&vcn=s&vph=__player-height__&vpw=__player-width__&vpmt=1&tmstp=__timestamp__&gdpr=1&gdpr_consent=__gdpr_consent__&schain=1.0,1!allinagency.com,396542,1,,&pgid=" + 1362868, offset: i * 60 * 60 } } schedule.push(publi); } jwplayer("container_1730769260217").setup({ file: 'https://progressive.codev8.net/remotes/rtva/VTRInformativos/VTRInformativos/20241104203802_N1_CATARROJA.mp4' ,image: "https://www.canalsur.es/resources/archivos_offline/2024/11/4/1730749542070TAPA_CATARROJA.jpg" ,width: "100%" ,aspectratio: "16:9" ,advertising: { skipoffset:10, client: 'vast', schedule: schedule, creativeTimeout: 5000 } }); } }; } else { //Others script.onload = function(){ var schedule = []; schedule = [ { tag: "https://www3.smartadserver.com/ac?siteid=396542&fmtid=98591&ab=1&tgt=&oc=1&out=vast4&ps=1&pb=3&visit=S&vcn=s&vph=__player-height__&vpw=__player-width__&vpmt=1&tmstp=__timestamp__&gdpr=1&gdpr_consent=__gdpr_consent__&schain=1.0,1!allinagency.com,396542,1,,&pgid=" + 1362868, offset: "pre" } ]; for(var i=0; i<5; i++) { if (i==0) { var publi = { tag: "https://www3.smartadserver.com/ac?siteid=396542&fmtid=98591&ab=2&tgt=&oc=1&out=vast4&ps=1&pb=3&visit=S&vcn=s&vph=__player-height__&vpw=__player-width__&vpmt=1&tmstp=__timestamp__&gdpr=1&gdpr_consent=__gdpr_consent__&schain=1.0,1!allinagency.com,396542,1,,&pgid=" + 1362868, offset: 15 * 60 } }else { var publi = { tag: "https://www3.smartadserver.com/ac?siteid=396542&fmtid=98591&ab=2&tgt=&oc=1&out=vast4&ps=1&pb=3&visit=S&vcn=s&vph=__player-height__&vpw=__player-width__&vpmt=1&tmstp=__timestamp__&gdpr=1&gdpr_consent=__gdpr_consent__&schain=1.0,1!allinagency.com,396542,1,,&pgid=" + 1362868, offset: i * 60 * 60 } } schedule.push(publi); } jwplayer("container_1730769260217").setup({ file: 'https://progressive.codev8.net/remotes/rtva/VTRInformativos/VTRInformativos/20241104203802_N1_CATARROJA.mp4' ,image: "https://www.canalsur.es/resources/archivos_offline/2024/11/4/1730749542070TAPA_CATARROJA.jpg" ,width: "100%" ,aspectratio: "16:9" ,advertising: { skipoffset:10, client: 'vast', schedule: schedule, creativeTimeout: 5000 } }); }; } script.src = "https://www.canalsur.es/html/jwplayer-8.20.2/jwplayer.js"; document.getElementsByTagName("head")[0].appendChild(script); document.write('
'); })();