‘The Trump of the tropics’ gets a reelection boost

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2021/10/27/trump-endorsement-bolsonaro-brazil-election-soares-dnt-the-lead-vpx.cnn’,width: ‘100%’,height: ‘100%’,section: ‘international’,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/200527133726-trump-bolsonaro-0307-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200527133726-trump-bolsonaro-0307-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200527133726-trump-bolsonaro-0307-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200527133726-trump-bolsonaro-0307-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200527133726-trump-bolsonaro-0307-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200527133726-trump-bolsonaro-0307-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200527133726-trump-bolsonaro-0307-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Brazil’s president, Jair Bolsonaro, is up for reelection and just got an endorsement from former President Donald Trump amid controversy. CNN’s Isa Soares reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200527133726-trump-bolsonaro-0307-large-169.jpg”,”title”:”‘The Trump of the tropics’ gets a reelection boost”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/27/trump-endorsement-bolsonaro-brazil-election-soares-dnt-the-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/27/trump-endorsement-bolsonaro-brazil-election-soares-dnt-the-lead-vpx.cnn”,”videoId”:”world/2021/10/27/trump-endorsement-bolsonaro-brazil-election-soares-dnt-the-lead-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/27/trump-endorsement-bolsonaro-brazil-election-soares-dnt-the-lead-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D7FCCAA5-000C-5EDE-349F-C3800E8E0BD1″},{“descriptionPlainText”:”Hissah Al-Muzaini, the daughter of a former top Saudi intelligence official told CNN’s Christiane Amanpour that representatives of the Saudi government attempted to lure her to the same consulate where Jamal Khashoggi was murdered in Istanbul, as part of a series of threats against her and her family. CNN has repeatedly reached out to the Saudi Embassy in Washington and the Saudi Foreign Ministry regarding Al-Muzaini’s claims but no one was available to comment at the time of writing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211027124035-hissah-al-muzaini-amanpour-10262021-large-169.jpg”,”title”:”‘What you say is chilling’: Amanpour reacts to ‘shocking’ claim from ex-Saudi official’s daughter”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/27/hissah-al-muzaini-saudi-arabia-amanpour-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/27/hissah-al-muzaini-saudi-arabia-amanpour-intl-ldn-vpx.cnn”,”videoId”:”world/2021/10/27/hissah-al-muzaini-saudi-arabia-amanpour-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/27/hissah-al-muzaini-saudi-arabia-amanpour-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D7FCCAA5-000C-5EDE-349F-C3800E8E0BD1″},{“descriptionPlainText”:”Dramatic flash flooding in Catania on the Italian island of Sicily has seen roads turned into rivers. CNN’s Barbie Nadeau reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211027094947-video-thumbnail-italy-flooding-large-169.jpg”,”title”:”Dramatic video shows roads turned into rivers after flash rain “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/27/italy-flooding-catania-barbie-nadeau-ovn-nr-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/27/italy-flooding-catania-barbie-nadeau-ovn-nr-intl-ldn-vpx.cnn”,”videoId”:”world/2021/10/27/italy-flooding-catania-barbie-nadeau-ovn-nr-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/27/italy-flooding-catania-barbie-nadeau-ovn-nr-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_97F5DEB2-CA47-8DA1-A7B1-C178BBAB0FAF”},{“descriptionPlainText”:”Scientists may have detected signs of a planet transiting a star outside of the Milky Way, in what could be the first planet ever to be discovered outside our galaxy. CNN’s Bianca Nobilo has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211027145426-screengrab-exoplanet-large-169.jpg”,”title”:”Animation shows possible location of first planet found outside our galaxy”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/27/planet-found-in-whirlpool-galaxy-nobilo-tgb-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/27/planet-found-in-whirlpool-galaxy-nobilo-tgb-intl-hnk-vpx.cnn”,”videoId”:”world/2021/10/27/planet-found-in-whirlpool-galaxy-nobilo-tgb-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/27/planet-found-in-whirlpool-galaxy-nobilo-tgb-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F2D8C35D-BF6E-8838-BA1F-C0D8C674CEC6″},{“descriptionPlainText”:”A UN report says only six of the G20 countries promised further reductions on emission as dozens of countries have not updated pledges under the Paris Agreement. CNN’s Bill Weir reports on the world’s emission reduction progress in the leadup to the UN’s COP26 climate talks in Glasgow, Scotland.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211027125708-screengrab-un-guterres-climate-large-169.jpg”,”title”:”UN Chief: We’re on track for catastrophic temperature rise “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/27/un-climate-report-2021-antonio-guterres-weir-live-ovn-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/27/un-climate-report-2021-antonio-guterres-weir-live-ovn-intl-hnk-vpx.cnn”,”videoId”:”world/2021/10/27/un-climate-report-2021-antonio-guterres-weir-live-ovn-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/27/un-climate-report-2021-antonio-guterres-weir-live-ovn-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_E1F0C255-C5C4-F246-212F-C0778A6DABE6″},{“descriptionPlainText”:”As royal weddings go, the marriage between Japan’s now-former Princess Mako and her college sweetheart, Kei Komuro, was remarkably low-key. Amid public skepticism about the union, the pair became the first royal couple to forgo traditional marriage rites in the country’s history. CNN’s Selina Wang reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211026140313-japan-former-princess-mako-royal-wedding-kei-komuro-wang-pkg-intl-ldn-vpx-00001418-large-169.png”,”title”:”See public reaction to former Princess Mako’s wedding”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/26/japan-former-princess-mako-royal-wedding-kei-komuro-wang-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/26/japan-former-princess-mako-royal-wedding-kei-komuro-wang-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/10/26/japan-former-princess-mako-royal-wedding-kei-komuro-wang-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/26/japan-former-princess-mako-royal-wedding-kei-komuro-wang-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_CB7AC454-8B65-E73A-880B-C00F523AD158″},{“descriptionPlainText”:”Families who lost loved ones to the coronavirus pandemic in Brazil are demanding accountability for the government’s response to the crisis. CNN’s Isa Soares reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211026072546-brazil-coronavirus-families-demand-justice-soares-pkg-vpx-00025805-large-169.jpg”,”title”:”Families of Brazilian Covid victims demand justice”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/26/brazil-coronavirus-families-demand-justice-soares-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/26/brazil-coronavirus-families-demand-justice-soares-pkg-vpx.cnn”,”videoId”:”world/2021/10/26/brazil-coronavirus-families-demand-justice-soares-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/26/brazil-coronavirus-families-demand-justice-soares-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D9A484C3-D360-C8E7-1B04-BC96F68F0A81″},{“descriptionPlainText”:”Ending the use of coal is among the stated objectives of the COP26 climate summit but, in Australia, the export industry is booming. The world’s second-largest coal seller is raking in profits amid a global energy crunch. CNN’s Anna Coren looks at the country’s mining industry and its impact on climate change.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211026133118-australia-coal-holdout-climate-coren-pkg-intl-hnk-vpx-00032124-large-169.png”,”title”:”Australia pledges net zero emissions by 2050. But their coal industry is booming”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/10/26/australia-coal-holdout-climate-coren-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/10/26/australia-coal-holdout-climate-coren-pkg-intl-hnk-vpx.cnn”,”videoId”:”business/2021/10/26/australia-coal-holdout-climate-coren-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/business/2021/10/26/australia-coal-holdout-climate-coren-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_B74A770E-E487-4603-ACA5-BC429DFEE514″},{“descriptionPlainText”:”Russian President Vladimir Putin and his army of hackers are once again targeting America. CNN’s Brian Todd has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211012180436-putin-duma-1012-large-169.jpg”,”title”:”Putin’s army of hackers are targeting America”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/10/25/russia-putin-cyberattacks-threat-todd-dnt-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/10/25/russia-putin-cyberattacks-threat-todd-dnt-tsr-vpx.cnn”,”videoId”:”business/2021/10/25/russia-putin-cyberattacks-threat-todd-dnt-tsr-vpx.cnn”,”videoUrl”:”/videos/business/2021/10/25/russia-putin-cyberattacks-threat-todd-dnt-tsr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_384D96C1-5EFA-C22D-D253-BB0A8BA3C6B2″},{“descriptionPlainText”:”CNN’s Bianca Nobilo speaks with former British Prime Minister Gordon Brown, a longtime advocate for smart climate policy, on the ‘two sticking points’ facing world leaders at the upcoming UN climate conference.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211026155933-screengrab-gordon-brown-ex-uk-pm-large-169.jpg”,”title”:”Ex-UK PM: Boris Johnson’s COP26 success depends on finding these answers “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/26/gordon-brown-climate-change-cop26-sot-tgb-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/26/gordon-brown-climate-change-cop26-sot-tgb-intl-hnk-vpx.cnn”,”videoId”:”world/2021/10/26/gordon-brown-climate-change-cop26-sot-tgb-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/26/gordon-brown-climate-change-cop26-sot-tgb-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D46FD207-BFCB-3C30-9319-B9B80DA7EEF5″},{“descriptionPlainText”:”CNN’s Matt Rivers reports on the dire situation in Haiti where powerful gangs are preventing hospitals from getting the fuel they need to power generators, but Haitian lives at risk.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211025184652-haiti-hospital-fuel-shortage-large-169.jpg”,”title”:”Powerful Haiti gangs preventing hospitals from getting fuel “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/25/haiti-hospitals-fuel-gangs-rivers-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/25/haiti-hospitals-fuel-gangs-rivers-dnt-lead-vpx.cnn”,”videoId”:”world/2021/10/25/haiti-hospitals-fuel-gangs-rivers-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/25/haiti-hospitals-fuel-gangs-rivers-dnt-lead-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_23E99A65-1BC0-622F-EF55-BB8E69F56CF6″},{“descriptionPlainText”:”New Zealand Prime Minister Jacinda Ardern literally bumps a sign language interpreter out of the picture. CNN’s Jeanne Moos reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211025192559-new-zealand-pm-ardern-presser-large-169.jpg”,”title”:”Critics pounce on PM for bumping interpreter out of the way”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/25/new-zealand-interpreter-moos-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/25/new-zealand-interpreter-moos-pkg-vpx.cnn”,”videoId”:”world/2021/10/25/new-zealand-interpreter-moos-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/25/new-zealand-interpreter-moos-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5BB57294-80A8-3798-FE92-B98E388AE672″},{“descriptionPlainText”:”Sudan’s military dissolved its power-sharing government and declared a state of emergency Monday, catapulting the country into its biggest political crisis in its two-year-old transition.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211025061025-05-sudan-unrest-10-25-2021-protesters-large-169.jpg”,”title”:”Sudan’s military dissolves power-sharing government in coup”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/25/sudan-military-coup-protests-elbagir-ctw-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/25/sudan-military-coup-protests-elbagir-ctw-intl-vpx.cnn”,”videoId”:”world/2021/10/25/sudan-military-coup-protests-elbagir-ctw-intl-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/25/sudan-military-coup-protests-elbagir-ctw-intl-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_532C2459-7E20-44EA-B0CB-B9BC54A6367F”},{“descriptionPlainText”:”Although the 17 missionaries from the US and Canada who were kidnapped in Haiti are generating international headlines, it’s Haitians who bear most of the brunt of this brutal gang practice. CNN’s Joe Johns spoke to one girl who was taken in the same neighborhood as the missionaries.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211025170518-screengrab-johns-haitian-girl-3-large-169.jpg”,”title”:”15-year-old details harrowing days as captive to ruthless gang”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/25/haiti-child-kidnapping-johns-pkg-ovn-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/25/haiti-child-kidnapping-johns-pkg-ovn-intl-hnk-vpx.cnn”,”videoId”:”world/2021/10/25/haiti-child-kidnapping-johns-pkg-ovn-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/25/haiti-child-kidnapping-johns-pkg-ovn-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_4BF68418-A874-C20B-FACF-B85DF1630FCF”},{“descriptionPlainText”:”The Chinese government has responded swiftly to a Twitter video by Boston Celtics player Enes Kanter, who called Chinese President Xi Jinping a “brutal dictator” over Beijing’s treatment of Tibet. CNN’s David Culvert reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211025075355-enes-kanter-large-169.jpg”,”title”:”NBA’s Enes Kanter calls out China’s government again”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/25/chinese-government-reaction-nba-enes-kanter-comments-dnt-culver-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/25/chinese-government-reaction-nba-enes-kanter-comments-dnt-culver-newday-vpx.cnn”,”videoId”:”world/2021/10/25/chinese-government-reaction-nba-enes-kanter-comments-dnt-culver-newday-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/25/chinese-government-reaction-nba-enes-kanter-comments-dnt-culver-newday-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1FAB02CE-0DE0-61E6-42DE-B69D74F05C1A”}],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:”world/2021/10/27/trump-endorsement-bolsonaro-brazil-election-soares-dnt-the-lead-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-1wy0j46’,videoDescriptionDivId: ‘js-video_description-1wy0j46’,videoDurationDivId: ‘js-video_duration-1wy0j46’,videoTitleDivId: ‘js-leaf-video_headline-1wy0j46’,videoSourceDivId: ‘js-video_sourceName-1wy0j46’});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 : Cnn