'); $ vidEndSlate.removeClass (' video__end-slate-inactive ') addClass (' video__end-slate – active '); ; CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true)? true: false; configObj = {thumb: 'none', video: 'tv / 2017/08/06 / fiable-fuentes-sesiones-crackdown-en-leaks.cnn', ancho: '100%', altura: 100% ', sección:' interno ', perfil:' expansión ', red:' cnn ', markupId:' large-media_0 ', adsection:' const-article-pagetop ', frameWidth: 100% ', posterImageOverride: {"mini": {"altura": 124, "anchura": 220, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam /assets/170804113334-jeff-sessions-leaks-press-conference-bts-00004104-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170804113334-jeff-sessions-leaks-press-conference-bts-00004104-medium-plus-169.jpg "}," pequeño ": {" height ": 259," width ": 460," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170804113334-jeff-sessions "medium": {"height": 438, "width": 780, "type": "jpg", "uri": "/" -leaks-press-conference-bts-00004104-large-169.jpg " /i2.cdn.cnn.com/cnnnext/dam/assets/170804113334-jeff-sessions-leaks-press-conference-bts-00004104-exlarge-16 "Jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/" / 170804113334-jeff-sessions-leaks-press-conference-bts-00004104-super-169.jpg "}," full16x9 ": {" height ": 900," width ": 1600, , "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170804113334-jeff-sessions-leaks-press-conference-bts-00004104-full-169.jpg"},"mini1x1": {"height": 120, "width": 120, "type": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170804113334-jeff-sessions-leaks- ), autoStartVideo = false, callbackObj, containerEl, currentVideoCollection = []currentVideoCollectionId = '', isLivePlayer = falso, moveToNextTimeout, mutePlayerEnabled = false, nextVideoId = ' if (autoStartVideo === true) {if (turnOnFlashMessaging === true) {autoStartVideo = true, si (autoStartVideo === true) false; containerEl = jQuery (document.getElementById (configObj.m ) CNN.VideoPlayer.setPlayerProperties (configObj.markupId, autoStartVideo, isLivePlayer, mutePlayerEnabled); CNN. VideoIntercambioVideoInCollection (currentVideoCollection, configObj.markupId); videoEndSlateImpl = nuevo CNN.VideoEndSlate ('large-media_0'); / *** Busca el siguiente ID de video y la URL de la colección actual, si está disponible. * @param currentVideoId El video que está jugando actualmente * @param containerId El Id del contenedor padre del elemento de video * / 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 (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); 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 comienza 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) a * 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 ), 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)? es una característica por defecto del inyector * / CNN.INJECTOR.scriptComplete ('videodemanddust');


