North Korea and Trump trade barbs as tensions increase

0
19

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2019/12/05/trump-north-korea-dotard-rocket-man-todd-tsr-px.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/180610093306-kim-jong-un-trump-split-20180610-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180610093306-kim-jong-un-trump-split-20180610-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180610093306-kim-jong-un-trump-split-20180610-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180610093306-kim-jong-un-trump-split-20180610-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180610093306-kim-jong-un-trump-split-20180610-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180610093306-kim-jong-un-trump-split-20180610-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180610093306-kim-jong-un-trump-split-20180610-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”North Korea called President Donald Trump a “dotard” after the President once again called North Korean leader Kim Jong Un “rocket man.” CNN’s Brian Todd reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180610093306-kim-jong-un-trump-split-20180610-large-169.jpg”,”title”:”North Korea and Trump trade barbs as tensions increase”,”videoCMSUrl”:”/videos/politics/2019/12/05/trump-north-korea-dotard-rocket-man-todd-tsr-px.cnn”,”videoLeafUrl”:”/videos/politics/2019/12/05/trump-north-korea-dotard-rocket-man-todd-tsr-px.cnn”,”videoId”:”politics/2019/12/05/trump-north-korea-dotard-rocket-man-todd-tsr-px.cnn”,”videoUrl”:”/videos/politics/2019/12/05/trump-north-korea-dotard-rocket-man-todd-tsr-px.cnn”,”surrogateKey”:”video_4E82F5A2-1163-C7D6-ACD7-D8508A79052D”},{“descriptionPlainText”:”YouTube launched its 11th annual Rewind, featuring the top videos of 2019 in different categories.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191204181240-youtube-best-2019-large-169.jpg”,”title”:”Relive your favorite YouTube moments of 2019″,”videoCMSUrl”:”/video/data/3.0/video/business/2019/12/05/youtube-top-videos-2019-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/12/05/youtube-top-videos-2019-orig.cnn-business”,”videoId”:”business/2019/12/05/youtube-top-videos-2019-orig.cnn-business”,”videoUrl”:”/videos/business/2019/12/05/youtube-top-videos-2019-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_1BB3D331-6D34-7E08-91FA-D66A616B9D51″},{“descriptionPlainText”:”CNN Travel got a sneak peek of Disney’s Star Wars: Rise of the Resistance ride before the December 5 opening day.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191203124153-07-star-wars-ride-rise-of-the-resistance-large-169.jpg”,”title”:”Star Wars: Riding Rise of the Resistance “,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/04/pov-star-wars-rise-of-resistance-ride-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/04/pov-star-wars-rise-of-resistance-ride-travel-orig.cnn”,”videoId”:”travel/2019/12/04/pov-star-wars-rise-of-resistance-ride-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/12/04/pov-star-wars-rise-of-resistance-ride-travel-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_99DA4530-3AE5-B0FF-BDAE-D2C50205C566″},{“descriptionPlainText”:”In a law-defying feat, three men drove the “Cannonball Run” from New York to Los Angeles in this record-breaking time.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191204151550-cannonball-2-large-169.jpg”,”title”:”New York to LA in record-breaking (but illegal) time”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/12/04/cannonball-run-new-driving-record.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/12/04/cannonball-run-new-driving-record.cnn”,”videoId”:”us/2019/12/04/cannonball-run-new-driving-record.cnn”,”videoUrl”:”/videos/us/2019/12/04/cannonball-run-new-driving-record.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_981C8F7D-2A42-3895-3260-D27B48CA7934″},{“descriptionPlainText”:”A $4.8 million dollar art installation titled “Spinning Chandelier” hanging under a bridge in Vancouver, Canada, is receiving mixed reactions from onlookers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191203125036-vancouver-spinning-chandelier-art-large-169.jpg”,”title”:”$4.8 million chandelier hangs under bridge in Vancouver”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/12/03/million-dollar-spinning-chandelier-city-bridge-vancouver-newsource-orig-roth.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/12/03/million-dollar-spinning-chandelier-city-bridge-vancouver-newsource-orig-roth.cnn”,”videoId”:”world/2019/12/03/million-dollar-spinning-chandelier-city-bridge-vancouver-newsource-orig-roth.cnn”,”videoUrl”:”/videos/world/2019/12/03/million-dollar-spinning-chandelier-city-bridge-vancouver-newsource-orig-roth.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_BECF1164-D092-FDE1-FFFA-CC9C9073FB03″},{“descriptionPlainText”:”An electric eel named Miguel Wattson is powering lights on a Christmas tree at the Tennessee Aquarium.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191204190118-electric-eel-christmas-tree-large-169.jpg”,”title”:”See electric eel light a Christmas tree “,”videoCMSUrl”:”/video/data/3.0/video/us/2019/12/04/electric-eel-lights-christmas-tree-orig-llr.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/12/04/electric-eel-lights-christmas-tree-orig-llr.cnn”,”videoId”:”us/2019/12/04/electric-eel-lights-christmas-tree-orig-llr.cnn”,”videoUrl”:”/videos/us/2019/12/04/electric-eel-lights-christmas-tree-orig-llr.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_4FC7189E-F4F7-DF27-94C8-D35966BF01CC”},{“descriptionPlainText”:”A 7-year-old boy was surfing with his dad in Florida when a shark appeared to knock him off his surfboard.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191202082248-shark-sideswipes-boy-on-surfboard-large-169.jpg”,”title”:”Watch shark knock boy off his surfboard”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/12/02/shark-knocks-boy-surfing-off-board-ns-orig-roth.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/12/02/shark-knocks-boy-surfing-off-board-ns-orig-roth.cnn”,”videoId”:”us/2019/12/02/shark-knocks-boy-surfing-off-board-ns-orig-roth.cnn”,”videoUrl”:”/videos/us/2019/12/02/shark-knocks-boy-surfing-off-board-ns-orig-roth.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_7A76B079-DE44-28A2-9444-C6F2EE7A1038″},{“descriptionPlainText”:”A metal beam broke loose from a ferris wheel in Texas, narrowly missing people on the ground below.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191202074908-ferris-wheel-beam-large-169.jpg”,”title”:”Ferris wheel loses metal beam during ride”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/12/02/texas-ferris-wheel-loses-metal-beam-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/us/2019/12/02/texas-ferris-wheel-loses-metal-beam-mxp-vpx.hln”,”videoId”:”us/2019/12/02/texas-ferris-wheel-loses-metal-beam-mxp-vpx.hln”,”videoUrl”:”/videos/us/2019/12/02/texas-ferris-wheel-loses-metal-beam-mxp-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A7261279-D22F-CF23-118E-C699D3DF7C66″},{“descriptionPlainText”:”Firefighters from the Redwood City Fire Department rescued an exhausted baby seal, named Santos, from the parking deck where he was found. The impossibly cute northern fur seal went back to the fire station, where the charming creature posed for some photos before taking a nap.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191124184728-baby-seal-california-large-169.jpg”,”title”:”Firefighters rescue adorable sleepy seal pup”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/11/25/sleepy-seal-pup-santos-rescue-newsource-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/11/25/sleepy-seal-pup-santos-rescue-newsource-orig.cnn”,”videoId”:”us/2019/11/25/sleepy-seal-pup-santos-rescue-newsource-orig.cnn”,”videoUrl”:”/videos/us/2019/11/25/sleepy-seal-pup-santos-rescue-newsource-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_E44561C2-F152-B1DA-56DD-A35200C93AB1″},{“descriptionPlainText”:”In Gatlinburg, TN, the longest pedestrian suspension bridge in the US has been transformed into a 680 foot tunnel of Christmas lights overlooking the Smoky Mountains.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191127162427-christmas-lights-gatlinburg-suspension-bridge-orig-mg-00001624-large-169.jpg”,”title”:”See America’s longest pedestrian bridge lit up with lights”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/11/27/christmas-lights-gatlinburg-suspension-bridge-orig-mg.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/11/27/christmas-lights-gatlinburg-suspension-bridge-orig-mg.cnn”,”videoId”:”travel/2019/11/27/christmas-lights-gatlinburg-suspension-bridge-orig-mg.cnn”,”videoUrl”:”/videos/travel/2019/11/27/christmas-lights-gatlinburg-suspension-bridge-orig-mg.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C867F251-20A3-9E10-69AF-AEB5587ACB91″},{“descriptionPlainText”:”This journalist became the story itself as a female pig started chasing him during his live report.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191127105435-01-pig-chases-greek-reporter-grab-large-169.jpg”,”title”:”A pig crashed this journalist’s live report”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/27/reporter-chased-by-pig-greece-lon-orig-na.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/27/reporter-chased-by-pig-greece-lon-orig-na.cnn”,”videoId”:”world/2019/11/27/reporter-chased-by-pig-greece-lon-orig-na.cnn”,”videoUrl”:”/videos/world/2019/11/27/reporter-chased-by-pig-greece-lon-orig-na.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_AD29DAB7-FF86-E638-7168-AD88216282B7″},{“descriptionPlainText”:”A wild snow leopard found injured and unable to see has had a cataract removed in what Chinese veterinarians say is a world-first surgical procedure.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191129172751-mid-surgery-leopard-large-169.jpg”,”title”:”Wild snow leopard gets world-first cataract surgery”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/29/snow-leopard-eye-surgery-china-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/29/snow-leopard-eye-surgery-china-jba-lon-orig.cnn”,”videoId”:”world/2019/11/29/snow-leopard-eye-surgery-china-jba-lon-orig.cnn”,”videoUrl”:”/videos/world/2019/11/29/snow-leopard-eye-surgery-china-jba-lon-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_DE1ADA36-BDE0-F5AD-0853-B79A4F8441AF”},{“descriptionPlainText”:”Victoria Beckham joked with Ellen DeGeneres that her son Romeo capitalized on her Spice Girls fame to gain social media followers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191125133413-victoria-beckham-romeo-beckham-spice-girls-dance-large-169.jpg”,”title”:”Victoria Beckham said son used her to gain followers”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2019/11/25/victoria-beckham-ellen-romeo-tiktok-orig-vstan-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2019/11/25/victoria-beckham-ellen-romeo-tiktok-orig-vstan-bdk.cnn”,”videoId”:”entertainment/2019/11/25/victoria-beckham-ellen-romeo-tiktok-orig-vstan-bdk.cnn”,”videoUrl”:”/videos/entertainment/2019/11/25/victoria-beckham-ellen-romeo-tiktok-orig-vstan-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A16BD4C9-04C8-582B-E7A7-A3B785A20EE9″},{“descriptionPlainText”:”Jenny Doan hula-hooped for 100 hours, crushing the world record. She used the goal to raise more than $4,000 for Mental Health America.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191123144319-hula-hoop-world-record-trnd-large-169.jpg”,”title”:”Chicago woman sets new marathon hula-hooping record “,”videoCMSUrl”:”/video/data/3.0/video/us/2019/11/23/hula-hoop-world-record-set-100-hours-orig-mss.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/11/23/hula-hoop-world-record-set-100-hours-orig-mss.cnn”,”videoId”:”us/2019/11/23/hula-hoop-world-record-set-100-hours-orig-mss.cnn”,”videoUrl”:”/videos/us/2019/11/23/hula-hoop-world-record-set-100-hours-orig-mss.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_3FF88082-9F24-FD00-AFE7-9A39B02512AA”},{“descriptionPlainText”:”Former NFL and baseball player Tim Tebow bids farewell to his beloved dog Bronco, who he adopted in 2010.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121125823-tim-tebow-dog-dies-large-169.jpg”,”title”:”Tim Tebow gives heartfelt goodbye to faithful friend”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/11/22/tim-tebow-instagram-goodbye-to-dog-hln-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/sports/2019/11/22/tim-tebow-instagram-goodbye-to-dog-hln-vpx.hln”,”videoId”:”sports/2019/11/22/tim-tebow-instagram-goodbye-to-dog-hln-vpx.hln”,”videoUrl”:”/videos/sports/2019/11/22/tim-tebow-instagram-goodbye-to-dog-hln-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A9FF3B0F-FDF8-88C1-378C-94085CD979EA”},{“descriptionPlainText”:”Comedian Sacha Baron Cohen struck a serious tone during a speech to the Anti-Defamation League in which he was sharply critical of Facebook CEO Mark Zuckerberg.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191122134614-sacha-baron-cohen-mark-zuckerberg-split-large-169.jpg”,”title”:”Sacha Baron Cohen blasts Mark Zuckerberg in award speech”,”videoCMSUrl”:”/video/data/3.0/video/media/2019/11/22/sacha-baron-cohen-adl-speech-mark-zuckerberg-orig-vstop-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2019/11/22/sacha-baron-cohen-adl-speech-mark-zuckerberg-orig-vstop-bdk.cnn”,”videoId”:”media/2019/11/22/sacha-baron-cohen-adl-speech-mark-zuckerberg-orig-vstop-bdk.cnn”,”videoUrl”:”/videos/media/2019/11/22/sacha-baron-cohen-adl-speech-mark-zuckerberg-orig-vstop-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_572BA027-29AC-3445-9A27-944E5E195262″},{“descriptionPlainText”:”Scientists in China have found a stellar black hole far larger than researchers had believed was possible. They are now looking for new theories to explain its size.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191129162143-black-hole-lb1-large-169.jpg”,”title”:”‘Monster black hole’ 70 times the size of the sun discovered “,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/29/monster-black-hole-discovery-china-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/29/monster-black-hole-discovery-china-jba-lon-orig.cnn”,”videoId”:”world/2019/11/29/monster-black-hole-discovery-china-jba-lon-orig.cnn”,”videoUrl”:”/videos/world/2019/11/29/monster-black-hole-discovery-china-jba-lon-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_61B102B5-093B-C77C-E193-B69DB92DC811″}],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:”politics/2019/12/05/trump-north-korea-dotard-rocket-man-todd-tsr-px.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-s5jw7o’,videoDescriptionDivId: ‘js-video_description-s5jw7o’,videoDurationDivId: ‘js-video_duration-s5jw7o’,videoTitleDivId: ‘js-leaf-video_headline-s5jw7o’,videoSourceDivId: ‘js-video_sourceName-s5jw7o’});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(‘

Source link

LEAVE A REPLY