Compartir

'); $ vidEndSlate.removeClass (' video__end-slate – inactivo '). AddClass (' video__end-slate – active '); CNN.autoPlayVideoExist = CNN.autoPlayVideoExist === true)? / / / / georgia-tech-police-fatally-shoot-a-student-orig-tc.cnn ', ancho:' 100 % ', altura:' 100% ', sección:' doméstico ', perfil:' expansión ', red:' cnn ', markupId:' large-media_0 ', adsection:' const-video-leaf ', frameWidth: % ', frameHeight:' 100% ', posterImageOverride: {"mini": {"height": 124, "width": 220, "tipo": "jpg", "uri": "// i2.cdn.cnn .com / cnnnext / dam / assets / 170917183941-scout-schultz-small-169.jpg "}," xsmall ": {" height ": 173," width ": 307," type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170917183941-scout-schultz-medium-plus-169.jpg"},"small":{"height":259,"width ": 460, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170917183941-scout-schultz-large-169.jpg"}, "medio": { "altura": 438, "ancho": 780, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170917183941-scout-schultz-exlarge-169 "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets /170917183941-scout-schultz-super-169.jpg "}, "full16x9": 900, "width": 1600, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170917183941-scout- schultz-full-169.jpg "}," mini1x1 ": {" height ": 120," width ": 120," type ":" jpg "," uri ":" // i2.cdn.cnn.com/ cnnnext / dam / assets / 170917183941-scout-schultz-small-11.jpg "}}, autoStartVideo = falso, callbackObj, containerEl, currentVideoCollection = [{“videoCMSUrl”:”/videos/us/2017/09/18/georgia-tech-police-fatally-shoot-a-student-orig-tc.cnn”,”videoId”:”us/2017/09/18/georgia-tech-police-fatally-shoot-a-student-orig-tc.cnn”,”videoUrl”:”/videos/us/2017/09/18/georgia-tech-police-fatally-shoot-a-student-orig-tc.cnn”},{“videoCMSUrl”:”/video/data/3.0/video/us/2017/09/19/georgia-tech-protest-slain-student-jnd-orig-vstop.cnn/index.xml”,”videoId”:”us/2017/09/19/georgia-tech-protest-slain-student-jnd-orig-vstop.cnn”,”videoUrl”:”/videos/us/2017/09/19/georgia-tech-protest-slain-student-jnd-orig-vstop.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2017/09/15/stockley-acquitted-murder-charges-orig-js.cnn/index.xml”,”videoId”:”us/2017/09/15/stockley-acquitted-murder-charges-orig-js.cnn”,”videoUrl”:”/videos/us/2017/09/15/stockley-acquitted-murder-charges-orig-js.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/justice/2017/09/15/st-louis-stockley-verdict-protests-091517.cnn/index.xml”,”videoId”:”justice/2017/09/15/st-louis-stockley-verdict-protests-091517.cnn”,”videoUrl”:”/videos/justice/2017/09/15/st-louis-stockley-verdict-protests-091517.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/health/2017/09/01/utah-nurse-arrested-police-dispute-orig-vstan.cnn/index.xml”,”videoId”:”health/2017/09/01/utah-nurse-arrested-police-dispute-orig-vstan.cnn”,”videoUrl”:”/videos/health/2017/09/01/utah-nurse-arrested-police-dispute-orig-vstan.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2017/09/01/georgia-police-officer-tells-woman-we-only-kill-black-people-orig-trnd-lab.cnn/index.xml”,”videoId”:”us/2017/09/01/georgia-police-officer-tells-woman-we-only-kill-black-people-orig-trnd-lab.cnn”,”videoUrl”:”/videos/us/2017/09/01/georgia-police-officer-tells-woman-we-only-kill-black-people-orig-trnd-lab.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2017/08/31/officer-gun-motorcyclist-zw-orig.cnn/index.xml”,”videoId”:”us/2017/08/31/officer-gun-motorcyclist-zw-orig.cnn”,”videoUrl”:”/videos/us/2017/08/31/officer-gun-motorcyclist-zw-orig.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2017/08/25/baltimore-police-body-camera-evidence-orig-nws.cnn/index.xml”,”videoId”:”us/2017/08/25/baltimore-police-body-camera-evidence-orig-nws.cnn”,”videoUrl”:”/videos/us/2017/08/25/baltimore-police-body-camera-evidence-orig-nws.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2017/08/18/dashcam-video-shows-ohio-violent-arrest-nr.cnn/index.xml”,”videoId”:”us/2017/08/18/dashcam-video-shows-ohio-violent-arrest-nr.cnn”,”videoUrl”:”/videos/us/2017/08/18/dashcam-video-shows-ohio-violent-arrest-nr.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2017/07/19/911-transcripts-released-justine-ruszczyk-minneapolis.hln/index.xml”,”videoId”:”us/2017/07/19/911-transcripts-released-justine-ruszczyk-minneapolis.hln”,”videoUrl”:”/videos/us/2017/07/19/911-transcripts-released-justine-ruszczyk-minneapolis.hln/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2017/07/19/minneapolis-officer-shot-woman-refuses-to-talk-mclean-dnt-newday.cnn/index.xml”,”videoId”:”us/2017/07/19/minneapolis-officer-shot-woman-refuses-to-talk-mclean-dnt-newday.cnn”,”videoUrl”:”/videos/us/2017/07/19/minneapolis-officer-shot-woman-refuses-to-talk-mclean-dnt-newday.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2017/07/20/baltimore-cop-drugs-body-camera-orig-aa-vstop.cnn/index.xml”,”videoId”:”us/2017/07/20/baltimore-cop-drugs-body-camera-orig-aa-vstop.cnn”,”videoUrl”:”/videos/us/2017/07/20/baltimore-cop-drugs-body-camera-orig-aa-vstop.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/justice/2017/07/17/former-balch-springs-officer-indictment-da-presser-sot.ktvt/index.xml”,”videoId”:”justice/2017/07/17/former-balch-springs-officer-indictment-da-presser-sot.ktvt”,”videoUrl”:”/videos/justice/2017/07/17/former-balch-springs-officer-indictment-da-presser-sot.ktvt/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2016/11/18/arizona-cop-punches-woman-in-face-orig-vstop-aa.cnn/index.xml”,”videoId”:”us/2016/11/18/arizona-cop-punches-woman-in-face-orig-vstop-aa.cnn”,”videoUrl”:”/videos/us/2016/11/18/arizona-cop-punches-woman-in-face-orig-vstop-aa.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2017/07/11/georgia-police-beating-jnd-orig-vstop.cnn/index.xml”,”videoId”:”us/2017/07/11/georgia-police-beating-jnd-orig-vstop.cnn”,”videoUrl”:”/videos/us/2017/07/11/georgia-police-beating-jnd-orig-vstop.cnn/video/playlists/controversial-police-incidents/”},{“videoCMSUrl”:”/video/data/3.0/video/us/2016/11/16/officer-charged-philando-castile-killing-mobile-zw-orig.cnn/index.xml”,”videoId”:”us/2016/11/16/officer-charged-philando-castile-killing-mobile-zw-orig.cnn”,”videoUrl”:”/videos/us/2016/11/16/officer-charged-philando-castile-killing-mobile-zw-orig.cnn/video/playlists/controversial-police-incidents/”}]currentVideoCollectionId = '', isLivePlayer = false, moveToNextTimeout, mutePlayerEnabled = false , nextVideoId = '', nextVideoUrl = '', turnOnFlashMessaging = falso, videoPinner, videoEndSlateImpl; si (CNN.autoPlayVideoExist === falso) {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, mutePlayerEnabled); CNN.VideoPlay ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,. videoCollection, autostart: false}, shouldStartVideo = falso, playerInstance; intenta {articleElem = jQuery (evt.currentTarget) .find ('artículo'); thumbImageElem = jQuery (articleElem) .find ('media__image'); videoId = articleElem. if (CNN.VideoPlayer.getLibraryName (configObj.markupId) === 'fave') {playerInstance = FAVE.player.getInstance (configObj.markupId); si (CNN.Utils.existsObject (playerInstance) && typeof playerInstance.getVideoData === 'function' && playerInstance.getVideoData (). id! == videoId) {/ * Elimina el script de metadatos del videoobjeto.Si el usuario hace clic en otro que el video cargado inicialmente * / jQuery (articleElem) .closest ('.cn -carousel-medium-strip '). parent (). find (' script [name=”metaScript”] '). remove (); playerInstance.pla y (vídeoId, anula);}} else {videoPlayer = CNNVIDEOAPI.CNNVideoManager.getInstance (). getPlayerByContainer (configObj.markupId); if (videoPlayer && videoPlayer.videoInstance) {/ ** si videoPlayer.videoInstance.cvp es null que significa 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? (videoPlayer.videoInstance.config.video! == videoId) {/ * Elimina la secuencia de comandos de metadatos de videoobject. Si el usuario hace clic en otro que no sea inicial cargado video * / jQuery (articleElem) .closest ('.cn-carousel-medium-strip'). parent (). find ('script [name=”metaScript”]') removeVID () 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 de inicialización del reproductor de video + error);}} función setInitialVideoEmbed () {} function initialize () ) {var carousel = jQuery (document.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: "us / 2017/09/18 / georgia-tech-police-fatally-shoot-a-student-orig-tc.cnn", isEmbeddable: "yes"}; CNN.Videx.EmbedButton. updateCurrentlyPlaying (videoId) {var videoCollectionId = 'current_video_collection', videocardContents = getCurrentVideoCardContents (videoId), 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); if (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 ('

En Reproducción

'); if (Modernizr &&! Modernizr.phone) {$ owlFirstItem.find ('. media__icon ') hide ();}} CNN.Videx. Metadata.init ({dateCreated: videocardContents.dateCreated, descriptionText: videocardContents.descriptionText, duración: videocardContents.duration, sourceLink: videocardContents.sourceLink, sourceName: videocardContents.sourceName, título: videocardContents.headlineText}, {videoCollectionDivId: 'cn-8kgvvi' , videoDescriptionDivId: 'js-video_description-8kgvvi', videoDurationDivId: 'js-video_duration-8kgvvi', videoTitleDivId: 'js-leaf-video_headline-8kgvvi', videoSourceDivId: 'js-video_sourceName- .exists (videocardContents.showName)) {if (CNN.Utils.exists (videocardContents.showUrl)) {showDetailsSpanContent = '' + videocardContents.showName + ' | ';} else {showDetailsSpanContent = videocardContents.showName +' | () () () () () () () () () () () () () () () () ()) $ showName (), $ showNombre = jQuery ('. metadata – show__name'); fastdom.mutate (function updateShowInfo () {if (! $ isShowDetailsSpanExists) {$ show.prepend ('

Fuente CNN

No hay comentarios