Why that will Kabul attack is usually so significant

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};sy88pgw.autoPlayVideoExist = (sy88pgw.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2017/05/31/afghanistan-explainer-nic-robertson-ejk-lon-orig.sy88pgw’,width: ‘100%’,height: ‘100%’,section: ‘international’,profile: ‘expansion’,network: ‘sy88pgw’,markupId: ‘large-media_0’,adsection: ‘const-article-pagetop’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170531164502-afghan-explainer-nic-robertson-tiny-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170531164502-afghan-explainer-nic-robertson-medium-plus-169.jpg”},”tiny”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170531164502-afghan-explainer-nic-robertson-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170531164502-afghan-explainer-nic-robertson-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170531164502-afghan-explainer-nic-robertson-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170531164502-afghan-explainer-nic-robertson-full-169.jpg”},”mini1x1″:{“height”:0,”width”:0,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170531164502-afghan-explainer-nic-robertson-tiny-11.jpg”}}},autoStartVideo = false,callbackObj,containerEl,currentVideoCollection = [],currentVideoCollectionId = ”,isLivePlayer = false,moveToNextTimeout,mutePlayerEnabled = false,nextVideoId = ”,nextVideoUrl = ”,turnOnFlashMessaging = false,videoPinner,videoEndSlateImpl;if (sy88pgw.autoPlayVideoExist === false) {autoStartVideo = true;if (autoStartVideo === true) {if (turnOnFlashMessaging === true) {autoStartVideo = false;containerEl = jQuery(document.getElementById(configObj.markupId));sy88pgw.VideoPlayer.showFlashSlate(containerEl);} else {sy88pgw.autoPlayVideoExist = true;}}}configObj.autostart = autoStartVideo;sy88pgw.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, mutePlayerEnabled);sy88pgw.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);videoEndSlateImpl = fresh sy88pgw.VideoEndSlate(‘large-media_0’);/*** Finds the next video ID in addition to URL from the current collection, if available.* @param currentVideoId The video that will is usually currently playing* @param containerId The parent container Id of the video element*/function findNextVideo(currentVideoId) {var i,vidObj;if (currentVideoId && jQuery.isArray(currentVideoCollection) && currentVideoCollection.length > 0) {for (i = 0; i 0) {videoEndSlateImpl.showEndSlateForContainer();}}}callbackObj = {onPlayerReady: function (containerId) {sy88pgw.VideoPlayer.reportLoadTime(containerId);sy88pgw.VideoPlayer.handleInitialExpandableVideoState(containerId);sy88pgw.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, sy88pgw.pageVis.isDocumentVisible());if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {var containerClassId = ‘#’ + containerId;if (jQuery(containerClassId).parents(‘.js-pg-rail-tall__head’).length) {videoPinner = fresh sy88pgw.VideoPinner(containerClassId);videoPinner.init();} else {sy88pgw.VideoPlayer.hideThumbnail(containerId);}}},/** Listen to the metadata event which fires right after the ad ends in addition to the actual video playback begins*/onContentEntryLoad: function(containerId, playerId, contentid, isQueue) {sy88pgw.VideoPlayer.showSpinner(containerId);},onContentMetadata: function (containerId, playerId, metadata, contentId, duration, width, height) {var endSlateLen = jQuery(document.getElementById(containerId)).parent().find(‘.js-video__end-slate’).eq(0).length;sy88pgw.VideoSourceUtils.updateSource(containerId, metadata);if (endSlateLen > 0) {videoEndSlateImpl.fetchAndShowRecommendedVideos(metadata);}},onAdPlay: function (containerId, cvpId, token, mode, id, duration, blockId, adType) {clearTimeout(moveToNextTimeout);if (blockId === 0) {(fresh Image()).src = “http://traffic.outbrain.com/network/trackpxl?advid=814&action=view”;}sy88pgw.VideoPlayer.hideSpinner(containerId);if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(true);videoPinner.animateDown();}}},onContentPlay: function (containerId, cvpId, event) {var playerInstance,prevVideoId;/** When the video content starts playing, inject analytics data* for Aspen (if enabled) in addition to the companion ad structure* (if the idea was set when the ad played) should switch back to* epic ad structure. onContentPlay calls updateCompanionLayout* with the ‘restoreEpicAds’ structure to make that will switch*/if (sy88pgw.companion && typeof sy88pgw.companion.updateCompanionLayout === ‘function’) {sy88pgw.companion.updateCompanionLayout(‘restoreEpicAds’);}clearTimeout(moveToNextTimeout);sy88pgw.VideoPlayer.hideSpinner(containerId);if (sy88pgw.VideoPlayer.getLibraryName(containerId) === ‘fave’) {playerInstance = FAVE.player.getInstance(containerId) || null;} else {playerInstance = containerId && window.cnnVideoManager.getPlayerByContainer(containerId).videoInstance.cvp || null;}prevVideoId = (window.jsmd && window.jsmd.v && (window.jsmd.v.eVar18 || window.jsmd.v.eVar4)) || ”;if (playerInstance && typeof playerInstance.reportAnalytics === ‘function’) {if (prevVideoId.length === 0 && document.referrer && document.referrer.search(//videos//) >= 0) {prevVideoId = document.referrer.replace(/^(?:http|https)://[^/]/videos/(.+.w+)(?:/video/playlists/.*)?$/, ‘/video/$1’);if (prevVideoId === document.referrer) {prevVideoId = ”;}}playerInstance.reportAnalytics(‘videoPageData’, {videoCollection: currentVideoCollectionId,videoBranding: sy88pgw.omniture.branding_content_page,templateType: sy88pgw.omniture.template_type,nextVideo: nextVideoId,previousVideo: prevVideoId,referrerType: ”,referrerUrl: document.referrer});}if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(true);videoPinner.animateDown();}}},onContentReplayRequest: function (containerId, cvpId, contentId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(true);var $endSlate = jQuery(document.getElementById(containerId)).parent().find(‘.js-video__end-slate’).eq(0);if ($endSlate.length > 0) {$endSlate.removeClass(‘video__end-slate–active’).addClass(‘video__end-slate–inactive’);}}}},onContentBegin: function (containerId, cvpId, contentId) {sy88pgw.VideoPlayer.mutePlayer(containerId);if (sy88pgw.companion && typeof sy88pgw.companion.updateCompanionLayout === ‘function’) {sy88pgw.companion.updateCompanionLayout(‘removeEpicAds’);}sy88pgw.VideoPlayer.hideSpinner(containerId);clearTimeout(moveToNextTimeout);sy88pgw.VideoSourceUtils.clearSource(containerId);jQuery(document).triggerVideoContentStarted();},onContentComplete: function (containerId, cvpId, contentId) {if (sy88pgw.companion && typeof sy88pgw.companion.updateCompanionLayout === ‘function’) {sy88pgw.companion.updateCompanionLayout(‘restoreFreewheel’);}navigateToNextVideo(contentId, containerId);},onContentEnd: function (containerId, cvpId, contentId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(false);}}},onCVPVisibilityChange: function (containerId, cvpId, visible) {sy88pgw.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, visible);}};if (typeof configObj.context !== ‘string’ || configObj.context.length 0) {configObj.adsection = window.ssid;}sy88pgw.autoPlayVideoExist = (sy88pgw.autoPlayVideoExist === true) ? true : false;sy88pgw.VideoPlayer.getLibrary(configObj, callbackObj, isLivePlayer);});/* videodemanddust is usually a default feature of the injector */sy88pgw.INJECTOR.scriptComplete(‘videodemanddust’);

Why that will Kabul attack is usually so significant

Related Posts

About The Author

Add Comment