Paralyzed man uses microchip implanted in brain to drive race car – CNN

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘business/2022/05/20/paralyzed-man-drives-race-car-affil-pkg-vpx.kcnc’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-video-leaf’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220520102204-paralyzed-race-car-driver-1-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220520102204-paralyzed-race-car-driver-1-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220520102204-paralyzed-race-car-driver-1-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220520102204-paralyzed-race-car-driver-1-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220520102204-paralyzed-race-car-driver-1-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220520102204-paralyzed-race-car-driver-1-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220520102204-paralyzed-race-car-driver-1-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”A microchip implanted in German Aldana Zuniga’s brain allowed the paraplegic man to drive a race car more than 9 years after he lost the use of his legs in an auto accident. CNN affiliate KCNC has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220520102204-paralyzed-race-car-driver-1-large-169.jpg”,”title”:”Paralyzed man uses microchip implanted in brain to drive race car”,”videoCMSUrl”:”/videos/business/2022/05/20/paralyzed-man-drives-race-car-affil-pkg-vpx.kcnc”,”videoLeafUrl”:”/videos/business/2022/05/20/paralyzed-man-drives-race-car-affil-pkg-vpx.kcnc”,”videoId”:”business/2022/05/20/paralyzed-man-drives-race-car-affil-pkg-vpx.kcnc”,”videoUrl”:”/videos/business/2022/05/20/paralyzed-man-drives-race-car-affil-pkg-vpx.kcnc”,”surrogateKey”:”video_E1C8A0C5-9BDA-6CE6-4A5F-E1A8A567A2F0″},{“descriptionPlainText”:”Diesel prices are soaring to record levels and oil tanks are sitting at alarmingly low levels as demand outpaces supply. CNN’s Vanessa Yurkevich speaks with an oil analyst about how consumers may be impacted.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220519085843-oil-tanks-large-169.jpeg”,”title”:”How soaring diesel prices may impact consumers”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/19/diesel-prices-yurkevich-dnt-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/19/diesel-prices-yurkevich-dnt-newday-vpx.cnn”,”videoId”:”business/2022/05/19/diesel-prices-yurkevich-dnt-newday-vpx.cnn”,”videoUrl”:”/videos/business/2022/05/19/diesel-prices-yurkevich-dnt-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_7543AF2C-A7E3-947F-8B7D-DC4FFAD45F29″},{“descriptionPlainText”:”Fox News host Tucker Carlson is trying to distance himself from the document allegedly written by the shooter who killed 10 people in Buffalo, which endorses the “great replacement” theory. The conspiracy idea has been embraced and promoted by the host and far-right extremists.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220517160021-tucker-carlson-large-169.jpg”,”title”:”Watch Fox host react to Buffalo shooting”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/17/tucker-carlson-replacement-theory-buffalo-shooting-orig-ht.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/17/tucker-carlson-replacement-theory-buffalo-shooting-orig-ht.cnn-business”,”videoId”:”business/2022/05/17/tucker-carlson-replacement-theory-buffalo-shooting-orig-ht.cnn-business”,”videoUrl”:”/videos/business/2022/05/17/tucker-carlson-replacement-theory-buffalo-shooting-orig-ht.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_0D41207E-8A9B-66FD-DAD8-D39A7C7193FB”},{“descriptionPlainText”:”Elon Musk says his deal to acquire Twitter is on hold until the social media company proves the accuracy of its user numbers, citing spam bots. CNN’s Brian Stelter reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220513060533-03-elon-musk-file-large-169.jpg”,”title”:”Here’s what Elon Musk may be aiming for as he puts Twitter deal on hold”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/17/elon-musk-twitter-bots-tweet-stelter-sot-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/17/elon-musk-twitter-bots-tweet-stelter-sot-qmb-vpx.cnnbusiness”,”videoId”:”business/2022/05/17/elon-musk-twitter-bots-tweet-stelter-sot-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/05/17/elon-musk-twitter-bots-tweet-stelter-sot-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C9CB37FA-E3A8-1D84-C220-D3ACE88A81C0″},{“descriptionPlainText”:”Snapchat CEO and co-founder Evan Spiegel and his wife Miranda Kerr made donations to repay student loans for the newest graduates of Otis College of Art and Design. The couple were invited as keynote speakers and awarded with honorary degrees from the school.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220516160912-evan-spiegel-2-large-169.jpg”,”title”:”Snapchat CEO surprises Otis College’s newest graduates by paying off their student loans”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/16/snapchat-evan-spiegel-miranda-kerr-otis-college-student-loans.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/16/snapchat-evan-spiegel-miranda-kerr-otis-college-student-loans.cnn-business”,”videoId”:”business/2022/05/16/snapchat-evan-spiegel-miranda-kerr-otis-college-student-loans.cnn-business”,”videoUrl”:”/videos/business/2022/05/16/snapchat-evan-spiegel-miranda-kerr-otis-college-student-loans.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B3BF2FCE-6BEB-2D64-A23B-CE7A52D787C4″},{“descriptionPlainText”:”Ryanair CEO Michael O’Leary used expletives to air his frustration over recent dealings with Boeing to deliver more 737 jets to the airline.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190522161628-ryanair-1-large-169.jpg”,”title”:”Ryanair CEO blasts Boeing in expletive-laden remarks about slow delivery of 737 jets”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/16/ryanair-ceo-boeing-expletives-mc-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/16/ryanair-ceo-boeing-expletives-mc-orig.cnn-business”,”videoId”:”business/2022/05/16/ryanair-ceo-boeing-expletives-mc-orig.cnn-business”,”videoUrl”:”/videos/business/2022/05/16/ryanair-ceo-boeing-expletives-mc-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_369631FA-A6B5-AF3E-59C3-CF13842D420C”},{“descriptionPlainText”:”Joining the string of business exits following the war in Ukraine, French auto company Renault is selling its business in Russia, including a stake in Lada — once a symbol of the Soviet Union’s “economic self-reliance.” McDonald’s also departs Russia after more than 30 years. CNN’s Clare Sebastian reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220516140035-mcdonalds-russia-large-169.jpg”,”title”:”Renault and McDonald’s are leaving Russia. Here’s why it’s significant”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/16/renault-mcdonalds-exit-russia-sebastian-pkg-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/16/renault-mcdonalds-exit-russia-sebastian-pkg-qmb-vpx.cnnbusiness”,”videoId”:”business/2022/05/16/renault-mcdonalds-exit-russia-sebastian-pkg-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/05/16/renault-mcdonalds-exit-russia-sebastian-pkg-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A05CEBEE-4424-CD56-7FA4-CE9A6CB59AE5″},{“descriptionPlainText”:”Researchers developed a mask that controls and restricts users’ breath in virtual reality for a more immersive experience. See how this technology works.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220513170134-vr-mask-breath-large-169.jpg”,”title”:”This mask makes breathing in virtual reality more realistic”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/13/vr-mask-control-breath-virtual-reality-orig-ht.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/13/vr-mask-control-breath-virtual-reality-orig-ht.cnn-business”,”videoId”:”business/2022/05/13/vr-mask-control-breath-virtual-reality-orig-ht.cnn-business”,”videoUrl”:”/videos/business/2022/05/13/vr-mask-control-breath-virtual-reality-orig-ht.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6DD7D93B-D33F-C1D9-FEED-BF364F33D27B”},{“descriptionPlainText”:”Walter Orthmann holds the Guinness World Record for longest time spent at a single company. Just how long? 84 years. The 100-year-old Brazilian shares his advice for making your career a lifelong pursuit of happiness.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220510105516-walter-othermann-guinness-world-record-longest-career-large-169.jpg”,”title”:”Meet the 100-year-old man who’s worked at the same company for 84 years”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/10/guinness-world-record-longest-career-at-one-company-jg-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/10/guinness-world-record-longest-career-at-one-company-jg-orig.cnn-business”,”videoId”:”business/2022/05/10/guinness-world-record-longest-career-at-one-company-jg-orig.cnn-business”,”videoUrl”:”/videos/business/2022/05/10/guinness-world-record-longest-career-at-one-company-jg-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_61408EE8-F063-A893-2CC4-AE73F9FD239A”},{“descriptionPlainText”:”Check out the trailer for the much-anticipated “Avatar: Way of Water.” The sequel is set to come out thirteen years after the original “Avatar” film premiered.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220509122407-01-avatar-the-way-of-water-large-169.jpg”,”title”:”Watch: New ‘Avatar: Way of Water’ trailer just dropped”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/09/avatar-way-of-water-trailer-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/09/avatar-way-of-water-trailer-orig.cnn”,”videoId”:”business/2022/05/09/avatar-way-of-water-trailer-orig.cnn”,”videoUrl”:”/videos/business/2022/05/09/avatar-way-of-water-trailer-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_78572CA3-816B-F14F-53ED-AA26E53F81EF”},{“descriptionPlainText”:”Airbnb CEO Brian Chesky discusses the positive direction of recovery the company is headed toward with CNN’s Richard Quest.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220512135850-airbnb-ceo-brian-chesky-large-169.jpg”,”title”:”Airbnb CEO: ‘We’re not pulling on the brakes, we’re stepping on the gas’ “,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/12/airbnb-ceo-brian-chesky-travel-recovery-market-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/12/airbnb-ceo-brian-chesky-travel-recovery-market-qmb-vpx.cnnbusiness”,”videoId”:”business/2022/05/12/airbnb-ceo-brian-chesky-travel-recovery-market-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/05/12/airbnb-ceo-brian-chesky-travel-recovery-market-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F27E5844-57F0-B7E6-975F-BA0B0F7777A1″},{“descriptionPlainText”:”CNN’s Evan McMorris-Santoro follows single, working mom Jessica Kelly as she begins her new job at the Kawasaki factory in Lincoln, Nebraska.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220509074012-jessica-kelly-kawasaki-factory-mcmorris-santoro-pkg-still-large-169.jpeg”,”title”:”‘We started something new here’: Factory gets influx of workers with unique offer”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/09/kawasaki-factory-attracts-new-workers-newday-mcmorris-santoro-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/09/kawasaki-factory-attracts-new-workers-newday-mcmorris-santoro-pkg-vpx.cnn”,”videoId”:”business/2022/05/09/kawasaki-factory-attracts-new-workers-newday-mcmorris-santoro-pkg-vpx.cnn”,”videoUrl”:”/videos/business/2022/05/09/kawasaki-factory-attracts-new-workers-newday-mcmorris-santoro-pkg-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_CAD990D1-7EB9-DC89-E992-A8CF74C06D95″},{“descriptionPlainText”:”A Texas woman bought a marble bust at Goodwill for $34.99 only to learn later it was a 2,000 year-old Roman artifact.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220508215358-goodwill-ancient-roman-bust-vpx-large-169.jpeg”,”title”:”$35 find at thrift shop yields an ancient past”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/09/goodwill-ancient-roman-bust-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/09/goodwill-ancient-roman-bust-nr-vpx.cnn”,”videoId”:”business/2022/05/09/goodwill-ancient-roman-bust-nr-vpx.cnn”,”videoUrl”:”/videos/business/2022/05/09/goodwill-ancient-roman-bust-nr-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_1F2CB581-9087-1119-2267-A67F1C1030BB”},{“descriptionPlainText”:”HBO released its latest trailer for the Game of Thrones prequel “House of the Dragon.” The teaser contains new footage of the hotly-anticipated series.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220506144409-house-of-the-dragon-large-169.jpg”,”title”:”Watch: New footage from the ‘Game of Thrones’ prequel ‘House of the Dragon'”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/06/game-of-thrones-prequel-house-of-the-dragon-trailer-orig-ht.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/06/game-of-thrones-prequel-house-of-the-dragon-trailer-orig-ht.cnn-business”,”videoId”:”business/2022/05/06/game-of-thrones-prequel-house-of-the-dragon-trailer-orig-ht.cnn-business”,”videoUrl”:”/videos/business/2022/05/06/game-of-thrones-prequel-house-of-the-dragon-trailer-orig-ht.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_2593CED3-6674-AA25-65BA-9AA78BCE5663″},{“descriptionPlainText”:”CNN’s Richard Quest and former Wall Street executive Alexis Glick discuss how rising prices, a tight labor market, energy prices, and Covid-19 concerns in China are contributing to market turbulence.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220504154927-01-nyse-0504-large-169.jpg”,”title”:”Richard Quest: ‘The market is in deep dysfunction'”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/06/market-volatility-fed-rate-hike-economy-quest-glick-newday-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/06/market-volatility-fed-rate-hike-economy-quest-glick-newday-vpx.cnnbusiness”,”videoId”:”business/2022/05/06/market-volatility-fed-rate-hike-economy-quest-glick-newday-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/05/06/market-volatility-fed-rate-hike-economy-quest-glick-newday-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_DD6BAD26-E14D-7463-38DB-99380D38FDFA”},{“descriptionPlainText”:”CNN’s Vanessa Yurkevich explains boomerang jobs, the latest trend in the US labor market, and how it benefits returning employees and companies.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220506085049-boomerang-jobs-yurkevich-dnt-still-large-169.jpeg”,”title”:”Are you considering going back to your old job? Watch this first”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/06/boomerang-jobs-labor-market-trend-newday-yurkevich-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/06/boomerang-jobs-labor-market-trend-newday-yurkevich-vpx.cnn”,”videoId”:”business/2022/05/06/boomerang-jobs-labor-market-trend-newday-yurkevich-vpx.cnn”,”videoUrl”:”/videos/business/2022/05/06/boomerang-jobs-labor-market-trend-newday-yurkevich-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_BC7740F9-69C9-7FF2-B109-9963662AC2B1″}],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,mobilePinnedView = null,moveToNextTimeout,mutePlayerEnabled = false,nextVideoId = ”,nextVideoUrl = ”,turnOnFlashMessaging = false,videoPinner,videoEndSlateImpl;if (CNN.autoPlayVideoExist === false) {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 = CNN.Features.enableAutoplayBlock ? false : autoStartVideo;CNN.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, isVideoReplayClicked, mutePlayerEnabled);CNN.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);var embedLinkHandler = {},videoPinner,embedCodeCopy;function onVideoCarouselItemClicked(evt) {‘use strict’;var videoId,articleElem,videoPlayer,thumbImageElem,thumbImageLargeSource,overrides = {autostart: false,muteOverlayClicked: true,videoCollection: this.videoCollection},shouldStartVideo = false,playerInstance;try {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.existsObject(playerInstance) &&typeof playerInstance.getVideoData === ‘function’ &&playerInstance.getVideoData().id !== videoId) {jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();playerInstance.play(videoId, overrides);}} else {videoPlayer = CNNVIDEOAPI.CNNVideoManager.getInstance().getPlayerByContainer(configObj.markupId);if (videoPlayer && videoPlayer.videoInstance) {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) {if (videoPlayer.videoInstance.config.video !== videoId) {jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, videoId, overrides);}}}}} catch (error) {console.log(“error in initializing video player” + error);}}function setInitialVideoEmbed() {}function initialize(){var carousel = jQuery(document.getElementById(‘cn-current_video_collection’)).find(‘.js-owl-carousel’),owl;if (carousel) {carousel.find(‘.cn__column.carousel__content__item’).find(‘a’).removeAttr(‘href’);jQuery(carousel).on(‘click’, ‘.cn__column.carousel__content__item’, onVideoCarouselItemClicked);}}if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === ‘videoLoader’) {window.CNNVideoAPILoadCompleteHandlers = window.CNNVideoAPILoadCompleteHandlers ? window.CNNVideoAPILoadCompleteHandlers : [];window.CNNVideoAPILoadCompleteHandlers.push(initialize);window.CNNVideoAPILoadCompleteHandlers.push(setInitialVideoEmbed);} else {initialize();}CNN.INJECTOR.executeFeature(‘videx’).done(function () {var initMeta = {id:”business/2022/05/20/paralyzed-man-drives-race-car-affil-pkg-vpx.kcnc”, isEmbeddable: “yes”};CNN.Videx.EmbedButton.updateCode(initMeta);}).fail(function () {throw ‘Unable to fetch the 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’, document.getElementById(‘cn-current_video_collection’));gigyaShareElement = jQuery(‘div.js-gigya-sharebar’);if (typeof gigyaShareElement !== ‘undefined’ && CNN.Utils.existsObject(videocardContents)) {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 && videocardContents.media.elementContents && 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’, domain + videocardContents.url || ”);}if (carousel && currentVideoCollectionContainsId(videoId)) {owl = carousel.data(‘owl.carousel’) || {};showIndex = getCurrentVideoIndex(videoId);if (typeof owl.to === ‘function’) {owl.to(showIndex);}$owlPrevItem = CNN.Utils.exists(owl.$element) ? owl.$element.find(‘.cd.cd–active’) : $carouselContentItems.find(‘.cd.cd–active’);$owlPrevItem.removeClass(‘cd–active’);$owlPrevItem.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(‘.media a:first-child’).append(‘

Now Playing

‘);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-2tp10f’,videoDescriptionDivId: ‘js-video_description-2tp10f’,videoDurationDivId: ‘js-video_duration-2tp10f’,videoTitleDivId: ‘js-leaf-video_headline-2tp10f’,videoSourceDivId: ‘js-video_sourceName-2tp10f’});if (CNN.Utils.exists(videocardContents.showName)) {if (CNN.Utils.exists(videocardContents.showUrl)) {showDetailsSpanContent = ‘‘ + videocardContents.showName + ‘ | ‘;} else {showDetailsSpanContent = videocardContents.showName + ‘ | ‘;}}fastdom.measure(function getShowInfo() {var $show = jQuery(‘.metadata__show’),$isShowDetailsSpanExists = $show.find(‘span’).hasClass(‘metadata–show__name’),$showName = jQuery(‘.metadata–show__name’);fastdom.mutate(function updateShowInfo() {if (!$isShowDetailsSpanExists) {$show.prepend(‘

Leave a comment

Your email address will not be published. Required fields are marked *