Why was Rudy Giuliani in Ukraine this week?

0
14

‘);$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/07/where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx.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/191207125154-where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx-00013102-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191207125154-where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx-00013102-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191207125154-where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx-00013102-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191207125154-where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx-00013102-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191207125154-where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx-00013102-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191207125154-where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx-00013102-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191207125154-where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx-00013102-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s René Marsh takes a closer look at Rudy Giuliani’s recent trip to Ukraine, where he tweeted a series of conspiratorial claims against Ukraine’s government and the US embassy in Kiev.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191207125154-where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx-00013102-large-169.jpg”,”title”:”Why was Rudy Giuliani in Ukraine this week?”,”videoCMSUrl”:”/videos/politics/2019/12/07/where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2019/12/07/where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx.cnn”,”videoId”:”politics/2019/12/07/where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2019/12/07/where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx.cnn”,”surrogateKey”:”video_C48964BB-02C1-D912-BE40-E175E5AFDAD6″},{“descriptionPlainText”:”An Amazon delivery driver’s happy dance was caught on camera after the homeowner left some snacks out for him.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191207143932-amazon-driver-dancing-2-large-169.jpg”,”title”:”Amazon driver dances after getting some free snacks”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/12/07/amazon-delivery-driver-dances-snacks-orig-js.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/12/07/amazon-delivery-driver-dances-snacks-orig-js.cnn”,”videoId”:”us/2019/12/07/amazon-delivery-driver-dances-snacks-orig-js.cnn”,”videoUrl”:”/videos/us/2019/12/07/amazon-delivery-driver-dances-snacks-orig-js.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_5542B98B-B898-3A1C-077D-E1CB8C8BF7B2″},{“descriptionPlainText”:”Each morning, 4-month-old Georgina Addison’s parents turn her hearing aids on. Video of her reacting to her mother’s voice has been viewed more than 600,000 times on Twitter.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191207114947-baby-hearing-aid-large-169.jpg”,”title”:”Watch deaf baby react to hearing aids being turned on”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/12/07/severely-deaf-baby-hearing-aids-turned-on-orig-js.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/12/07/severely-deaf-baby-hearing-aids-turned-on-orig-js.cnn”,”videoId”:”us/2019/12/07/severely-deaf-baby-hearing-aids-turned-on-orig-js.cnn”,”videoUrl”:”/videos/us/2019/12/07/severely-deaf-baby-hearing-aids-turned-on-orig-js.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_9DCDC180-5649-0859-4A68-E2107754EBC8″},{“descriptionPlainText”:”A dentist in Anchorage, Alaska, charged with Medicaid fraud now stands accused of performing unlawful dental acts after video of him riding a hoverboard while removing a patient’s tooth surfaced. CNN affiliate KTUU is covering his trial.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191206085012-dentist-riding-hoverboard-large-169.jpg”,”title”:”Dentist filmed riding hoverboard during patient procedure”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/12/06/dentist-treats-patient-while-riding-hoverboard-pkg.ktuu/index.xml”,”videoLeafUrl”:”/videos/us/2019/12/06/dentist-treats-patient-while-riding-hoverboard-pkg.ktuu”,”videoId”:”us/2019/12/06/dentist-treats-patient-while-riding-hoverboard-pkg.ktuu”,”videoUrl”:”/videos/us/2019/12/06/dentist-treats-patient-while-riding-hoverboard-pkg.ktuu/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8CB62B02-113A-002D-3E82-DB60E948FD31″},{“descriptionPlainText”:”No. 2 LSU will face No. 4 Georgia in the SEC championships this weekend. CNN’s Coy Wire highlights Joe Burrow, the quarterback who’s looking to lead the Tigers to victory in this key playoffs match.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191206175233-joe-burrow-thumb-1-large-169.jpg”,”title”:”Meet the quarterback leading LSU’s charge against Georgia”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/12/06/joe-burrow-lsu-georgia-conference-coy-wire-orig-ll.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2019/12/06/joe-burrow-lsu-georgia-conference-coy-wire-orig-ll.cnn”,”videoId”:”sports/2019/12/06/joe-burrow-lsu-georgia-conference-coy-wire-orig-ll.cnn”,”videoUrl”:”/videos/sports/2019/12/06/joe-burrow-lsu-georgia-conference-coy-wire-orig-ll.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_05505D73-226B-5DEC-1E7F-DD6E2808C407″},{“descriptionPlainText”:”Watch Camila Cabello sing a unique rendition of Billie Eilish’s “Bad Guy” on “The Tonight Show Starring Jimmy Fallon.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191206145738-camila-camello-bad-guy-large-169.jpg”,”title”:”Camila Cabello sings a strange version of ‘Bad Guy'”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2019/12/06/camila-cabello-google-billie-eilish-bad-guy-orig-cz.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2019/12/06/camila-cabello-google-billie-eilish-bad-guy-orig-cz.cnn”,”videoId”:”entertainment/2019/12/06/camila-cabello-google-billie-eilish-bad-guy-orig-cz.cnn”,”videoUrl”:”/videos/entertainment/2019/12/06/camila-cabello-google-billie-eilish-bad-guy-orig-cz.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_610063B3-BBA5-9BD2-63F4-DCA9F683CBE7″},{“descriptionPlainText”:”As demand grows for non-lethal police technology to restrain people, the ‘BolaWrap’ could be one solution.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190411230248-file-wrap-technologies-01-large-169.jpg”,”title”:”This ‘Batman-style’ gadget could come to a police force near you”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/12/06/police-batman-rope-gun-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/12/06/police-batman-rope-gun-jba-lon-orig.cnn”,”videoId”:”world/2019/12/06/police-batman-rope-gun-jba-lon-orig.cnn”,”videoUrl”:”/videos/world/2019/12/06/police-batman-rope-gun-jba-lon-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F5231FB1-EDB4-0760-19BB-DB99DB38DBD0″},{“descriptionPlainText”:”A 5-year-old boy’s entire kindergarten class showed up to support him at his adoption hearing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191205151001-kindergarten-adoption-large-169.jpg”,”title”:”Boy’s classmates showed up for his adoption hearing”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/12/06/michigan-adoption-ceremony-kindergarten-trnd-orig-llr.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/12/06/michigan-adoption-ceremony-kindergarten-trnd-orig-llr.cnn”,”videoId”:”us/2019/12/06/michigan-adoption-ceremony-kindergarten-trnd-orig-llr.cnn”,”videoUrl”:”/videos/us/2019/12/06/michigan-adoption-ceremony-kindergarten-trnd-orig-llr.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_E0D387E1-F924-BB40-E5CA-D999A47B59C0″},{“descriptionPlainText”:””Baby Yoda” would’ve been a hot commodity this holiday season, here’s why Disney delayed toy production.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191207083900-baby-yoda-merchandise-mandalorian-disney-orig-00001816-large-169.jpg”,”title”:”You’ll have to wait for your ‘Baby Yoda’ toys”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/12/05/baby-yoda-merchandise-mandalorian-disney-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/12/05/baby-yoda-merchandise-mandalorian-disney-orig.cnn-business”,”videoId”:”business/2019/12/05/baby-yoda-merchandise-mandalorian-disney-orig.cnn-business”,”videoUrl”:”/videos/business/2019/12/05/baby-yoda-merchandise-mandalorian-disney-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_974A7720-EB54-D5CA-623D-D6F8E0400478″},{“descriptionPlainText”:”The acrobatic basketball team Dunking Devils are back​ with a new stunt – jumping off a trampoline suspended 100 feet in the air.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191206100222-dunking-devils-tease-trampoline-large-169.jpg”,”title”:”Jumping on a trampoline suspended 100 ft in the air”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/12/06/trampoline-dunking-devils-crane-stunts-spt-intl-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2019/12/06/trampoline-dunking-devils-crane-stunts-spt-intl-lon-orig.cnn”,”videoId”:”sports/2019/12/06/trampoline-dunking-devils-crane-stunts-spt-intl-lon-orig.cnn”,”videoUrl”:”/videos/sports/2019/12/06/trampoline-dunking-devils-crane-stunts-spt-intl-lon-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6A7F140D-DA33-B8B6-3325-DA8EE4BC55F4″},{“descriptionPlainText”:”There are 14 8,000m peaks in the world — “death zone” mountains. Nirmal ‘Nims’ Purja. set a world record by climbing them all in six months and six days.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191127141421-nirmal-purja-everest-large-169.jpg”,”title”:”Ex-special forces soldier breaks climbing record”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/11/27/nirmal-nims-purja-nepalese-climber-world-record-14-8000-mountains-spt-intl-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2019/11/27/nirmal-nims-purja-nepalese-climber-world-record-14-8000-mountains-spt-intl-lon-orig.cnn”,”videoId”:”sports/2019/11/27/nirmal-nims-purja-nepalese-climber-world-record-14-8000-mountains-spt-intl-lon-orig.cnn”,”videoUrl”:”/videos/sports/2019/11/27/nirmal-nims-purja-nepalese-climber-world-record-14-8000-mountains-spt-intl-lon-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_42EA6905-6DE6-C58E-4FE2-ACFE97E714A1″},{“descriptionPlainText”:”An armed robbery at a Florida jewelry store led to the hijacking of a UPS truck and a massive police chase that ended in a fatal shootout.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191205201417-03-stolen-ups-truck-shootout-large-169.jpg”,”title”:”Police chase of hijacked UPS truck ends in fatal shootout”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/12/06/ups-truck-hijack-police-chase-shootout-orig-llr.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/12/06/ups-truck-hijack-police-chase-shootout-orig-llr.cnn”,”videoId”:”us/2019/12/06/ups-truck-hijack-police-chase-shootout-orig-llr.cnn”,”videoUrl”:”/videos/us/2019/12/06/ups-truck-hijack-police-chase-shootout-orig-llr.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_5254314D-31B6-79CF-DD06-D8BBBB7A5A93″},{“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″}],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/07/where-rudy-giuliani-anti-biden-expedition-ukraine-lklv-marsh-nr-vpx.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-15uns0e’,videoDescriptionDivId: ‘js-video_description-15uns0e’,videoDurationDivId: ‘js-video_duration-15uns0e’,videoTitleDivId: ‘js-leaf-video_headline-15uns0e’,videoSourceDivId: ‘js-video_sourceName-15uns0e’});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