Cómo diseñar el coche de tus sueños en VR

'); $ vidEndSlate.removeClass (' video__end-slate – inactivo '). AddClass (' video__end-slate – active '); .autoPlayVideoExist = (CNN.autoPlayVideoExist === true)? 100% ', height:' 100% ', altura:' true: false, var configObj = {thumb: 'none', video: 'autos / 2017/07/04 / seymourpowell-virtual-reality-car-design.cnn' ', Sección:' interno ', perfil:' expansión ', red:' cnn ', markupId:' large-media_0 ', adsection:' const-video-leaf ', frameWidth: ', PosterImageOverride: {"mini": {"height": 124, "width": 220, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets /170703133855-seymourpowell-vr-car-design-1-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri ": "//i2.cdn.cnn.com/cnnnext/dam/assets/170703133855-seymourpowell-vr-car-design-1-medium-plus-169.jpg"},"small":{"height":259, "Anchura": 460, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170703133855-seymourpowell-vr-car-design-1-large-169 .jpg "}," medium ": {" height ": 438," width ": 780," type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets /170703133855-seymourpowell-vr-car-design-1-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri ": "//i2.cdn.cnn.com/cnnnex T / dam / assets / 170703133855-seymourpowell-vr-coche-diseño-1-super-169.jpg "}," full16x9 ": {" height ": 900," width ": 1600, , "Uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170703133855-seymourpowell-vr-car-design-1-full-169.jpg"},"mini1x1":{"height" : 120, "width": 120, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170703133855-seymourpowell-vr-car-design-1- Small-11.jpg "}}, autoStartVideo = false, callbackObj, containerEl, currentVideoCollection = [{«videoCMSUrl»:»/videos/autos/2017/07/04/seymourpowell-virtual-reality-car-design.cnn»,»videoId»:»autos/2017/07/04/seymourpowell-virtual-reality-car-design.cnn»,»videoUrl»:»/videos/autos/2017/07/04/seymourpowell-virtual-reality-car-design.cnn»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2017/01/11/james-bond-aston-martin-style-autos-special.cnn/index.xml»,»videoId»:»autos/2017/01/11/james-bond-aston-martin-style-autos-special.cnn»,»videoUrl»:»/videos/autos/2017/01/11/james-bond-aston-martin-style-autos-special.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2017/01/10/lamborghini-miura-bullring.cnn/index.xml»,»videoId»:»autos/2017/01/10/lamborghini-miura-bullring.cnn»,»videoUrl»:»/videos/autos/2017/01/10/lamborghini-miura-bullring.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2017/01/10/west-coast-customs.cnn/index.xml»,»videoId»:»autos/2017/01/10/west-coast-customs.cnn»,»videoUrl»:»/videos/autos/2017/01/10/west-coast-customs.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2017/01/09/patrick-dempsey-porsche.cnn/index.xml»,»videoId»:»autos/2017/01/09/patrick-dempsey-porsche.cnn»,»videoUrl»:»/videos/autos/2017/01/09/patrick-dempsey-porsche.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2017/01/09/cnn-style-kendall-jenner-cars.cnn/index.xml»,»videoId»:»autos/2017/01/09/cnn-style-kendall-jenner-cars.cnn»,»videoUrl»:»/videos/autos/2017/01/09/cnn-style-kendall-jenner-cars.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2016/12/22/mercedes-future-design-style.cnn/index.xml»,»videoId»:»autos/2016/12/22/mercedes-future-design-style.cnn»,»videoUrl»:»/videos/autos/2016/12/22/mercedes-future-design-style.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2017/01/05/david-gandy-jaguar-xkss.cnn/index.xml»,»videoId»:»autos/2017/01/05/david-gandy-jaguar-xkss.cnn»,»videoUrl»:»/videos/autos/2017/01/05/david-gandy-jaguar-xkss.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2016/12/21/cnn-style-car-special-episode-9-full.cnn/index.xml»,»videoId»:»autos/2016/12/21/cnn-style-car-special-episode-9-full.cnn»,»videoUrl»:»/videos/autos/2016/12/21/cnn-style-car-special-episode-9-full.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2016/10/03/ferrari-aperta-paris-motor-show-orig.cnn/index.xml»,»videoId»:»autos/2016/10/03/ferrari-aperta-paris-motor-show-orig.cnn»,»videoUrl»:»/videos/autos/2016/10/03/ferrari-aperta-paris-motor-show-orig.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2016/09/30/style-mercedes-eq.cnn/index.xml»,»videoId»:»autos/2016/09/30/style-mercedes-eq.cnn»,»videoUrl»:»/videos/autos/2016/09/30/style-mercedes-eq.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2016/03/21/style-ferrari-nine-things.cnn/index.xml»,»videoId»:»autos/2016/03/21/style-ferrari-nine-things.cnn»,»videoUrl»:»/videos/autos/2016/03/21/style-ferrari-nine-things.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2016/09/15/top-10-car-commercials.cnn/index.xml»,»videoId»:»autos/2016/09/15/top-10-car-commercials.cnn»,»videoUrl»:»/videos/autos/2016/09/15/top-10-car-commercials.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2016/08/31/spc-the-invitation-massimo-bottura-maserati.cnn/index.xml»,»videoId»:»autos/2016/08/31/spc-the-invitation-massimo-bottura-maserati.cnn»,»videoUrl»:»/videos/autos/2016/08/31/spc-the-invitation-massimo-bottura-maserati.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2015/06/30/style-and-elegance-of-the-rolls-royce-wraith.cnn/index.xml»,»videoId»:»autos/2015/06/30/style-and-elegance-of-the-rolls-royce-wraith.cnn»,»videoUrl»:»/videos/autos/2015/06/30/style-and-elegance-of-the-rolls-royce-wraith.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/cnnmoney/2016/03/22/bugatti-chiron-worlds-next-fastest-car-orig.cnn-money/index.xml»,»videoId»:»cnnmoney/2016/03/22/bugatti-chiron-worlds-next-fastest-car-orig.cnn-money»,»videoUrl»:»/videos/cnnmoney/2016/03/22/bugatti-chiron-worlds-next-fastest-car-orig.cnn-money/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2015/08/20/style-maserati-250f.cnn/index.xml»,»videoId»:»autos/2015/08/20/style-maserati-250f.cnn»,»videoUrl»:»/videos/autos/2015/08/20/style-maserati-250f.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2015/09/21/style-ferrari-customization.cnn/index.xml»,»videoId»:»autos/2015/09/21/style-ferrari-customization.cnn»,»videoUrl»:»/videos/autos/2015/09/21/style-ferrari-customization.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2015/06/30/chrysler-jet-powered-turbine-car-style.cnn/index.xml»,»videoId»:»autos/2015/06/30/chrysler-jet-powered-turbine-car-style.cnn»,»videoUrl»:»/videos/autos/2015/06/30/chrysler-jet-powered-turbine-car-style.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2015/09/24/style-frankfurt-electric-cars-petrol-tesla-porsche-bmw.cnn/index.xml»,»videoId»:»autos/2015/09/24/style-frankfurt-electric-cars-petrol-tesla-porsche-bmw.cnn»,»videoUrl»:»/videos/autos/2015/09/24/style-frankfurt-electric-cars-petrol-tesla-porsche-bmw.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2015/12/10/automotive-history-bonhams-style.cnn/index.xml»,»videoId»:»autos/2015/12/10/automotive-history-bonhams-style.cnn»,»videoUrl»:»/videos/autos/2015/12/10/automotive-history-bonhams-style.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2015/09/17/goodwood-2015-style-orig-video.cnn/index.xml»,»videoId»:»autos/2015/09/17/goodwood-2015-style-orig-video.cnn»,»videoUrl»:»/videos/autos/2015/09/17/goodwood-2015-style-orig-video.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/fashion/2015/10/06/style-goodwood-part-2.cnn/index.xml»,»videoId»:»fashion/2015/10/06/style-goodwood-part-2.cnn»,»videoUrl»:»/videos/fashion/2015/10/06/style-goodwood-part-2.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2015/06/30/an-aston-martin-that-became-part-of-beatles-music-history-style.cnn/index.xml»,»videoId»:»autos/2015/06/30/an-aston-martin-that-became-part-of-beatles-music-history-style.cnn»,»videoUrl»:»/videos/autos/2015/06/30/an-aston-martin-that-became-part-of-beatles-music-history-style.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2015/06/30/millionaire-puts-beautiful-car-collection-up-for-sale-style.cnn/index.xml»,»videoId»:»autos/2015/06/30/millionaire-puts-beautiful-car-collection-up-for-sale-style.cnn»,»videoUrl»:»/videos/autos/2015/06/30/millionaire-puts-beautiful-car-collection-up-for-sale-style.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/autos/2015/06/30/step-back-in-time-with-sin-city-shelby-cobra-style.cnn/index.xml»,»videoId»:»autos/2015/06/30/step-back-in-time-with-sin-city-shelby-cobra-style.cnn»,»videoUrl»:»/videos/autos/2015/06/30/step-back-in-time-with-sin-city-shelby-cobra-style.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/style/2015/10/20/delorean-recycled-clothes-time-machine-fuel-rivers-pkg.cnn/index.xml»,»videoId»:»style/2015/10/20/delorean-recycled-clothes-time-machine-fuel-rivers-pkg.cnn»,»videoUrl»:»/videos/style/2015/10/20/delorean-recycled-clothes-time-machine-fuel-rivers-pkg.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2015/04/16/hong-kong-motorcycle-style.cnn/index.xml»,»videoId»:»world/2015/04/16/hong-kong-motorcycle-style.cnn»,»videoUrl»:»/videos/world/2015/04/16/hong-kong-motorcycle-style.cnn/video/playlists/cnn-style-cars/»},{«videoCMSUrl»:»/video/data/3.0/video/tv/2016/02/18/bond-car-aston-martin-auction-morgan-pkg.cnn/index.xml»,»videoId»:»tv/2016/02/18/bond-car-aston-martin-auction-morgan-pkg.cnn»,»videoUrl»:»/videos/tv/2016/02/18/bond-car-aston-martin-auction-morgan-pkg.cnn/video/playlists/cnn-style-cars/»}]currentVideoCollectionId = '', isLivePlayer = false, moveToNextTimeout, mutePlayerEnabled = false, nextVideoId = '', nextVideoUrl = '', turnOnFlashMessaging = False, videoPinner, videoEndSlateImpl; if (CNN.autoPlayVideoExist === false) {autoStartVideo = true; si (autoStartVideo === true) {if (turnOnFlashMessaging === true) {autoStartVideo = false; containerEl = jQuery (documento. GetElementById (configObj.markupId)); CNN.VideoPlayer.showFlashSlate (containerEl);} else {CNN.autoPlayVideoExist = true;}}} configObj.autostart = autoStartVideo; CNN.VideoPlaye R.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, anula = {videoCollection: this.videoCollection, autostart: false}, shouldStartVideo = false, playerInstance; intenta {articleElem = jQuery (evt.currentTarget) 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.existsObject (playerInstance) && typeof playerInstance.getVideoData === 'function' && playerInstance.getVideoData () .id! == videoId) {/ * Eliminar la secuencia de comandos de metadatos de vídeo.Si el usuario hace clic Que no sea el vídeo cargado inicialmente * / jQuery (artículo () () () Video ()) else {videoPlayer =) () () () {} CNNVIDEOAPI.CNNVideoManager.getInstance (). GetPlayerByContainer (configObj.markupId); if (videoPlayer && videoPlayer.videoInstance) {/ ** si videoPlayer.videoInstance.cvp es nulo lo que significa que no se ha inicializado aún así * pasar en la miniatura, también. * / If (! VideoPlayer.videoInstance.cvp) {if (tipo de thumbImageElem! == 'undefined' && thumbImageElem! == null) {thumbImageLargeSource = thumbImageElem.data () && thumbImageElem.data (). ThumbImageElem.data (). SrcLarge: 'none';} overrides.thumb = thumbImageLargeSource? ThumbImageLargeSource: 'none'; shouldStartVideo = true;} if (videoPlayer.videoInstance.config) {si (videoPlayer.videoInstance.config.video! == videoId) {/ * Eliminar la secuencia de comandos de metadatos de videoobject. Video * / jQuery (articleElem) .closest ('.cn-carousel-medium-strip') .producto (). Find ('script [name=»metaScript»]'). RemoveVCodeVideo () 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 in initialalizing video player" + error);}} función setInitialVideoEmbed () {} function initialize () error de inicialización del reproductor de video + ) {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 JQuery (carrusel) .on ('click', '.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: "autos / 2017/07/04 / seymourpowell-virtual-reality-car-design.cnn", isEmbeddable: "sí"}; CNN.Videx.EmbedButton.updateCode (initMeta);}). Fall (función () {throw 'Unable to fetch el videx bundle.')); Function updateCurrentlyPlaying (videoId) {var videoCollectionId = 'current_video_collection', videocardContents = getCurrentVideoCardContents (videoId), carousel = jQuery (document.getElementById -current_video_collection ')). Find (' .js-owl-carousel '), dominio = 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 ('descripción de datos', 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, duration: videocardContents.duration, sourceLink: videocardContents.sourceLink, sourceName: videocardContents.sourceName, title: videocardContents.headlineText}, {videoCollectionDivId: 'cn-10h3wv9' , VideoDescriptionDivId: 'js-video_description-10h3wv9', videoDurationDivId: 'js-video_duration-10h3wv9', videoTitleDivId: 'js-leaf-video_headline-10h3wv9', videoSourceDivId: .exists (videocardContents.showName)) {if (CNN.Utils.exists (videocardContents.showUrl)) {showDetailsSpanContent = '' + videocardContents.showName + ' | ';} Else {showDetailsSpanContent = videocardContents.showName +' | ',,,,,,,,,,,,, $ ShowName (), $ showName (), $ showName () = JQuery ('metadata – show__name'); fastdom.mutate (function updateShowInfo () {if (! $ IsShowDetailsSpanExists) {$ show.prepend ('

Fuente CNN