Notice: file_put_contents(): Write of 99591 bytes failed with errno=28 No space left on device in /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php on line 36
Warning: http_response_code(): Cannot set response code - headers already sent (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 17
Warning: Cannot modify header information - headers already sent by (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 20 WorldScreen.com - Articles - The History Channel UK Rebrands
');
var url = "https://worldscreen.com/wp-admin/admin-ajax.php"
var data = {
action: 'ws_slider_video',
vid: vid
};
jQuery.post(url, data, function( response ) {
var parse = jQuery.parseJSON( response );
var bc_id = parse.bid;
var apnd_data = parse.data;
$('#video_wrapper').empty();
$('#video_wrapper').append(apnd_data);
var iOS = false;
p = navigator.platform;
// if( p === "iPad" || p === "iPhone" || p === "iPod" ){
var player;
var modVP;
var modExp;
var modCon;
function myTemplateLoaded(experienceID) {
player = brightcove.api.getExperience(experienceID);
modVP = player.getModule(brightcove.api.modules.APIModules.VIDEO_PLAYER);
modExp = player.getModule(brightcove.api.modules.APIModules.EXPERIENCE);
modCon = player.getModule(brightcove.api.modules.APIModules.CONTENT);
modExp.addEventListener(brightcove.api.events.ExperienceEvent.TEMPLATE_READY, onTemplateReady);
}
function onTemplateReady(evt) {
modVP.addEventListener(brightcove.api.events.MediaEvent.BEGIN, onMediaEventFired);
modVP.addEventListener(brightcove.api.events.MediaEvent.CHANGE, onMediaEventFired);
modVP.addEventListener(brightcove.api.events.MediaEvent.COMPLETE, onMediaEventFired);
modVP.addEventListener(brightcove.api.events.MediaEvent.ERROR, onMediaEventFired);
modVP.addEventListener(brightcove.api.events.MediaEvent.PLAY, onMediaEventFired);
modVP.addEventListener(brightcove.api.events.MediaEvent.PROGRESS, onMediaProgressFired);
modVP.addEventListener(brightcove.api.events.MediaEvent.STOP, onMediaEventFired);
}
function onMediaEventFired(evt) {
}
function onMediaProgressFired(evt) {
}
function changeVideo(videoid) {
modVP.getCurrentVideo(currentVideoCallback(videoid));
}
function currentVideoCallback(videoid) {
modVP.loadVideoByID(videoid);
}
jQuery('#html5player').html('');
if(window.location.href.indexOf("display") > -1) {
var background = document.getElementById("video_wrapper");
background.style.background = "#161212 url(img/videoplayer_html5.png) no-repeat";
}
// }
});
});
});