Friday, 23 February 2018

Voices from Eastern Ghouta: ‘They will all die, one by one’


‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = thumb: ‘none’,video: ‘tv/2018/02/21/eastern-ghouta-residents-forced-underground-sam-kiley-pkg.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-article-pagetop’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: “mini”:”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180221170552-eastern-ghouta-residents-forced-underground-sam-kiley-pkg-00004725-small-169.jpg”,”height”:124,”xsmall”:”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180221170552-eastern-ghouta-residents-forced-underground-sam-kiley-pkg-00004725-medium-plus-169.jpg”,”height”:173,”small”:”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180221170552-eastern-ghouta-residents-forced-underground-sam-kiley-pkg-00004725-large-169.jpg”,”height”:259,”medium”:”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180221170552-eastern-ghouta-residents-forced-underground-sam-kiley-pkg-00004725-exlarge-169.jpg”,”height”:438,”large”:”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180221170552-eastern-ghouta-residents-forced-underground-sam-kiley-pkg-00004725-super-169.jpg”,”height”:619,”full16x9″:”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180221170552-eastern-ghouta-residents-forced-underground-sam-kiley-pkg-00004725-full-169.jpg”,”height”:900,”mini1x1″:”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180221170552-eastern-ghouta-residents-forced-underground-sam-kiley-pkg-00004725-small-11.jpg”,”height”:120,autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [],currentVideoCollectionId = ”,isLivePlayer = false,moveToNextTimeout,mutePlayerEnabled = false,nextVideoId = ”,nextVideoUrl = ”,turnOnFlashMessaging = false,videoPinner,videoEndSlateImpl;if (CNN.autoPlayVideoExist === false) autoStartVideo = true;if (autoStartVideo === true) if (turnOnFlashMessaging === true) autoStartVideo = false;containerEl = jQuery(document.getElementById(configObj.markupId));CNN.VideoPlayer.showFlashSlate(containerEl); else CNN.autoPlayVideoExist = true;configObj.autostart = autoStartVideo;CNN.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, isVideoReplayClicked, mutePlayerEnabled);CNN.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);videoEndSlateImpl = new CNN.VideoEndSlate(‘large-media_0’);/*** Finds the next video ID and URL in the current collection, if available.* @param currentVideoId The video that is 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) CNN.VideoPlayer.reportLoadTime(containerId);CNN.VideoPlayer.handleInitialExpandableVideoState(containerId);CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, CNN.pageVis.isDocumentVisible());if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) var containerClassId = ‘#’ + containerId;if (jQuery(containerClassId).parents(‘.js-pg-rail-tall__head’).length) videoPinner = new CNN.VideoPinner(containerClassId);videoPinner.init(); else CNN.VideoPlayer.hideThumbnail(containerId);,/** Listen to the metadata event which fires right after the ad ends and the actual video playback begins*/onContentEntryLoad: function(containerId, playerId, contentid, isQueue) CNN.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;CNN.VideoSourceUtils.updateSource(containerId, metadata);if (endSlateLen > 0) videoEndSlateImpl.fetchAndShowRecommendedVideos(metadata);,onAdPlay: function (containerId, cvpId, token, mode, id, duration, blockId, adType) clearTimeout(moveToNextTimeout);CNN.VideoPlayer.hideSpinner(containerId);if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) videoPinner.setIsPlaying(true);videoPinner.animateDown();,onTrackingFullscreen: function (containerId, PlayerId, dataObj) CNN.VideoPlayer.handleFullscreenChange(containerId, dataObj);,onContentPlay: function (containerId, cvpId, event) var playerInstance,prevVideoId;/** When the video content starts playing, inject analytics data* for Aspen (if enabled) and the companion ad layout* (if it was set when the ad played) should switch back to* epic ad layout. onContentPlay calls updateCompanionLayout* with the ‘restoreEpicAds’ layout to make this switch*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) CNN.companion.updateCompanionLayout(‘restoreEpicAds’);clearTimeout(moveToNextTimeout);CNN.VideoPlayer.hideSpinner(containerId);if (CNN.VideoPlayer.getLibraryName(containerId) === ‘fave’) null; else prevVideoId = (window.jsmd && window.jsmd.v && (window.jsmd.v.eVar18 ,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) CNN.VideoPlayer.mutePlayer(containerId);if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) CNN.companion.updateCompanionLayout(‘removeEpicAds’);CNN.VideoPlayer.hideSpinner(containerId);clearTimeout(moveToNextTimeout);CNN.VideoSourceUtils.clearSource(containerId);jQuery(document).triggerVideoContentStarted();,onContentComplete: function (containerId, cvpId, contentId) if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) CNN.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) CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, visible);};if (typeof configObj.context !== ‘string’ || configObj.context.length 0) configObj.adsection = window.ssid;CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;CNN.VideoPlayer.getLibrary(configObj, callbackObj, isLivePlayer);});/* videodemanddust is a default feature of the injector */CNN.INJECTOR.scriptComplete(‘videodemanddust’);



Source link

قالب وردپرس

The post Voices from Eastern Ghouta: ‘They will all die, one by one’ appeared first on Article Pub.



from WordPress http://ift.tt/2BNhpGP

No comments:

Post a Comment