Watch this infinite music video of Billie Eilishs Bad Guy – 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/2020/11/25/billie-eilish-infinite-bad-guy-music-video-youtube-orig.cnn’,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/201124202645-billie-eilish-infinite-music-video-new-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124202645-billie-eilish-infinite-music-video-new-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124202645-billie-eilish-infinite-music-video-new-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124202645-billie-eilish-infinite-music-video-new-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124202645-billie-eilish-infinite-music-video-new-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124202645-billie-eilish-infinite-music-video-new-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124202645-billie-eilish-infinite-music-video-new-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”To celebrate Billie Eilish’s “Bad Guy” music video hitting a billion streams, YouTube used artificial intelligence to create a never-ending music video of fans’ covers of the hit song.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201124202645-billie-eilish-infinite-music-video-new-large-169.jpg”,”title”:”Watch this ‘infinite’ music video of Billie Eilish’s ‘Bad Guy'”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/11/25/billie-eilish-infinite-bad-guy-music-video-youtube-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/11/25/billie-eilish-infinite-bad-guy-music-video-youtube-orig.cnn”,”videoId”:”business/2020/11/25/billie-eilish-infinite-bad-guy-music-video-youtube-orig.cnn”,”videoUrl”:”/videos/business/2020/11/25/billie-eilish-infinite-bad-guy-music-video-youtube-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_7FA9E8FB-0D66-6887-CCA1-FCE6982F65B6″},{“descriptionPlainText”:”Former “Bachelorette” star Kaitlyn Bristowe took home the mirror ball in the finale of season 29 on “Dancing with the Stars.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161123095738-dancing-with-the-stars-mirror-ball-trophy-season-23-large-169.jpg”,”title”:”See who won ‘Dancing with the Stars’ “,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2020/11/24/dwts-finale-kaitlyn-bristowe-orig-vstop-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2020/11/24/dwts-finale-kaitlyn-bristowe-orig-vstop-bdk.cnn”,”videoId”:”entertainment/2020/11/24/dwts-finale-kaitlyn-bristowe-orig-vstop-bdk.cnn”,”videoUrl”:”/videos/entertainment/2020/11/24/dwts-finale-kaitlyn-bristowe-orig-vstop-bdk.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_7FA9E8FB-0D66-6887-CCA1-FCE6982F65B6″},{“descriptionPlainText”:”Penguins from the Shedd Aquarium in Chicago took a field trip to the home of the Chicago Bears for some fresh air and exercise.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201124131939-shedd-aquarium-penguins-soldier-field-3-large-169.jpg”,”title”:”Watch penguins take over an NFL field”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/11/24/soldier-field-penguins-chicago-orig-vstan-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/11/24/soldier-field-penguins-chicago-orig-vstan-bdk.cnn”,”videoId”:”us/2020/11/24/soldier-field-penguins-chicago-orig-vstan-bdk.cnn”,”videoUrl”:”/videos/us/2020/11/24/soldier-field-penguins-chicago-orig-vstan-bdk.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_77A1E6D3-9EEA-0985-45D3-FA9A55986821″},{“descriptionPlainText”:”What started as a routine flyover for Utah’s Department of Public Safety, suddenly took a turn after officers stumbled upon a shiny, mysterious monolith in the middle of the desert.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201123234120-utah-monolith-02-large-169.jpeg”,”title”:”This mystery object was found in the Utah desert”,”videoCMSUrl”:”/video/data/3.0/video/style/2020/11/24/mysterious-metal-monolith-utah-desert-orig-orig-tp-jm.cnn/index.xml”,”videoLeafUrl”:”/videos/style/2020/11/24/mysterious-metal-monolith-utah-desert-orig-orig-tp-jm.cnn”,”videoId”:”style/2020/11/24/mysterious-metal-monolith-utah-desert-orig-orig-tp-jm.cnn”,”videoUrl”:”/videos/style/2020/11/24/mysterious-metal-monolith-utah-desert-orig-orig-tp-jm.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_2981CF52-E6D7-46DB-CB9C-FB67BFF4B032″},{“descriptionPlainText”:”Paul Bettany stars in writer/director Alan Ball’s tale of a gay man closeted from his Southern family. David Daniel talks with Bettany, Ball, and cast.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201028120536-uncle-frank-2020-large-169.jpg”,”title”:”Love, family, and acceptance in ‘Uncle Frank'”,”videoCMSUrl”:”/video/data/3.0/video/movies/2020/11/24/love-family-and-acceptance-in-uncle-frank.cnn/index.xml”,”videoLeafUrl”:”/videos/movies/2020/11/24/love-family-and-acceptance-in-uncle-frank.cnn”,”videoId”:”movies/2020/11/24/love-family-and-acceptance-in-uncle-frank.cnn”,”videoUrl”:”/videos/movies/2020/11/24/love-family-and-acceptance-in-uncle-frank.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_E388B510-DA7A-0248-D141-FB91F33ACA75″},{“descriptionPlainText”:””Aquaman” actor Jason Momoa called 7-year-old cancer patient Danny Sheehan after seeing his reaction to unwrapping an Aquaman toy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201120212857-jason-momoa-surprise-fan-aquaman-reaction-llr-dp-orig-00005111-large-169.png”,”title”:”Jason Momoa surprises fan after priceless ‘Aquaman’ reaction”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2020/11/21/jason-momoa-surprise-fan-aquaman-reaction-llr-dp-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2020/11/21/jason-momoa-surprise-fan-aquaman-reaction-llr-dp-orig.cnn”,”videoId”:”entertainment/2020/11/21/jason-momoa-surprise-fan-aquaman-reaction-llr-dp-orig.cnn”,”videoUrl”:”/videos/entertainment/2020/11/21/jason-momoa-surprise-fan-aquaman-reaction-llr-dp-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_31DA4600-E645-5A8F-9312-FC08A5B229C8″},{“descriptionPlainText”:”A wildlife camera captured how a man in Florida saved his small dog from the mouth of an alligator.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201121091505-man-saves-dog-from-alligator-pkg-vpx-00000722-large-169.png”,”title”:”Man rushes into water to save his dog from an alligator “,”videoCMSUrl”:”/video/data/3.0/video/us/2020/11/21/man-saves-dog-from-alligator-pkg-vpx.wink/index.xml”,”videoLeafUrl”:”/videos/us/2020/11/21/man-saves-dog-from-alligator-pkg-vpx.wink”,”videoId”:”us/2020/11/21/man-saves-dog-from-alligator-pkg-vpx.wink”,”videoUrl”:”/videos/us/2020/11/21/man-saves-dog-from-alligator-pkg-vpx.wink/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_8BD489D0-2C0A-5BAB-EE0F-E8430404045B”},{“descriptionPlainText”:””The Fresh Prince of Bel-Air” costar Janet Hubert, known for the role of Aunt Viv, sits down with Will Smith to discuss tensions on set which led to her release from the show.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201119150642-fresh-prince-reunion-thumb-large-169.jpg”,”title”:”‘Fresh Prince’ reunion squashes Will Smith’s decades-old rivalry”,”videoCMSUrl”:”/video/data/3.0/video/media/2020/11/19/will-smith-fresh-prince-of-bel-air-reunion-aunt-viv-orig-kj.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2020/11/19/will-smith-fresh-prince-of-bel-air-reunion-aunt-viv-orig-kj.cnn”,”videoId”:”media/2020/11/19/will-smith-fresh-prince-of-bel-air-reunion-aunt-viv-orig-kj.cnn”,”videoUrl”:”/videos/media/2020/11/19/will-smith-fresh-prince-of-bel-air-reunion-aunt-viv-orig-kj.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_861D56D4-1EE7-B3E5-E74F-EB1D22E741A0″},{“descriptionPlainText”:”A man-sized version of New York’s infamous pizza rat went massively viral. Now the identity of “Pizza Rat Man,” formally known as “Buddy the Rat,” has been revealed. CNN’s Jeanne Moos has both the tale and the tail.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201119203435-pizza-rat-man-nyc-moos-pkg-large-169.jpg”,”title”:”‘Pizza Rat Man’ goes viral. Now you can meet him”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/11/20/pizza-rat-man-nyc-moos-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/11/20/pizza-rat-man-nyc-moos-pkg-vpx.cnn”,”videoId”:”us/2020/11/20/pizza-rat-man-nyc-moos-pkg-vpx.cnn”,”videoUrl”:”/videos/us/2020/11/20/pizza-rat-man-nyc-moos-pkg-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_77404F41-43CB-D04E-566F-E21C78830ADA”},{“descriptionPlainText”:””Raise the Woof,” a Christmas song for dogs has been released. The canine jingle was created based on scientific research into the ways dogs interact with sound.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201119164512-dog-react-to-christmas-song-1-large-169.jpg”,”title”:”See dogs react to a Christmas song created just for them”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/11/19/christmas-song-released-for-dogs-lc-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/11/19/christmas-song-released-for-dogs-lc-lon-orig.cnn”,”videoId”:”world/2020/11/19/christmas-song-released-for-dogs-lc-lon-orig.cnn”,”videoUrl”:”/videos/world/2020/11/19/christmas-song-released-for-dogs-lc-lon-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_3F89E661-0434-E90A-E4E9-E3430A2FE8F4″},{“descriptionPlainText”:”Chef Nigella Lawson shows the world how to really make toast. Thought you already knew? Think twice. CNN’s Jeanne Moos explores double-buttered toast.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201118200726-nigella-lawson-butters-toast-twice-culinary-controversy-moos-pkg-ebof-vpx-00000421-large-169.jpg”,”title”:”TV chef sparks culinary controversy over toast”,”videoCMSUrl”:”/video/data/3.0/video/foodanddrink/2020/11/18/nigella-lawson-butters-toast-twice-culinary-controversy-moos-pkg-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/foodanddrink/2020/11/18/nigella-lawson-butters-toast-twice-culinary-controversy-moos-pkg-ebof-vpx.cnn”,”videoId”:”foodanddrink/2020/11/18/nigella-lawson-butters-toast-twice-culinary-controversy-moos-pkg-ebof-vpx.cnn”,”videoUrl”:”/videos/foodanddrink/2020/11/18/nigella-lawson-butters-toast-twice-culinary-controversy-moos-pkg-ebof-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_B2A40B03-F302-46FF-CC53-E15C4AD47584″},{“descriptionPlainText”:”Philanthropist, actor, and proud Texan, Matthew McConaughey, talks with “The Late Show” host Stephen Colbert about the possibility of running for governor.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201119101442-matthew-mcconaughey-at-university-of-texas-large-169.jpg”,”title”:”Matthew McConaughey tackles rumors he’s running for office”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/19/matthew-mcconaughey-asked-about-running-for-governor-of-texas-orig-jm.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/19/matthew-mcconaughey-asked-about-running-for-governor-of-texas-orig-jm.cnn”,”videoId”:”politics/2020/11/19/matthew-mcconaughey-asked-about-running-for-governor-of-texas-orig-jm.cnn”,”videoUrl”:”/videos/politics/2020/11/19/matthew-mcconaughey-asked-about-running-for-governor-of-texas-orig-jm.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_92F4F705-1639-320C-1155-DDC6A9CEAADD”},{“descriptionPlainText”:”Scraggly Christmas tree becomes a viral sensation. Jeanne Moos reports on how a Norway Spruce got spruced up.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201116214943-moos-pkg-ohio-xmas-tree-vpx-large-169.jpg”,”title”:”Scraggly Christmas tree becomes a viral sensation”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/11/17/2020-christmas-tree-cincinnati-ohio-moos-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/11/17/2020-christmas-tree-cincinnati-ohio-moos-vpx.cnn”,”videoId”:”us/2020/11/17/2020-christmas-tree-cincinnati-ohio-moos-vpx.cnn”,”videoUrl”:”/videos/us/2020/11/17/2020-christmas-tree-cincinnati-ohio-moos-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_2FBD9AFD-1005-E3DC-BF4E-E10F51461551″},{“descriptionPlainText”:”Once upon a time over 900 Golden Fans donned sequined shoulder pads and gray wigs to bring the “Golden Girls” TV show back to life … and it all happened on a cruise ship.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200312163128-01-golden-fans-at-sea-cruise-large-169.jpg”,”title”:”One epic cruise: caftans, cheesecake and ‘Golden Girls'”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/11/05/golden-fans-golden-girls-cruise-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/11/05/golden-fans-golden-girls-cruise-orig.cnn”,”videoId”:”travel/2020/11/05/golden-fans-golden-girls-cruise-orig.cnn”,”videoUrl”:”/videos/travel/2020/11/05/golden-fans-golden-girls-cruise-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_2D077689-53B2-E52E-06FD-D413B5634A45″},{“descriptionPlainText”:”Former president Barack Obama got candid about his marriage to former First Lady Michelle Obama and how he dealt with birtherism in a new interview about his book with Oprah Winfrey.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201117182753-obama-oprah-intv-1-large-169.jpg”,”title”:”Obama gets personal in interview with Oprah”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2020/11/17/obama-oprah-book-interview-marriage-birtherism-jk-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2020/11/17/obama-oprah-book-interview-marriage-birtherism-jk-orig.cnn”,”videoId”:”entertainment/2020/11/17/obama-oprah-book-interview-marriage-birtherism-jk-orig.cnn”,”videoUrl”:”/videos/entertainment/2020/11/17/obama-oprah-book-interview-marriage-birtherism-jk-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_1144738A-0C0E-FEE6-E282-9683C47DC9A0″}],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/2020/11/25/billie-eilish-infinite-bad-guy-music-video-youtube-orig.cnn”, 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-2omshh’,videoDescriptionDivId: ‘js-video_description-2omshh’,videoDurationDivId: ‘js-video_duration-2omshh’,videoTitleDivId: ‘js-leaf-video_headline-2omshh’,videoSourceDivId: ‘js-video_sourceName-2omshh’});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 Reply