'); $ vidEndSlate.removeClass (' video__end-slate-inactive '). AddClass (' video__end-slate-active '); CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true)? Anchura: '100%', anchura: 100%, 'var / s / , Altura: '100%', sección: 'doméstico', perfil: 'expansión', red: 'cnn', markupId: 'large-media_0', adsection: 'const-video-leaf' , FrameHeight: '100%', posterImageOverride: {"mini": {"height": 124, "width": 220, "tipo": "jpg", "uri": "// i2.cdn.cnn.com /cnnnext/dam/assets/170817210115-las-ramblas-police-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817210115-las-ramblas-police-medium-plus-169.jpg"},"small":{"height":259,"width ": 460," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817210115-las-ramblas-police-large-169.jpg "}, Medio ": {" height ": 438," width ": 780," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817210115-las-ramblas -police-exlarge-169.jpg "}," grande ": {" altura ": 619," anchura ": 1100," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com / Cnnnext / dam / assets / 170817210115-las-ramblas -police-super-169.jpg "}," full16x9 ": {" height ": 900," width ": 1600," type ":" jpg "," uri ":" // i2.cdn.cnn.com /cnnnext/dam/assets/170817210115-las-ramblas-police-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817210115-las-ramblas-police-small-11.jpg"}}}autoStartVideo = false, callbackObj, containerEl, currentVideoCollection = [{«videoCMSUrl»:»/videos/world/2017/08/17/barcelona-las-ramblas-attack-spain-sje-lon-orig.cnn»,»videoId»:»world/2017/08/17/barcelona-las-ramblas-attack-spain-sje-lon-orig.cnn»,»videoUrl»:»/videos/world/2017/08/17/barcelona-las-ramblas-attack-spain-sje-lon-orig.cnn»},{«videoCMSUrl»:»/video/data/3.0/video/world/2017/08/17/witness-van-crash-barcelona.cnn/index.xml»,»videoId»:»world/2017/08/17/witness-van-crash-barcelona.cnn»,»videoUrl»:»/videos/world/2017/08/17/witness-van-crash-barcelona.cnn/video/playlists/van-plows-crowd-in-barcelona/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2017/08/17/barcelona-van-attack-graphic-video.cnn/index.xml»,»videoId»:»world/2017/08/17/barcelona-van-attack-graphic-video.cnn»,»videoUrl»:»/videos/world/2017/08/17/barcelona-van-attack-graphic-video.cnn/video/playlists/van-plows-crowd-in-barcelona/»},{«videoCMSUrl»:»/video/data/3.0/video/tv/2017/08/17/barcelona-eye-witness-ejk-mob-lon-orig.cnn/index.xml»,»videoId»:»tv/2017/08/17/barcelona-eye-witness-ejk-mob-lon-orig.cnn»,»videoUrl»:»/videos/tv/2017/08/17/barcelona-eye-witness-ejk-mob-lon-orig.cnn/video/playlists/van-plows-crowd-in-barcelona/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2017/08/17/van-plows-into-crowds-barcelona-ramblas-cnni.cnn/index.xml»,»videoId»:»world/2017/08/17/van-plows-into-crowds-barcelona-ramblas-cnni.cnn»,»videoUrl»:»/videos/world/2017/08/17/van-plows-into-crowds-barcelona-ramblas-cnni.cnn/video/playlists/van-plows-crowd-in-barcelona/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2017/08/17/witness-van-crash-barcelona-sot-2.cnn/index.xml»,»videoId»:»world/2017/08/17/witness-van-crash-barcelona-sot-2.cnn»,»videoUrl»:»/videos/world/2017/08/17/witness-van-crash-barcelona-sot-2.cnn/video/playlists/van-plows-crowd-in-barcelona/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2017/06/03/vehicles-used-as-weapons-jpm-orig.cnn/index.xml»,»videoId»:»world/2017/06/03/vehicles-used-as-weapons-jpm-orig.cnn»,»videoUrl»:»/videos/world/2017/06/03/vehicles-used-as-weapons-jpm-orig.cnn/video/playlists/van-plows-crowd-in-barcelona/»},{«videoCMSUrl»:»/video/data/3.0/video/us/2016/03/24/psychology-of-terror-sanjay-gupta-nws-orig.cnn/index.xml»,»videoId»:»us/2016/03/24/psychology-of-terror-sanjay-gupta-nws-orig.cnn»,»videoUrl»:»/videos/us/2016/03/24/psychology-of-terror-sanjay-gupta-nws-orig.cnn/video/playlists/van-plows-crowd-in-barcelona/»}] , CurrentVideoCollectionId = '', isLivePlayer = false, moveToNextTimeout, mutePlayerEnabled = false, nextVideoId = '', nextVideoUrl = '', turnOnFlashMessaging = false, videoPinner, videoEndSlateImpl; if (CNN.autoPlayVideoExist === false) (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.VideoPlayer.setFirstVideoInCollection (currentVideoCollection, configObj.markupId); var embedLinkHandler = {}, videoPinner, embedCodeCopy; función onVideoCarouselItemClicked (evt) {'use strict'; var videoId, articleElem, videoPlayer, thumbImageElem, thumbImageLargeSource = {VideoCollection: this.videoCollection, autostart: false}, shouldStartVideo = false, playerInstance; intenta {articleElem = jQuery (evt.currentTarget) .find ('article'); thumbImageElem = jQuery (articleElem) ) VideoId = articleElem.data (). VideoId; if (CNN.VideoPlayer.getLibraryName (configObj.markupId) === 'fave') {playerInstance = FAVE.player.getInstance (configObj.markupId); if (CNN.Utils .existsObject (playerInstance) && typeof playerInstance.getVideoData === 'function' && playerInstance.getVideoData () .id! == videoId) {/ * Eliminar la secuencia de comandos de metadatos del videoobjeto.Si el usuario hace clic en otro video que el inicial cargado * / jQuery (articleElem) .closest ('.cn-carousel-medium-strip'). Parent (). Find ('script [194590]] remove () playerInstance.play (videoId, anula);}} else {videoPlayer = CNNVIDEOAPI.CNNVideoManager.getInstance (). GetPlayerByContainer (configObj.markupId); if (videoPlayer && videoPlayer.videoInstance) * If videoPlayer.videoInstance.cvp es null, lo que significa que no se ha inicializado aún así * pasar 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;} si (videoPlayer.videoInstance.config) {if (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: "world / 2017/08/17 / barcelona-las-ramblas-attack-spain-sje-lon-orig.cnn", isEmbeddable: "yes"}; CNN.Videx.EmbedButton.updateCode InitMeta), fall (function () {throw 'Incapaz de buscar el videx bundle.';); Function 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); 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-u3kj3l' , VideoDescriptionDivId: 'js-video_description-u3kj3l', videoDurationDivId: 'js-video_duration-u3kj3l', videoTitleDivId: 'js-leaf-video_headline-u3kj3l', videoSourceDivId: .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 ('' + showDetailsSpanContent + ''); {$ ShowName.html (showDetailsSpanContent);}});)); if (typeof (history)! == 'undefined' && typeof (history.replaceState)! == 'undefined') {history.replaceState (' '', VideocardContents.url); document.title = videocardContents.headlineText? VideocardContents.headlineText: '';}} function getCurrentVideoCardContents (currentVideoId) {var containerContents = [{{{{{{{{{{{{{{{{}}}}}:BrandingTextSead:"""brandStyle":"""nombre_de_caracteres":"""nombre_de_caracteres":""MuchaspersonashanmuertoyresultaronheridasdespuésdequeunafurgonetaaróatravésdeunamultitudenlaavenidaLasRamblasdeBarcelonaEspaña""HeadlinePostText"":"":"Barcelonaterrorattack:Cómosucedió""headlinePreText":"""headlinePreText":":"Video""isMobileBannerText":false"kickerText":"""maximizedBannerSize":[]"media": {"contentType" : "16: 9", "elementContents": {"caption": "Los policías españoles levantan guardia en un área acordonada después de que una furgoneta aró en el cr Que mató a 13 personas e hirió a más de 50 personas en la Rambla de Barcelona el 17 de agosto de 2017. nUn conductor expulsó deliberadamente una furgoneta a una multitud en la calle más popular de Barcelona el 17 de agosto de 2017 matando al menos a 13 personas antes de huir a un cercano Bar, dijo la policía. NLos funcionarios de la segunda ciudad más grande de España dijeron que el impacto en Las Ramblas fue un "ataque terrorista" y una fuente policial dijo que un sospechoso había dejado la escena y "se había metido en un bar". La fuente policial dijo que estaban buscando a un total de dos sospechosos. "ImageAlt": "Los policías españoles están de guardia en un área acordonada después de que una furgoneta aró en la multitud, matando a 13 personas e hiriendo a más de 50 En la Rambla de Barcelona el 17 de agosto de 2017. nUn conductor expulsó deliberadamente una furgoneta a una multitud en la calle más popular de Barcelona el 17 de agosto de 2017, matando al menos a 13 personas antes de huir a un bar cercano, dijo la policía. NLos funcionarios de la segunda ciudad más grande de España dijeron que el impacto en Las Ramblas fue un "ataque terrorista" y una fuente policial dijo que un sospechoso había dejado la escena y "se había metido en un bar". La fuente policial dijo que estaban buscando a un total de dos sospechosos. / AFP PHOTO / LLUIS GENE (El crédito de la foto debe leer LLUIS GENE / AFP / Getty Images) "," imageUrl ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817210115-las-ramblas-police- "AFT / Getty Images", "fotógrafo": "LLUIS GENE / AFP / AFP", "fuente": " / Getty Images "," corta ": {" mini ": {" altura ": 124," anchura ": 220," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/ Cnnnext / dam / assets / 170817210115-las-ramblas-police-small-169.jpg "}," xsmall ": 173," width ": 307," type ":" jpg "," uri " : "// i2.cdn.cnn.com/cnnnext/dam/assets/170817210115-las-ramblas-police-medium-plus-169.jpg"},"small":{"height":259,"width" : 460, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817210115-las-ramblas-police-large-169.jpg"},"medium ": {" Height ": 438," width ": 780," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817210115-las-ramblas- Police-exlarge-169.jpg "}," grande ": {" height ": 619," width ": 1100," type ":" jpg "," uri ":" // i2.cdn.cnn.com/ Cnnnext / dam / assets / 170817210115-las-ramblas-policía-super-169 .jpg "}," full16x9 ": {" height ": 900," width ": 1600," type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets /170817210115-las-ramblas-police-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"//i2 .cdn.cnn.com / cnnnext / dam / assets / 170817210115-las-ramblas-police-small-11.jpg "}}," responsiveImage ": true," originalImageUrl ":" // i2.cdn.cnn.com /cnnnext/dam/assets/170817210115-las-ramblas-police.jpg"}},"noFollow":false,"overMediaText":"","sectionUri":"""showSocialSharebar":false,"shortUrl ": "", "StatusText": "", "statusColor": "", "targetType": "", "timestampDisplay": "", "lastModifiedText": " "," Tipo ":" tarjeta "," url ":" / videos / world / 2017/08/17 / barcelona-las-ramblas-ataque-españa-sje-lon-orig.cnn " "," Video ":" / videos / world / 2017/08/17 / barcelona-las-ramblas-ataque-españa-sje-lon-orig.cnn "," videoId ":" mundo /2017/08/17/barcelona-las-ramblas-attack-spain-sje-lon-orig.cnn","adSection":"const-video-leaf","dateCreated":"3:47 PM ET, jue 17 de agosto , 2017 "," sourceName ":" CNN "," sourceLink ":" "," contentType ":" video "," maximizedBanner ": false, "BrandingLink": "", "brandingImageUrl": "", "", " : "", "ContentType": "", "ct": "share", "descriptionText": [«A witness describes the scene where a van plowed through a crowd of people at a popular tourist spot in Barcelona, Spain. «]" DescriptionPlainText ":" Un testigo describe la escena en la que una furgoneta arrolló a través de una multitud de personas en un punto turístico popular en Barcelona, España. "," HeadlinePreText ":" "," headlineText ":" Witness "La gente estaba gritando de terror", "headlinePlainText": "Testigo: La gente gritaba de terror", "iconImageUrl": "", "iconType": "video", "isMobileBannerText": false, "MaximizedBannerSize": []"media": {"contentType": "image", "type": "elemento", "cutFormat": "16: 9", "elementContents" Los policías se paran mientras bloquea la calle a un área acordonada Tras una furgoneta arrastrada entre la multitud, hiriendo a varias personas en la Rambla de Barcelona el 17 de agosto de 2017. / AFP PHOTO / PAU BARRENA "," imageAlt ":" Un policía Se detiene mientras bloquea la calle a una zona acordonada después de que una furgoneta aró en la multitud, hiriendo a varias personas en la Rambla de Barcelona el 17 de agosto de 2017. / AFP PHOTO / PAU BARRENA (Crédito de la imagen debería leer PAU BARRENA / AFP / Getty Imágenes) "," imageUrl ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817165836-05-spain-crash-0817-large-169.jpg","label ":" "," GaleríaTitle ":" "," fuente ":" AFP / Getty Images "," fotógrafo ":" PAU BARRENA / AFP / Getty Images "," cortes ": {" mini " ": 124," width ": 220," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817165836-05-spain-crash-0817-small -169.jpg "}," xsmall ": {" height ": 173," width ": 307," type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam /assets/170817165836-05-spain-crash-0817-medium-plus-169.jpg"},"small":{"height":259,"wi Dth ": 460," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817165836-05-spain-crash-0817-large-169.jpg " }, "Medium": 438, "width": 780, "type": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817165836- 05-spain-crash-0817-exlarge-169.jpg "}," grande ": {" altura ": 619," anchura ": 1100," tipo ":" jpg "," uri ":" // i2. Cdn.cnn.com/cnnnext/dam/assets/170817165836-05-spain-crash-0817-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type " : "Jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817165836-05-spain-crash-0817-full-169.jpg"}, "mini1x1": {" Altura ": 120," anchura ": 120," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817165836-05-spain-crash-0817- Small-11.jpg "}}," responsiveImage ": true," originalImageUrl ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817165836-05-spain-crash-0817.jpg "}, "": "0: 40"}, "noFollow": false, "overMediaText": "", "sectionUri": "", "showSocialSharebar" , "StatusColor": "", "targetType": "", "timestampDisplay": "", "timestampUtc": "", "l AstModifiedText ":" 3 h "," lastModifiedState ":" "," tipo ":" tarjeta "," url ":" / videos / world / 2017/08/17 / testigo-van-crash-barcelona.cnn / video /playlists/van-plows-crowd-in-barcelona/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/world/2017/08/17 /witness-van-crash-barcelona.cnn/index.xml","videoId":"world/2017/08/17/witness-van-crash-barcelona.cnn","adSection":"const-video-leaf "," DateCreated ":" 11:39 AM ET, jue 17 de agosto de 2017 "," sourceName ":" CNN "," sourceLink ":" http://www.cnn.com/?refresh=1 "," ShowName ":" EN ESTA HORA "," showUrl ":" / shows / at-this-hour "," videoCollectionUrl ":" / video / playlists / van-plows-crowd-in-barcelona / : "Video", "maximizedBanner": false, "tipo": "tarjeta", "autoStartVideo": false}, {"branding": "", "cardContents": {"auxiliaryText" []"bannerHasATag": false, "bannerPosition": "", "brandingLink": "", "brandingImageUrl": "", "brandingTextSeve": " World "," contentType ":" "," cta ":" share "," descriptionText ": [«Video out of Barcelona, Spain, shows bodies across the ground after a van plowed through a crowd. «]," descr IptionPlainText ":" Video de Barcelona, España, muestra cuerpos a través del suelo después de que una furgoneta arado a través de una multitud. "," HeadlinePreText ":" "," headlineText ":" Después del ataque de la furgoneta "," headlinePlainText ":" El video muestra los cuerpos en el suelo después del ataque de la furgoneta "," iconImageUrl ":" "," iconType ":" video "," isMobileBannerText ": false, kickerText: maximizedBannerSize "16: 9", "elementContents": {"caption": "Barcelona van attack": []"media": {"contentType": "imagen", "tipo" Gráfico video_00011110.jpg "," imageAlt ":" Barcelona van ataque gráfico video_00011110 "," imageUrl ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817134403-barcelona-van-attack-graphic-video "CNN", "fotografo": "CNN", "recortar", "CNN" : {"Mini": 124, "width": 220, "type": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817134403- Barcelona-van-ataque-gráfico-video-00011110-small-169.jpg "}," xsmall ": {" height ": 173," widt H ": 307," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817134403-barcelona-van-attack-graphic-video-00011110-medium- Plus-169.jpg "}," pequeño ": {" height ": 259," width ": 460," type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/ "Medium": {"height": 438, "width": 780, "type": "jpg" , "Uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817134403-barcelona-van-attack-graphic-video-00011110-exlarge-169.jpg"}, "grande": {" Altura ": 619," anchura ": 1100," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817134403-barcelona-van-attack-graphic- Video-00011110-super-169.jpg "}," full16x9 ": {" height ": 900," width ": 1600," type ":" jpg "," uri ":" // i2.cdn.cnn. "1201", 120 "width": 120, "tipo", " : "Jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817134403-barcelona-van-attack-graphic-video-00011110-small-11.jpg"}}, " ResponsiveImage ": true," originalIm AgeUrl ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817134403-barcelona-van-attack-graphic-video-00011110.jpg"},"duration":"2:02 "}," NoFollow ": false," overMediaText ":" "," sectionUri ":" "," showSocialSharebar ": false," shortUrl ":" "," statusText ":" "", "TimestampUtc": "", "lastModifiedText": "3 h", "lastModifiedState": "", "tipo": "tarjeta", "url": "/ videos / world /2017/08/17/barcelona-van-attack-graphic-video.cnn/video/playlists/van-plows-crowd-in-barcelona/","width":"""height ":" "," VideoCMSUri ":" / video / data / 3.0 / video / world / 2017/08/17 / barcelona-van-ataque-gráfico-video.cnn / index.xml "," videoId ":" world / 2017/08/17 /barcelona-van-attack-graphic-video.cnn","adSection":"const-video-leaf","dateCreated":"1:35 PM ET, jue 17 de agosto de 2017 "," sourceName ":" CNN "," SourceLink ":" http://www.cnn.com "," videoCollectionUrl ":" / video / playlists / van-plows-crowd-en-barcelona / "}," contentType " MaximizedBanner ": false," type ":" tarjeta "," autoStartVideo ": false}, {" branding ":" "," cardContents " : {"AuxiliarTexto": "", "bannerText": []"bannerHasATag": false, "bannerPosition": "", "brandingLink": "", "brandingImageUrl" "", "DescriptionText": [«A witness films the immediate scene after a van struck pedestrians in Barcelona, Spain.»]"descriptionPlainText": "Un testigo filma la escena inmediata Después de que una furgoneta golpeó a peatones en Barcelona, España. "," HeadlinePostText ":" "," headlinePreText ":" "," headlineText ":" Testigo ve "un montón de gente muerta aquí" "Un montón de personas muertas aquí" "," iconType ":" video "," isMobileBannerText ": false," kickerText ":" "," maximizedBannerSize ": []," media " {"ContentType": "image", "type": "elemento", "cutFormat": "16: 9", "elementContents": {"caption": " "//i2.cdn.cnn.com/cnnnext/dam/assets/170817174921-barcelona-van-attack-moment-large-169.jpg","label":"","galleryTitle":"","head "@ Carlos_tg_32_ / Instagram", "cortes": {"mini": {"mini": " Altura ": 124," anchura ": 220," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817174921-barcelona-van-attack-moment- Small-169.jpg "}," xsmall ": {" height ": 173," width ": 307," type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/ "/" / 170817174921 barcelona-van-ataque-momento-medio-más-169.jpg "}," pequeño ": 259," anchura ": 460," tipo ":" jpg "," Uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817174921-barcelona-van-attack-moment-large-169.jpg"},"medium":{"height":438, " Anchura ": 780," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817174921-barcelona-van-attack-moment-exlarge-169.jpg " }, "Large": 619, "width": 1100, "type": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817174921- Barcelona-van-ataque-momento-super-169.jpg "}," full16x9 ": {" altura ": 900," anchura ": 1600," tipo ":" jpg "," uri ":" // i2. Cdn.cnn.com/cnnnext/dam/assets/170817174921-barcelona-van-attack-moment-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type " : "Jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817174921-barcelona -van-attack-moment-small-11.jpg "}}," responsiveImage ": true," originalImageUrl ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817174921-barcelona-van-attack "", "": "", "": "", "": "", "Duración": "0:36" , "StatusText": "", "statusColor": "", "targetType": "", "timestampDisplay": "", "lastModifiedTest": " "/" / "/ Videos / tv / 2017/08/17 / barcelona-ojo-testigo-ejk-mob-lon-orig.cnn / video / playlists / van-arados- Video-tv / 2017/08/17 / barcelona-eye-witness-en-barcelona / "," width ":" "," altura ":" Ejk-mob-lon-orig.cnn / index.xml "," videoId ":" tv / 2017/08/17 / barcelona-ojo-testigo-ejk-mob-lon-orig.cnn "," adSection ":" Const-video-leaf "," dateCreated ":" 12:36 PM ET, jue 17 de agosto de 2017 "," sourceName ":" CNN "," sourceLink ":" http://www.cnn.com "," VideoCollectionUrl ":" / video / playlists / van-plows-crowd-en-barcelona / "}," contentType ":" video "," maximizedBanner " "": "", "": "", "": "", " "BrandingTextSevel": "", "nombreDeCarta": "mundo", "contenido": "", "cta": "compartir "DescriptionText": [«Authorities in Spain say a van plowed into a crowd of people in a tourist area of Barcelona, Spain.»]"descriptionPlainText": "Las autoridades en España dicen que una furgoneta arrollada en una multitud de personas en una zona turística de Barcelona, España.", "HeadlinePostText": "", "headlinePreText": " "," HeadlineText ":" La policía: Van arado en la multitud en Barcelona "," headlinePlainText ":" Policía: Van arado en la multitud en Barcelona "," iconTime ":" video "," isMobileBannerText " : "", "", "": "False", "kickerText": "", "maximizedBannerSize": [] ElementContents ": {" caption ":" Barcelona car attack "," imageAlt ":" Barcelona car attack "," imageUrl ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817114234-barcelona-car -attack-large-169.jpg "," label ":" "," galleryTitle ":" "," h Ead ":" "," fuente ":" CNN "," fotógrafo ":" CNN "," recortes ": {" mini ": 124," anchura ": 220," tipo ":" jpg "," Uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817114234-barcelona-car-attack-small-169.jpg"},"xsmall":{"height":173, "Anchura": 307, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817114234-barcelona-car-attack-medium-plus-169.jpg "}," Small ": {" height ": 259," width ": 460," type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817114234 -barcelona-car-attack-large-169.jpg "}," medium ": 438," width ": 780," type ":" jpg "," uri ":" // i2.cdn .cnn.com / cnnnext / dam / assets / 170817114234-barcelona-coche-ataque-exlarge-169.jpg "}," grande ": 619," width ": 1100," type ":" jpg "," Uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817114234-barcelona-car-attack-super-169.jpg"},"full16x9":{"height":900, "Width": 1600, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817114234-barcelona-car-attack-full-169.jpg"} , "Mini1x1": {"height": 120, "width": 120, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170 817114234-barcelona-car-attack-small-11.jpg "}}," responsiveImage ": true," originalImageUrl ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817114234-barcelona-car- "", "": "", "": "", "", " "StatusText": "", "statusColor": "", "targetType": "", "timestampDisplay": "", "lastModifiedTest": " , "Tipo": "tarjeta", "url": "/ videos / mundo / 2017/08/17 / van-arados-en-multitudes-barcelona-ramblas-cnni.cnn / video / playlists / van-arados-multitud -in-barcelona / "," width ":" "," altura ":" "," videoCMSUri ":" / video / data / 3.0 / video / world / 2017/08/17 / -barcelona-ramblas-cnni.cnn / index.xml "," videoId ":" mundo / 2017/08/17 / van-arados-en-multitudes-barcelona-ramblas-cnni.cnn "," adSection ":" const -video-leaf "," dateCreated ":" 11:23 AM ET, jue 17 de agosto de 2017 "," sourceName ":" CNN "," sourceLink ":" http://www.cnn.com "," showName ":" EN ESTA HORA "," showUrl ":" / shows / at-this-hour "," videoCollectionUrl ":" / video / playlist S / van-plows-crowd-en-barcelona / "}," contentType ":" video "," maximizedBanner ": false, "," CardContents ": {" auxiliaryText ":" "," bannerText ": []," bannerHasATag ": false," bannerPosition ":" "," brandingImageUrl " BrandingTextHead ":" "," descripcionTexto ":" descripcionTexto ":" descripcionTexto ":" descripcionTexto ":" Testigo describe la escena donde una furgoneta arrolló a través de una multitud de personas en un punto turístico popular en Barcelona, España. "," HeadlinePreText ":" "," headlineText ":" Testigo: La escena de Barcelona extremadamente angustiante "," HeadlinePlainText ":" Testigo: la escena de Barcelona extremadamente angustiante "," iconImageUrl ":" "," iconType ":" video "," isMobileBannerText ": false," maximizedBannerSize ": [] "Media": {"contentType": "image", "type": "elemento", "cutFormat": "16: 9", "elementContents": {"caption": " Miembros del personal médico Un área acordonada después de que una furgoneta aró en la multitud, hiriendo a varias personas en la Rambla de Barcelona el 17 de agosto de 2017. La Policía de Barcelona dijo que se trataba de un "ataque terrorista" después de que un vehículo arrolló a una multitud de Peatones en el bulevar famoso de Las Ramblas de la ciudad el 17 de agosto de 2017. La policía estaba despejando la zona después del incidente, que ha dejado a un número de gente dañada. / AFP PHOTO / Josep LAGO "," imageAlt ":" Una persona es estirada de un centro comercial por miembros del personal médico en un área acordonada después de que una furgoneta arado en la multitud , Hiriendo a varias personas en la Rambla de Barcelona el 17 de agosto de 2017. La Policía de Barcelona dijo que se trataba de un "ataque terrorista" después de que un vehículo aró en una multitud de peatones en el famoso bulevar de Las Ramblas el 17 de agosto , 2017. La policía estaba despejando la zona después del incidente, lo que ha dejado a varias personas heridas. / AFP PHOTO / Josep LAGO "," imageUrl ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817170210-06-spain-crash- : "AFP / Getty Images", "fotógrafo": "JOSEP LAGO / AFP" / Getty Images "," corta ": {" mini ": {" altura ": 124," anchura ": 220," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/ Cnnnext / dam / assets / 170817170210-06-spain-crash-0817-small-169.jpg "}," xsmall ": 173," width ": 307," type ":" jpg "," Uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170817170210-06-spain-crash-0817-medium-plus-169.jpg"},"small":{"height":259 , "Anchura": 460, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170817170210-06-spain-crash-0817-large-169. Jpg "}," medium ": {" height ": 438," width ": 780," type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/ 170817170210-06-spain-crash-0817-exlarge-169.jpg "}," grande ": {" altura ": 619," anchura ": 1100," tipo ":" jpg "," uri ":" // I2.cdn.cnn.com/cnnnext/dam/assets/170817170210-06-spain-crash-0817-super-1 69.jpg "}," full16x9 ": {" height ": 900," width ": 1600," type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/ / 170817170210-06-spain-crash-0817-full-169.jpg "}," mini1x1 ": 120," width ": 120," tipo ":" jpg "," uri ":" //i2.cdn.cnn.com/cnnnext/dam/assets/170817170210-06-spain-crash-0817-small-11.jpg"}},"responsiveImage":true,"originalImageUrl":"//i2. Cdn.cnn.com/cnnnext/dam/assets/170817170210-06-spain-crash-0817.jpg"},"duration":"0:53"},"noFollow":false,"overMediaText ":" ", "SectionUri": "showSocialSharebar": false, "shortUrl": "", "statusText": "", "statusColor": "", "targetType": "", "timestampUtc" ":" "," LastModifiedText ":" 4 h "," lastModifiedState ":" "," tipo ":" tarjeta "," url ":" / videos / world / 2017/08/17 / -barcelona-sot-2.cnn / video / playlists / van-arados-multitud-en-barcelona / "," width ":" "," height ":" /video/world/2017/08/17/witness-van-crash-barcelona-sot-2.cnn/index.xml","videoId":"world/2017/08/17/witness-van-crash-barcelona -sot-2.cnn "," adSection ":" contras T-video-leaf "," dateCreated ":" 12:02 PM ET, jue 17 de agosto de 2017 "," sourceName ":" CNN "," sourceLink ":" http://www.cnn.com "," VideoCollectionUrl ":" video / playlists / van-plows-crowd-en-barcelona / "}," contentType ":" video "," maximizedBanner ": false," type ":" card "," autoStartVideo " , {"Branding": "", "cardContents": {"auxiliaryText": "", "bannerText": []"bannerHasATag" brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"world","contentType":"","cta":"share","descriptionText":[«There has been a disturbing trend of vehicles being driven into crowded areas. «] ,"descriptionPlainText":"There has been a disturbing trend of vehicles being driven into crowded areas.","headlinePostText":"","headlinePreText":"","headlineText":"Vehicles as weapons: A disturbing trend", "headlinePlainText":"Vehicles as weapons: A disturbing trend","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","maximizedBannerSize":[]"media":{"contentType":"image","type":"element","cutFormat":"16:9 ","elementContents":{"caption":"Injured people are treated in Barcelona, Spain, Thursday, Aug. 17, 2017 after a white van jumped the sidewalk in the historic Las Ramblas district, crashing into a summer crowd of residents and tourists and injuring several people, police said. (AP Photo/Oriol Duran)","imageAlt":"Injured people are treated in Barcelona, Spain, Thursday, Aug. 17, 2017 after a white van jumped the sidewalk in the historic Las Ramblas district, crashing into a summer crowd of residents and tourists and injuring several people, police said. (AP Photo/Oriol Duran)","imageUrl":"//i2.cdn.cnn.com/cnnnext/dam/assets/170817131607-14-spain-crash-0817-large-169.jpg","label":"","galleryTitle":"","head":"","source":"Associated Press","photographer":"Oriol Duran/AP","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/170817131607-14-spain-crash-0817-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/170817131607-14-spain-crash-0817-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/170817131607-14-spain-crash-0817-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/170817131607-14-spain-crash-0817-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/170817131607-14-spain-crash-0817-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"//i2.cdn.c nn.com/cnnnext/dam/assets/170817131607-14-spain-crash-0817-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/170817131607-14-spain-crash-0817-small-11.jpg"}},"responsiveImage":true,"originalImageUrl":"//i2.cdn.cnn.com/cnnnext/dam/assets/170817131607-14-spain-crash-0817.jpg"},"duration":"1:30"},"noFollow":false,"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"8 m","lastModifiedState":"red","type":"card","url":"/videos/world/2017/06/03/vehicles-used-as-weapons-jpm-orig.cnn/video/playlists/van-plows-crowd-in-barcelona/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/world/2017/06/03/vehicles-used-as-weapons-jpm-orig.cnn/index.xml","videoId":"world/2017/06/03/vehicles-used-as-weapons-jpm-orig.cnn","adSection":"const-video-leaf","dateCreated":"6:38 PM ET, Sat June 3, 2017","sourceName":"C NN","sourceLink":"","videoCollectionUrl":"/video/playlists/van-plows-crowd-in-barcelona/"},"contentType":"video","maximizedBanner":false,"type":"card","autoStartVideo":false},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":[],"bannerHasATag":false,"bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"us","contentType":"","cta":"share","descriptionText":[«Dr. Sanjay Gupta explains why terrorism is so frighteningly effective.»],"descriptionPlainText":"Dr. Sanjay Gupta explains why terrorism is so frighteningly effective.","headlinePostText":"","headlinePreText":"","headlineText":"The psychology of terror ","headlinePlainText":"The psychology of terror ","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","maximizedBannerSize":[],"media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"psychology of terror sanjay gupta nws orig_00002811.jpg","imageAlt":"psychology of terror sanjay gupta nws orig_00002811","imageUrl":"//i2.cdn.cnn.com/cnnnext/dam/assets/160324190825-psychology-of-terror-sanjay-gupta-nws-orig-00002811-large-169.jpg","label":"","galleryTitle":"","head":"","source":"ISIS","photographer":"ISIS","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/160324190825-psychology-of-terror-sanjay-gupta-nws-orig-00002811-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam /assets/160324190825-psychology-of-terror-sanjay-gupta-nws-orig-00002811-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/160324190825-psychology-of-terror-sanjay-gupta-nws-orig-00002811-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/160324190825-psychology-of-terror-sanjay-gupta-nws-orig-00002811-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/160324190825-psychology-of-terror-sanjay-gupta-nws-orig-00002811-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/160324190825-psychology-of-terror-sanjay-gupta-nws-orig-00002811-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"//i2.cdn.cnn.com/cnnnext/dam/assets/160324190825-psychology-of-terror-sanjay-gupta-nws-orig-00002811-small-11.jpg"}},"responsiveImage":true,"originalImageUrl" :"//i2.cdn.cnn.com/cnnnext/dam/assets/160324190825-psychology-of-terror-sanjay-gupta-nws-orig-00002811.jpg"},"duration":"1:25"},"noFollow":false,"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/us/2016/03/24/psychology-of-terror-sanjay-gupta-nws-orig.cnn/video/playlists/van-plows-crowd-in-barcelona/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/us/2016/03/24/psychology-of-terror-sanjay-gupta-nws-orig.cnn/index.xml","videoId":"us/2016/03/24/psychology-of-terror-sanjay-gupta-nws-orig.cnn","adSection":"const-video-leaf","dateCreated":"6:26 PM ET, Thu March 24, 2016","sourceName":"CNN","sourceLink":"http://www.cnn.com","videoCollectionUrl":"/video/playlists/van-plows-crowd-in-barcelona/"},"contentType":"video","maximizedBanner":false,"type":"card","autoStartVideo":false}],cardContents,i;f or (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {currentVidObj = currentVideoCollection[getNextVideoIndex(currentVideoId)];nextPlay = currentVidObj.videoId;nextVideoUrl = domain + currentVidObj.videoUrl;if (nextPlay === undefined || nextPlay === null) {nextPlay = currentVideoCollection[0].videoId;}moveToNextTimeout = setTimeout(function () {overrides = {videoCollection: currentVideoCollection,autostart: true};if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === 'fave') {FAVE.player.getInstance(configObj.markupId).play(nextPlay, overrides);} else {CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, nextPlay, overrides);}if (typeof window.recallProximic !== 'undefined' && nextPlay !== null) {window.recallProximic(nextVideoUrl);}}, nextVideoPlayTimeout);}}var decorateVideoApi = function(){/* if this happens before the video API loads it gets deleted. */CNN.VideoPlayer.showSpinner = function showSpinner(containerId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {jQuery(document.getElementById(('spinner_' + containerId).replace('#', ''))).show();}};CNN.VideoPlayer.hideSpinner = function hideSpinner(containerId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {jQuery(document.getElementById(('spinner_' + containerId).replace('#', ''))).hide();}};CNN.VideoPlayer.hideThumbnail = function hideThumbnail(containerId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {jQuery(document.getElementById(containerId + '–thumbnail')).hide();}};};callbackObj = {onPlayerReady: function (containerId) {CNN.INJECTOR.getNameSpaceFeature('CNN.VideoPlayer.showSpinner').fail(decorateVideoApi);var containerClassId;CNN.VideoPlayer.reportLoadTime(containerId);CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, CNN.pageVis.isDocumentVisible());if (Modernizr && !Mo dernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {containerClassId = '#' + containerId;if (jQuery(containerClassId).parents('.js-pg-rail-tall__head').length > 0) {videoPinner = new CNN.VideoPinner(containerClassId);videoPinner.setIsVideoCollection(true);videoPinner.init();} else {CNN.VideoPlayer.hideThumbnail(containerId);}}},onContentEntryLoad: function(containerId, playerId, contentid, isQueue) {CNN.VideoPlayer.showSpinner(containerId);CNN.VideoPlayer.isFirstVideoInCollection(containerId, contentid);},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.handleOnVideoPlay();videoPinner.animateDown();}}},onContentPlay: function (containerId, cvpId, contentId) {/** When the video content start s playing, the companion ad* layout (if it was set when the ad played) should switch* back to epic ad layout. onContentPlay calls updateCompanionLayout* with 'restoreEpicAds' layout to make this switch and removes FW* with 'removeFreewheel' so you don't see double ads. If a user* clicks another video midway, onContentBegin will add FW back*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeFreewheel');CNN.companion.updateCompanionLayout('restoreEpicAds');}clearTimeout(moveToNextTimeout);CNN.VideoPlayer.hideSpinner(containerId);var idx,playerInstance,prevVideoId = (window.jsmd && window.jsmd.v && (window.jsmd.v.eVar18 || window.jsmd.v.eVar4)) || '';if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === 'fave') {playerInstance = FAVE.player.getInstance(containerId);} else {playerInstance = containerId && window.cnnVideoManager.getPlayerByContainer(containerId).videoInstance.cvp || null;}if (playerInstance && typeof playerInstance.reportAnalytics === 'function') {if (prevVideoId.length === 0 && document.referrer && document.referrer.search(//videos//) >= 0) {prevVideoId = document.referrer.replace(/^(?:http|https)://[^/]/videos/(.+.w+)(?:/video/playlists/.*)?$/, '/video/$1');if (prevVideoId === document.referrer) {prevVideoId = '';}}if (jQuery.isArray(currentVideoCollection) && currentVideoCollection.length > 0) {idx = getNextVideoIndex(contentId);nextVideoId = currentVideoCollection[idx].videoId;nextVideoUrl = currentVideoCollection[idx].videoUrl;currentVideoCollectionId = (window.jsmd && window.jsmd.v && window.jsmd.v.eVar60) || nextVideoUrl.replace(/^.+/video/playlists/(.+)//, '$1');}playerInstance.reportAnalytics('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 && !Modernizr.tablet) {if (typeof videoPinner !== 'undefined' && videoPinner !== null) {videoPinner.setIsPlaying(true);videoPinner.handleOnVideoPlay();videoPinner.animateDown();}}},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');}}}},onContentMetadata: function (containerId, playerId, metadata, contentId, duration, width, height) {if (CNN.Utils.exists(metadata)) {try {if (CNN.VideoPlayer.getLibraryName(containerId) === 'fave') {CNN.Videx.EmbedButton.updateCode(metadata);} else {CNN.Videx.EmbedButton.updateCode(JSON.parse(metadata));}} catch (e) {console.log('Invalid video metadata JSON.');}}},onContentBegin: function (containerId, cvpId, contentId) {CNN.VideoPlayer.reverseAutoMute(containerId);CNN.VideoPlayer.isFirstVideoInCollection(containerId, contentId);/** Before the video ad starts, the freewheel companion ad* html needs to be placed on the page so that it can be* triggered by Freewheel to display the companion ad.* onContentBegin triggers updateCompanionLayout which* handles the logic to switch from epic to companion ads*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeEpicAds');CNN.compa nion.updateCompanionLayout('restoreFreewheel');}clearTimeout(moveToNextTimeout);fastdom.mutate(function () {CNN.share.reloadShareBar();});updateCurrentlyPlaying(contentId);jQuery(document).triggerVideoContentStarted();},onContentComplete: function (containerId, cvpId, contentId) {navigateToNextVideo(contentId);},onContentEnd: function (containerId, cvpId, contentId) {/** When the video content ends playing, remove the epic ad* and prepare the freewheel companion ad for the next video*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeEpicAds');CNN.companion.updateCompanionLayout('restoreFreewheel');}navigateToNextVideo(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
Van plows into crowd in Barcelona (7 Videos)