Compartir

'); $ vidEndSlate.removeClass (' video__end-slate-inactive '). AddClass (' video__end-slate-active '); CNN.autoPlayVideoExist = CNN.autoPlayVideoExist === true)? Real: false; var configObj = {thumb: 'none', video: 'política / 2017/08/02 / white-house-briefing-immigration-plan-acosta-april-ryan-miller-full.cnn' 'Cnn', markupId: 'large-media_0', adsection: 'const-video-leaf', frameWidth: '100%', frameHeight: '100%', posterImageOverride: {"mini": {"altura": 124, "anchura": 220, "tipo": "jpg", "uri": "// i2.cdn "Xsmall": 173, "width": 307, "type": "jpg", "cnnnext / dam / assets / 170802152254-acosta-miller-small-169.jpg" "Uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170802152254-acosta-miller-medium-plus-169.jpg"},"small":{"height":259,"width ": 460," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170802152254-acosta-miller-large-169.jpg"},"medium " : {"Height": 438, "width": 780, "type": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170802152254-acosta-miller-exlarge -169.jpg "}," grande ": {" altura ": 619," anchura ": 1100," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam / Activos / 170802152254-acosta-m Iller-super-169.jpg "}," full16x9 ": {" height ": 900," width ": 1600," type ":" jpg "," uri ":" // i2.cdn.cnn.com/ Cnnnext / dam / assets / 170802152254-acosta-miller-full-169.jpg "}," mini1x1 ": 120," width ": 120" tipo ":" jpg "," uri " //i2.cdn.cnn.com/cnnnext/dam/assets/170802152254-acosta-miller-small-11.jpg"}}},autoStartVideo = false, callbackObj, containerEl, currentVideoCollection = [{“videoCMSUrl”:”/videos/politics/2017/08/02/white-house-briefing-immigration-plan-acosta-april-ryan-miller-full.cnn”,”videoId”:”politics/2017/08/02/white-house-briefing-immigration-plan-acosta-april-ryan-miller-full.cnn”,”videoUrl”:”/videos/politics/2017/08/02/white-house-briefing-immigration-plan-acosta-april-ryan-miller-full.cnn”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/08/03/how-anonymity-online-can-fuel-cyberbullying.cnn-tech/index.xml”,”videoId”:”cnnmoney/2017/08/03/how-anonymity-online-can-fuel-cyberbullying.cnn-tech”,”videoUrl”:”/videos/cnnmoney/2017/08/03/how-anonymity-online-can-fuel-cyberbullying.cnn-tech/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/08/02/nasa-job-planetary-protector-jr-orig.cnn/index.xml”,”videoId”:”cnnmoney/2017/08/02/nasa-job-planetary-protector-jr-orig.cnn”,”videoUrl”:”/videos/cnnmoney/2017/08/02/nasa-job-planetary-protector-jr-orig.cnn/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/08/02/noah-kimmel-los-angeles-olympic-jnd-orig-vstan.cnn/index.xml”,”videoId”:”cnnmoney/2017/08/02/noah-kimmel-los-angeles-olympic-jnd-orig-vstan.cnn”,”videoUrl”:”/videos/cnnmoney/2017/08/02/noah-kimmel-los-angeles-olympic-jnd-orig-vstan.cnn/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/08/01/ford-mustang-quiet-mode-cnnmoney.cnnmoney/index.xml”,”videoId”:”cnnmoney/2017/08/01/ford-mustang-quiet-mode-cnnmoney.cnnmoney”,”videoUrl”:”/videos/cnnmoney/2017/08/01/ford-mustang-quiet-mode-cnnmoney.cnnmoney/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/08/03/late-night-affirmative-action-jnd-orig-vstan.cnn/index.xml”,”videoId”:”cnnmoney/2017/08/03/late-night-affirmative-action-jnd-orig-vstan.cnn”,”videoUrl”:”/videos/cnnmoney/2017/08/03/late-night-affirmative-action-jnd-orig-vstan.cnn/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/08/03/dave-chappelle-colbert-late-show-trump-snl-ekr-orig-vstan.cnn/index.xml”,”videoId”:”cnnmoney/2017/08/03/dave-chappelle-colbert-late-show-trump-snl-ekr-orig-vstan.cnn”,”videoUrl”:”/videos/cnnmoney/2017/08/03/dave-chappelle-colbert-late-show-trump-snl-ekr-orig-vstan.cnn/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/08/01/jk-rowling-sorry-for-tweets-accusing-trump.cnn/index.xml”,”videoId”:”cnnmoney/2017/08/01/jk-rowling-sorry-for-tweets-accusing-trump.cnn”,”videoUrl”:”/videos/cnnmoney/2017/08/01/jk-rowling-sorry-for-tweets-accusing-trump.cnn/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/08/01/colbert-noah-meyers-scaramucci-goodbye-orig-vstop-jnd.cnn/index.xml”,”videoId”:”cnnmoney/2017/08/01/colbert-noah-meyers-scaramucci-goodbye-orig-vstop-jnd.cnn”,”videoUrl”:”/videos/cnnmoney/2017/08/01/colbert-noah-meyers-scaramucci-goodbye-orig-vstop-jnd.cnn/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/07/31/tomi-lahren-chelsea-handler-politicon-health-insurance-twenty-four-orig.cnn/index.xml”,”videoId”:”cnnmoney/2017/07/31/tomi-lahren-chelsea-handler-politicon-health-insurance-twenty-four-orig.cnn”,”videoUrl”:”/videos/cnnmoney/2017/07/31/tomi-lahren-chelsea-handler-politicon-health-insurance-twenty-four-orig.cnn/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/08/02/instagram-founder-opens-up-on-feature-battle-with-snapchat-cnn-tech.cnn/index.xml”,”videoId”:”cnnmoney/2017/08/02/instagram-founder-opens-up-on-feature-battle-with-snapchat-cnn-tech.cnn”,”videoUrl”:”/videos/cnnmoney/2017/08/02/instagram-founder-opens-up-on-feature-battle-with-snapchat-cnn-tech.cnn/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/07/27/bieber-hits-pap-mxb-lon-orig.cnnmoney/index.xml”,”videoId”:”cnnmoney/2017/07/27/bieber-hits-pap-mxb-lon-orig.cnnmoney”,”videoUrl”:”/videos/cnnmoney/2017/07/27/bieber-hits-pap-mxb-lon-orig.cnnmoney/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/07/29/tesla-releases-model-3-cnn-tech.cnn/index.xml”,”videoId”:”cnnmoney/2017/07/29/tesla-releases-model-3-cnn-tech.cnn”,”videoUrl”:”/videos/cnnmoney/2017/07/29/tesla-releases-model-3-cnn-tech.cnn/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/07/27/jeff-bezos-worlds-wealthiest-man-cnn-tech.cnn/index.xml”,”videoId”:”cnnmoney/2017/07/27/jeff-bezos-worlds-wealthiest-man-cnn-tech.cnn”,”videoUrl”:”/videos/cnnmoney/2017/07/27/jeff-bezos-worlds-wealthiest-man-cnn-tech.cnn/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/07/31/snapp-iran-taxi-app-lon-orig.cnn-tech/index.xml”,”videoId”:”cnnmoney/2017/07/31/snapp-iran-taxi-app-lon-orig.cnn-tech”,”videoUrl”:”/videos/cnnmoney/2017/07/31/snapp-iran-taxi-app-lon-orig.cnn-tech/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/07/26/stanford-robotic-vine-orig.cnn/index.xml”,”videoId”:”cnnmoney/2017/07/26/stanford-robotic-vine-orig.cnn”,”videoUrl”:”/videos/cnnmoney/2017/07/26/stanford-robotic-vine-orig.cnn/video/playlists/stories-worth-watching/”}]currentVideoCollectionId = '' , IsTextTimeTime, mutePlayerEnabled = false, nextVideoId = '', nextVideoUrl = '', turnOnFlashMessaging = false, videoPinner, videoEndSlateImpl; if (CNN.autoPlayVideoExist === false) {autoStartVideo = true; 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, mutePlayer () () ()) ()), ()) ())))), Var_invideo =), videoPinner, embedCodeCopy; función onVideoCarouselItemClicked (evt) {VideoCollection: this.videoCollection, autostart: false}, shouldStartVideo = false, playerInstance; intenta {articleElem = jQuery (evt.currentTarget) .find ('article'); thumbImageElem = jQuery (articleElem) .find ('. Media__image') ; VideoId = articleElem.data (). VideoId; if (CNN.VideoPlayer.getLibraryName (configObj.markupId) === 'fave') {playerInstance = FAVE.player.getInstance (configObj.markupId); if (CNN.Utils. Existe / removeObject (playerInstance) && typeof playerInstance.getVideoData === 'function' && playerInstance.getVideoData (). Id! == videoId) {/ * Elimina el script de metadatos del videoobjeto. Si el usuario hace clic en otro video que el inicial cargado * / jQuery (articleElem). Más cercano ('.cn-carousel-medium-strip'). Parent (). Find ('script [name=”metaScript”]'). E () playerInstance.play (videoId, overrides);}} else {videoPlayer = CNNVIDEOAPI.CNNVideoManager.getInstance (). GetPlayerByContainer (configObj.markupId); if (videoPlayer && videoPlayer.videoInstance) {/ ** if videoPlayer.videoInstance .cvp es nulo, lo que significa que no se ha inicializado aún así * pase en la miniatura, también. * / If (! VideoPlayer.videoInstance.cvp) {if (typeof thumbImageElem! == 'undefined' && thumbImageElem! == null) {thumbImageLargeSource = ThumbImageElem.data () && thumbImageElem.data (). SrcLarge? ThumbImageElem.data (). SrcLarge: 'none';} overrides.thumb = thumbImageLargeSource? ThumbImageLargeSource: 'none'; shouldStartVideo = true;} if (videoPlayer.videoInstance.config) {si (videoPlayer.videoInstance.config.video! == videoId) {/ * Elimina la secuencia de comandos de metadatos de videoobject. Video * / jQuery (articleElem) .closest ('.cn-carousel-medium-strip') .producto (). Find ('script [name=”metaScript”]'). RemoveVIDIR () ConfigObj.markupId, videoId, overrides);} / * El reproductor de video no es autoplay, así que init itif (shouldStartVideo && this.carouselClickAutostartsVideo) {try {videoPlayer.videoInstance.start ();} catch (startError) {console.log (Error en la inicialización del reproductor de video + error);}} función setInitialVideoEmbed () {} function initialize () ) {Var carousel = jQuery (documento.getElementById ('cn-current_video_collection')). ​​Find ('.js-owl-carousel'), owl; if (carrusel) {carousel.find ('.cn__column.carousel__content__item'). Find ('a'). RemoveAttr ('hr E) jQuery (carrusel) .on ('clic', '.cn__column.carousel__content__item', onVideoCarouselItemClicked);}} if (CNN.VideoPlayer.getLibraryName (configObj.markupId) === 'videoLoader') {window.CNNVideoAPILoadCompleteHandlers = Window.CNNVideoAPILoadCompleteHandlers? Window.CNNVideoAPILoadCompleteHandlers: []; window.CNNVideoAPILoadCompleteHandlers.push (inicializar); window.CNNVideoAPILoadCompleteHandlers.push (setInitialVideoEmbed);} else {initialize ();} CNN.INJECTOR.executeFeature ('videx'). {Var initMeta = {id: "política / 2017/08/02 / white-house-briefing-immigration-plan-acosta-april-ryan-miller-full.cnn", isEmbeddable: "sí"}; CNN.Videx. () () () () () () () () () () () () () Throwed () () () () Carousel = jQuery (document.getElementById ('cn-current_video_collection')). ​​Find ('.js-owl-carousel'), domain = CNN.Host.domain || (Document.location.protocol + '//' + document.location.hostname), owl, $ owlFirstItem, $ owlPrevItem, showDetailsSpanContent = '', gigyaShareElement, showIndex, whatsappShareElement, $ carouselContentItems = jQuery ('.carousel__content__item', documento. GetElementById ('cn-current_video_collection')); gigyaShareElement = jQuery ('div.js-gigya-sharebar'); if (typeof gigyaShareElement! == 'undefined') {jQuery (gigyaShareElement) .attr ('data-title' VideocardContents.headlinePlainText || ''); jQuery (gigyaShareElement) .attr ('data-description', videocardContents.descriptionPlainText || ''); jQuery (gigyaShareElement) .attr ('data-link', domain + videocardContents.url | JQuery (gigyaShareElement) .attr ('data-image-src', videocardContents.media.elementContents.imageUrl || '');) whatsappShareElement = jQuery ('div.share-bar-whatsapp-container') ; If (typeof whatsappShareElement! == 'undefined') {jQuery (whatsappShareElement) .attr ('data-title', videocardContents.headlinePlainText || ''); jQuery (whatsappShareElement) .attr ('Data-storyurl', dominio + videocardContents.url || ');} If (carrusel && currentVideoCollectionContainsId (videoId)) {owl = carousel.data (' owl.carousel ') || {}; ShowIndex = getCurrentVideoIndex (videoId); si (typeof owl.to === 'function') {owl.to (showIndex);} $ owlPrevItem = CNN.Utils.exists (owl. $ Element)? $ OwlPrevItem.removeClass ('cd-active'); $ owlPrevItem. '$ OwlPrevItem.removeClass (' cd-active '); Find ('media__over-text'). Remove (); $ owlPrevItem.find ('. Media__icon'). Show (); $ owlFirstItem = CNN.Utils.exists (owl._items)? JQuery (owl._items [showIndex]): $ carouselContentItems.eq (showIndex); $ owlFirstItem.find ('. Cd'). AddClass ('cd-active'); $ owlFirstItem.find (' -child ') .append ('

Reproducción en curso

'); if (Modernizr &&! Modernizr.phone) {$ owlFirstItem.find ('. Metadata.init ({dateCreated: videocardContents.dateCreated, descriptionText: videocardContents.descriptionText, duration: videocardContents.duration, sourceLink: videocardContents.sourceLink, sourceName: videocardContents.sourceName, title: videocardContents.headlineText}, {videoCollectionDivId: 'cn-134c84o' , VideoDescriptionDivId: 'js-video_description-134c84o', videoDurationDivId: 'js-video_duration-134c84o', videoTitleDivId: 'js-leaf-video_headline-134c84o', videoSourceDivId: 'js-video_sourceName-134c84o' .exists (videocardContents.showName)) {if (CNN.Utils.exists (videocardContents.showUrl)) {showDetailsSpanContent = '' + videocardContents.showName + ' | ';} Else {showDetailsSpanContent = videocardContents.showName +' | ',' Showname ',' showname ',' showname ',' showname ',' showname ',' showname ' = JQuery ('. Metadata – show__name'); fastdom.mutate (function updateShowInfo () {if (! $ IsShowDetailsSpanExists) {$ show.prepend ('

Fuente CNN

No hay comentarios