World

This cricket player is Pakistan’s new prime minister

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2018/07/26/imran-khan-prime-minister-cricket-player-orig-mkd.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/180725131053-09-pakistan-voting-0725-imran-khan-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180725131053-09-pakistan-voting-0725-imran-khan-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180725131053-09-pakistan-voting-0725-imran-khan-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180725131053-09-pakistan-voting-0725-imran-khan-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180725131053-09-pakistan-voting-0725-imran-khan-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180725131053-09-pakistan-voting-0725-imran-khan-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180725131053-09-pakistan-voting-0725-imran-khan-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Imran Khan has claimed victory as Pakistan’s new prime minister. CNN looks at how he turned from cricketer, to politician.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180725131053-09-pakistan-voting-0725-imran-khan-large-169.jpg”,”title”:”Is this cricketeer Pakistan’s next prime minister?”,”videoCMSUrl”:”/videos/world/2018/07/26/imran-khan-prime-minister-cricket-player-orig-mkd.cnn”,”videoLeafUrl”:”/videos/world/2018/07/26/imran-khan-prime-minister-cricket-player-orig-mkd.cnn”,”videoId”:”world/2018/07/26/imran-khan-prime-minister-cricket-player-orig-mkd.cnn”,”videoUrl”:”/videos/world/2018/07/26/imran-khan-prime-minister-cricket-player-orig-mkd.cnn”},{“descriptionPlainText”:”From the summit in Helsinki to an interview on CBS News, here’s the contradicting things Trump has said about Russia in the past three days.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180717092045-33-helsinki-summit-0716-trump-putin-large-169.jpg”,”title”:”Listen to Trump’s shifting comments about Russia”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/07/18/trump-russia-comments-orig-acl.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/07/18/trump-russia-comments-orig-acl.cnn”,”videoId”:”politics/2018/07/18/trump-russia-comments-orig-acl.cnn”,”videoUrl”:”/videos/politics/2018/07/18/trump-russia-comments-orig-acl.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”A South Korean firm has said it has found a Russian warship scuttled in 1905, which may still carry a billion-dollar fortune in gold.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180719125724-01-sunken-russian-ship-large-169.jpg”,”title”:”Sunken Russian warship may hold a golden fortune”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/19/sunken-russian-warship-donskoii-south-korea-gold-fortune.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/19/sunken-russian-warship-donskoii-south-korea-gold-fortune.cnn”,”videoId”:”world/2018/07/19/sunken-russian-warship-donskoii-south-korea-gold-fortune.cnn”,”videoUrl”:”/videos/world/2018/07/19/sunken-russian-warship-donskoii-south-korea-gold-fortune.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Nearly 100 people were forced to leave their homes in Sweden, as dozens of forest fires rage across the country.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180719095128-01-sweden-fires-0715-large-169.jpg”,”title”:”Sweden fires rage as far north as Arctic Circle”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/19/sweden-forest-fires-sdg-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/19/sweden-forest-fires-sdg-lon-orig.cnn”,”videoId”:”world/2018/07/19/sweden-forest-fires-sdg-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/07/19/sweden-forest-fires-sdg-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Airbus’s massive plane just completed its first test flight, but you probably won’t get to fly in it. It’s mostly for transporting airplane parts.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180719185318-03-beluga-plane-large-169.jpg”,”title”:”The Beluga XL ‘flying whale’ takes off”,”videoCMSUrl”:”/video/data/3.0/video/travel-play/2018/07/20/beluga-xl-test-flight-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel-play/2018/07/20/beluga-xl-test-flight-orig.cnn”,”videoId”:”travel-play/2018/07/20/beluga-xl-test-flight-orig.cnn”,”videoUrl”:”/videos/travel-play/2018/07/20/beluga-xl-test-flight-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Russian President Vladimir Putin has vehemently denied accusations that his country interfered in the 2016 presidential election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180716112412-08-helsinki-presser-0716-large-169.jpg”,”title”:”What Putin says about interfering in US elections”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/07/09/president-putin-statements-on-election-interference-vstat-orig-jm.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/07/09/president-putin-statements-on-election-interference-vstat-orig-jm.cnn”,”videoId”:”politics/2018/07/09/president-putin-statements-on-election-interference-vstat-orig-jm.cnn”,”videoUrl”:”/videos/politics/2018/07/09/president-putin-statements-on-election-interference-vstat-orig-jm.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Dozens of people have been killed and hundreds of thousands forced to flee their homes after days of heavy rain pounded southwest Japan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180716090725-01-japan-hot-weather-flood-aftermath-restricted-large-169.jpg”,”title”:”More than 200 dead as heavy rain pounds Japan”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/09/japan-floods-lon-orig-jba.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/09/japan-floods-lon-orig-jba.cnn”,”videoId”:”world/2018/07/09/japan-floods-lon-orig-jba.cnn”,”videoUrl”:”/videos/world/2018/07/09/japan-floods-lon-orig-jba.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”A dramatic rescue operation freed a humpback whale trapped in a shark net off Australia’s Gold Coast.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180716153128-whale-rescue-1-large-169.jpg”,”title”:”Australian rescuers free whale from shark net”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/16/whale-rescue-lon-orig-td.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/16/whale-rescue-lon-orig-td.cnn”,”videoId”:”world/2018/07/16/whale-rescue-lon-orig-td.cnn”,”videoUrl”:”/videos/world/2018/07/16/whale-rescue-lon-orig-td.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”US President Donald Trump wrapped up the official portion of his United Kingdom visit, during which he met Prime Minister Theresa May and had tea with the Queen.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180713211528-trump-queen-smile-large-169.jpg”,”title”:”Trump’s UK visit in under 2 minutes”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/13/trump-uk-visit-wrap-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/13/trump-uk-visit-wrap-lon-orig-bks.cnn”,”videoId”:”world/2018/07/13/trump-uk-visit-wrap-lon-orig-bks.cnn”,”videoUrl”:”/videos/world/2018/07/13/trump-uk-visit-wrap-lon-orig-bks.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”For the first time, scientists have been able to trace the origins of a ghostly subatomic particle that traveled 3.7 billion light-years to Earth.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180712173553-neutrino-large-169.jpg”,”title”:”Origin of ‘ghost particle’ found”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/12/neutrino-ghost-particle-antarctica-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/12/neutrino-ghost-particle-antarctica-lon-orig-bks.cnn”,”videoId”:”world/2018/07/12/neutrino-ghost-particle-antarctica-lon-orig-bks.cnn”,”videoUrl”:”/videos/world/2018/07/12/neutrino-ghost-particle-antarctica-lon-orig-bks.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Remarkable video released by the Thai Navy SEALs shows the rescue operation to bring the Wild Boar soccer team out of Thailand’s Tham Luang cave.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180711184126-thailand-inside-cave-large-169.jpg”,”title”:”Video shows Thai boys’ rescue from cave”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/11/thai-cave-soccer-team-rescue-operation-new-video-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/11/thai-cave-soccer-team-rescue-operation-new-video-lon-orig.cnn”,”videoId”:”world/2018/07/11/thai-cave-soccer-team-rescue-operation-new-video-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/07/11/thai-cave-soccer-team-rescue-operation-new-video-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Dozens have died after multiple boats off the coast of Phuket, Thailand capsized in a violent storm.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180706094154-08-thailand-boat-capsize-large-169.jpg”,”title”:”Dozens dead as Phuket tourist boats capsize”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/06/phuket-thailand-tourist-boat-capsize-lon-orig-jba.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/06/phuket-thailand-tourist-boat-capsize-lon-orig-jba.cnn”,”videoId”:”world/2018/07/06/phuket-thailand-tourist-boat-capsize-lon-orig-jba.cnn”,”videoUrl”:”/videos/world/2018/07/06/phuket-thailand-tourist-boat-capsize-lon-orig-jba.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”French President Emmanuel Macron took to the stage for a short jig while on a two-day trip to Nigeria in July.”,”imageUrl”:””,”title”:”See France’s President Macron dance on stage”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/05/macron-nigeria-lagos-dance-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/05/macron-nigeria-lagos-dance-jba-lon-orig.cnn”,”videoId”:”world/2018/07/05/macron-nigeria-lagos-dance-jba-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/07/05/macron-nigeria-lagos-dance-jba-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Two massive sinkholes opened up in Lahore, after relentless rain flooded the Pakistani city.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180705135638-lahore-sinkhole-02-large-169.jpg”,”title”:”Monsoon rains create massive sinkhole”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/05/pakistan-sinkhole-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/05/pakistan-sinkhole-lon-orig-bks.cnn”,”videoId”:”world/2018/07/05/pakistan-sinkhole-lon-orig-bks.cnn”,”videoUrl”:”/videos/world/2018/07/05/pakistan-sinkhole-lon-orig-bks.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”A 50m section of road in Sichuan province, China collapsed following days of heavy rain.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180703032340-china-sichuan-road-collapse-jba-lon-orig-00001421-large-169.jpg”,”title”:”Road collapse caught on camera”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/07/02/china-sichuan-road-collapse-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/07/02/china-sichuan-road-collapse-jba-lon-orig.cnn”,”videoId”:”world/2018/07/02/china-sichuan-road-collapse-jba-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/07/02/china-sichuan-road-collapse-jba-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”For 15 years, Recep Tayyip Erdogan has dominated Turkish politics with his Justice and Development party — the AKP. So just how has he done it?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180619164108-02-turkish-elections-erdogan-tease-large-169.jpg”,”title”:”The Erdogan effect: How one man shaped Turkey”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/06/22/what-to-know-about-recep-tayyip-erdogan-turkey-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/06/22/what-to-know-about-recep-tayyip-erdogan-turkey-lon-orig.cnn”,”videoId”:”world/2018/06/22/what-to-know-about-recep-tayyip-erdogan-turkey-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/06/22/what-to-know-about-recep-tayyip-erdogan-turkey-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”The Kilauea volcano in Hawaii erupted in May, but lava is still flowing into the ocean.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180615140742-volcano-1-large-169.jpg”,”title”:”Hawaii lava flow seen from the air”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/06/15/hawaii-volcano-lava-ocean-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/06/15/hawaii-volcano-lava-ocean-lon-orig-bks.cnn”,”videoId”:”world/2018/06/15/hawaii-volcano-lava-ocean-lon-orig-bks.cnn”,”videoUrl”:”/videos/world/2018/06/15/hawaii-volcano-lava-ocean-lon-orig-bks.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Australian performance artist Mike Parr buried himself under a road in Hobart, Tasmania. He will remain underground for 72 hours with no food, only water.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180615111054-01-mike-parr-large-169.jpg”,”title”:”Artist buries himself under road for 3 days”,”videoCMSUrl”:”/video/data/3.0/video/arts/2018/06/15/australia-mike-parr-road-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/arts/2018/06/15/australia-mike-parr-road-lon-orig.cnn”,”videoId”:”arts/2018/06/15/australia-mike-parr-road-lon-orig.cnn”,”videoUrl”:”/videos/arts/2018/06/15/australia-mike-parr-road-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”A bizarre fashion show in a Saudi Arabia’s luxury hotel has become a viral sensation on social media for featuring drones flying fashion dresses on the runway.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180607132021-02-saudi-arabia-drone-fashion-show-crop-large-169.jpg”,”title”:”Drones on runway in Saudi fashion show”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/06/07/saudi-arabia-fashion-show-drones-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/06/07/saudi-arabia-fashion-show-drones-lon-orig.cnn”,”videoId”:”world/2018/06/07/saudi-arabia-fashion-show-drones-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/06/07/saudi-arabia-fashion-show-drones-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Five unusual-looking concrete houses will be constructed using a 3D printer in Eindhoven, the Netherlands.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180606155458-3d-houses-netherlands-3-large-169.jpg”,”title”:”Watch these 3D-printed homes being built”,”videoCMSUrl”:”/video/data/3.0/video/architecture/2018/06/06/3d-printed-houses-netherlands-sje-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/architecture/2018/06/06/3d-printed-houses-netherlands-sje-lon-orig.cnn”,”videoId”:”architecture/2018/06/06/3d-printed-houses-netherlands-sje-lon-orig.cnn”,”videoUrl”:”/videos/architecture/2018/06/06/3d-printed-houses-netherlands-sje-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Find out why this small strip of land has been through so many conflicts and political upheavals since the end of World War II.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180515200030-gaza-protest-thumbnail-large-169.jpg”,”title”:”The history of Gaza in 2 minutes”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/15/history-of-gaza-sje-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/15/history-of-gaza-sje-lon-orig.cnn”,”videoId”:”world/2018/05/15/history-of-gaza-sje-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/05/15/history-of-gaza-sje-lon-orig.cnn/video/playlists/trending-video/”}],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,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 = 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/2018/07/26/imran-khan-prime-minister-cricket-player-orig-mkd.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-20ipk3k’,videoDescriptionDivId: ‘js-video_description-20ipk3k’,videoDurationDivId: ‘js-video_duration-20ipk3k’,videoTitleDivId: ‘js-leaf-video_headline-20ipk3k’,videoSourceDivId: ‘js-video_sourceName-20ipk3k’});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(‘