Dentro de la última batalla por Mosul

'); $ vidEndSlate.removeClass (' video__end-slate – inactivo '). AddClass (' video__end-slate – active '); CNN.autoPlayVideoExist = CNN.autoPlayVideoExist === true)? True: false, configObj = {thumb: 'none', video: 'world / 2017/07/10 / mosul-iraq-fuerzas-final-batalla-interior-look-walsh-pkg.cnn', width: '100 % ', Altura:' 100% ', sección:' doméstico ', perfil:' expansión ', red:' cnn ', markupId:' large-media_0 ', adsection:' const-article-pagetop ', frameWidth: % ', FrameHeight:' 100% ', posterImageOverride: {"mini": {"height": 124, "width": 220, "tipo": "jpg", "uri": "// i2.cdn.cnn .com / cnnnext / dam / assets / 170710123426-01-old-city-mosul-small-169.jpg "}," xsmall ": {" height ": 173," width ": 307," type ":" jpg "," Uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170710123426-01-old-city-mosul-medium-plus-169.jpg"},"small":{"height ": 259," width ": 460," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170710123426-01-old-city-mosul-large -169.jpg "}," medium ": 438," width ": 780," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam /assets/170710123426-01-old-city-mosul-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri ": "//i2.cdn.cnn.com/cnnnext/dam/assets/170710123426-01-ol D-city-mosul-super-169.jpg "}," full16x9 ": {" height ": 900," width ": 1600," type ":" jpg "," uri ":" // i2.cdn. Cnn.com/cnnnext/dam/assets/170710123426-01-old-city-mosul-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type ":" Jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170710123426-01-old-city-mosul-small-11.jpg"}}},autoStartVideo = 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, isLivePla VideoEndSlateImpl = new CNN.VideoEndSlate ('large-media_0'); / *** Encuentra el siguiente ID de video y la URL de la colección actual, si está disponible . * @param currentVideoId El video que se está reproduciendo actualmente * @param containerId El identificador del contenedor principal del elemento de video * / function findNextVideo (currentVideoId) {var i, vidObj; if (currentVideoId && jQuery.isArray (currentVideoCollection) && currentVideoCollection.length > 0) {para (i = 0; I 0) {videoEndSlateImpl.showEndSlateForContainer ();}}} callbackObj = {onPlayerReady: function (containerId) {CNN.VideoPlayer.reportLoadTime (containerId); CNN.VideoPlayer.handleInitialExpandableVideoState (containerId); CNN.VideoPlayer.handleAdOnCVPVisibilityChange (containerId, CNN (JQuery (containerClassId) .parents ('.js- (jQuery (containerClassId)), si (Modernizr &&! Modernizr.phone &&! Modernizr.mobile &&! Modernizr.tablet) {var containerClassId = ) {VideoPinner = new CNN.VideoPinner (containerClassId); videoPinner.init ();} else {CNN.VideoPlayer.hideThumbnail (containerId);}}}, / ** Escuche los metadatos (pg-rail-tall__head) Evento que se activa justo después de que el anuncio termina y comienza la reproducción de vídeo real * / onContentEntryLoad: function (containerId, playerId, contentid, isQueue) {CNN.VideoPlayer.showSpinner (containerId);}, onContentMetadata: function (containerId, playerId, metadata, ContentId, duration, width, height) {var endSlateLen = jQuery (document.getElementById (cont () () () () () () () () () () () () () () ), OnAdPlay: function (containerId, cvpId, token, mode, id, duration, blockId, adType) {clearTimeout (moveToNextTimeout); if (blockId === 0) {(new Image () Http://traffic.outbrain.com/network/trackpxl?advid=814&action=view";}CNN.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; / ** Cuando el contenido de video comience a reproducirse, inyecte datos analíticos * para Aspen (si está activado) y el diseño del anuncio complementario * (si se estableció cuando el anuncio se reprodujo) debería volver al * diseño de anuncio épico. OnContentPlay llama a updateCompanionLayout * con el layout 'restoreEpicAds' para hacer este 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') {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 === 'función') {if (prevVideoId.length === 0 && document.referrer && document.referrer.search (/ / videos //)> = 0 ) {PrevVideoId = document.referrer.replace (/ ^ (?: Http | https) : / / [^/] / videos / (. + . W +) (?: / Video / playlists () () () () () () () () () () () () () () VideoInformación.ResultadoAnalytics ('videoPageData', {videoCollection: currentVideoCollectionId, videoBranding: CNN.omniture.branding_content_page, templateType: CNN.omniture.template_type, nextVideo: nextVideoId, previousVideo: prevVideoId, referrerType: '', referrerUrl: document.referrer});} if (Modernizr &&! Modernizr.phone &&! Modernizr.mobile && !) (), OnContentReplayRequest: function (containerId, cvpId, contentId) ) {If (Modernizr &&! Modernizr.phone &&! Modernizr.mobile &&! Modernizr.table T) {if (typeof videoPinner! == 'undefined' && videoPinner! == null) {videoPinner.setIsPlaying (true); var $ endSlate = jQuery (document.getElementById (containerId)). Js-video__end-slate '). Eq (0); if ($ endSlate.length> 0) {$ endSlate.removeClass (' video__end-slate – activo '). AddClass (' video__end-slate – inactivo '); }, 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 (documento) .triggerVideoContentStarted ();}, onContentComplete: function (containerId, cvpId, contentId ) {If (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout ('restoreFreewheel');} navigateToNextVideo (contentId, containerId);}, onContentEnd: function (conta (If) (if (typeof videoPinner! == 'undefined' && videoPinner! == null) {videoPinner.setIsPlaying (false (false)) {if (Modernizr &&! Modernizr.phone &&! Modernizr.mobile &&! Modernizr.tablet) ), 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)? / * Videodemanddust es una característica por defecto del inyector * / CNN.INJECTOR.scriptComplete ('videodemanddust');

Fuente CNN