China orders US consulate in Chengdu to cease operations in retaliation for Houston closure – CNN Video

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2020/07/24/china-orders-us-consulate-in-chengdu-to-close-retaliation-houston-intl-hnk-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/200724000416-01-us-consulate-chengdu-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200724000416-01-us-consulate-chengdu-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200724000416-01-us-consulate-chengdu-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200724000416-01-us-consulate-chengdu-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200724000416-01-us-consulate-chengdu-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200724000416-01-us-consulate-chengdu-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200724000416-01-us-consulate-chengdu-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”China’s Ministry of Foreign Affairs has ordered the closure of the US consulate in Chengdu days after the US forced the Chinese consulate in Houston to cease operations. CNN’s Kristie Lu Stout reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200724000416-01-us-consulate-chengdu-large-169.jpg”,”title”:”Why did China choose the Chengdu consulate to retaliate?”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/24/china-orders-us-consulate-in-chengdu-to-close-retaliation-houston-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/24/china-orders-us-consulate-in-chengdu-to-close-retaliation-houston-intl-hnk-vpx.cnn”,”videoId”:”world/2020/07/24/china-orders-us-consulate-in-chengdu-to-close-retaliation-houston-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/24/china-orders-us-consulate-in-chengdu-to-close-retaliation-houston-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5FCF4059-4423-723E-3992-7ED0AE080F01″},{“descriptionPlainText”:”Sweden’s State Epidemiologist Anders Tegnell tells CNN’s Christiane Amanpour that, despite the country’s high mortality rate, the no-lockdown strategy has “served us very well.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200723200226-anders-tegnell-large-169.jpg”,”title”:”‘No proof,’ Official defends Sweden’s controversial Covid-19 move”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/24/sweden-anders-tegnell-coronavirus-response-amanpour-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/24/sweden-anders-tegnell-coronavirus-response-amanpour-sot-vpx.cnn”,”videoId”:”world/2020/07/24/sweden-anders-tegnell-coronavirus-response-amanpour-sot-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/24/sweden-anders-tegnell-coronavirus-response-amanpour-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_7958D5F7-081D-6290-93BD-800E729CC9A5″},{“descriptionPlainText”:”Criminal defense attorney Janet Johnson explains the trial in Germany for a 93-year-old former Nazi guard charged with over thousands of murders.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200723114314-01-nazi-guard-trial-0723-large-169.jpg”,”title”:”93-year-old former Nazi guard on trial for murder (2019)”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/10/19/93-year-old-former-nazi-guard-on-trial-for-murder-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/10/19/93-year-old-former-nazi-guard-on-trial-for-murder-ndwknd-vpx.cnn”,”videoId”:”world/2019/10/19/93-year-old-former-nazi-guard-on-trial-for-murder-ndwknd-vpx.cnn”,”videoUrl”:”/videos/world/2019/10/19/93-year-old-former-nazi-guard-on-trial-for-murder-ndwknd-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_604290DD-59A5-1ED1-D86E-80D3EA7072AC”},{“descriptionPlainText”:”US Secretary of State Mike Pompeo addressed the United States’ closure of the Chinese consulate in Houston, Texas, saying the US would “take actions that protect the American people, protect our security, our national security.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200722140135-mike-pompeo-china-houston-texas-consulate-closure-large-169.jpg”,”title”:”Pompeo addresses order to close China’s Houston consulate”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/07/22/china-us-houston-consulate-mike-pompeo-culver-nd-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/07/22/china-us-houston-consulate-mike-pompeo-culver-nd-ldn-vpx.cnn”,”videoId”:”politics/2020/07/22/china-us-houston-consulate-mike-pompeo-culver-nd-ldn-vpx.cnn”,”videoUrl”:”/videos/politics/2020/07/22/china-us-houston-consulate-mike-pompeo-culver-nd-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_BDC6D464-F44E-B8AB-6869-833BC23B7FF9″},{“descriptionPlainText”:”CNN’s Scott McLean speaks with Yaseen Aslam, the lead claimant in a UK-based lawsuit against ride-hailing giant Uber. Aslam accuses the company of paying lip service to racial equality while failing to ensure equality for their drivers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200721120103-uber-uk-ethnic-workers-gig-economy-black-lives-matter-protests-mclean-pkg-intl-ldn-vpx-00000726-large-169.jpg”,”title”:”UK driver accuses Uber of paying lip service to racial equality”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/07/21/uber-uk-ethnic-workers-gig-economy-black-lives-matter-protests-mclean-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/07/21/uber-uk-ethnic-workers-gig-economy-black-lives-matter-protests-mclean-pkg-intl-ldn-vpx.cnn”,”videoId”:”business/2020/07/21/uber-uk-ethnic-workers-gig-economy-black-lives-matter-protests-mclean-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/business/2020/07/21/uber-uk-ethnic-workers-gig-economy-black-lives-matter-protests-mclean-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_695C950B-0CF3-D461-A609-7D100DEE895F”},{“descriptionPlainText”:”Densely-populated Rwanda is emerging as one nation that has effectively managed coronavirus. But its success dealing with the pandemic began long before the virus emerged. CNN’s Stephanie Busari reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200722100258-rwanda-africa-coronavirus-covid-19-pandemic-testing-tracing-technology-busari-lkl-intl-ldn-vpx-00011528-large-169.jpg”,”title”:”How Rwanda is successfully dealing with coronavirus”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/22/rwanda-africa-coronavirus-covid-19-pandemic-testing-tracing-technology-busari-lkl-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/22/rwanda-africa-coronavirus-covid-19-pandemic-testing-tracing-technology-busari-lkl-intl-ldn-vpx.cnn”,”videoId”:”world/2020/07/22/rwanda-africa-coronavirus-covid-19-pandemic-testing-tracing-technology-busari-lkl-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/22/rwanda-africa-coronavirus-covid-19-pandemic-testing-tracing-technology-busari-lkl-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_ABA03303-948B-4BE2-CF06-808C78BF9346″},{“descriptionPlainText”:”The family of Harry Dunn, the British teenager who was killed in a motorcycle accident involving a US diplomat’s wife, are pursuing legal claims against the Trump administration.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191111122744-tim-dunn-harry-dunn-father-lawyer-large-169.jpg”,”title”:”Harry Dunn’s family discuss legal claims against Trump administration (December 2019)”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/11/harry-dunn-family-legal-claim-trump-tim-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/11/harry-dunn-family-legal-claim-trump-tim-sot-vpx.cnn”,”videoId”:”world/2019/11/11/harry-dunn-family-legal-claim-trump-tim-sot-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/11/harry-dunn-family-legal-claim-trump-tim-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_4D26ACC4-4467-8FFF-FAC7-7FE40B304ABB”},{“descriptionPlainText”:”CNN’s Nick Paton Walsh breaks down a recently released report that reveals the UK failed to investigate allegations of a Kremlin-sponsored influence campaign during the 2016 Brexit referendum.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200721080906-nick-paton-walsh-uk-large-169.jpg”,”title”:”UK report reveals new information on Russian meddling”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/21/uk-russia-report-brexit-newday-npw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/21/uk-russia-report-brexit-newday-npw-vpx.cnn”,”videoId”:”world/2020/07/21/uk-russia-report-brexit-newday-npw-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/21/uk-russia-report-brexit-newday-npw-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5FCF4059-4423-723E-3992-7ED0AE080F01″},{“descriptionPlainText”:”Widespread flooding caused by continuous heavy monsoon rains have been ravaging Asia: Home and farms are under water in Bangladesh and India; Banks of China’s main river are under strain. CNN’s Paula Hancocks reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200720112212-asia-floods-india-bangladesh-china-hancocks-pkg-intl-hnk-vpx-00020923-large-169.jpg”,”title”:”India, Bangladesh battered by monsoon floods”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/20/asia-floods-india-bangladesh-china-hancocks-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/20/asia-floods-india-bangladesh-china-hancocks-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2020/07/20/asia-floods-india-bangladesh-china-hancocks-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/20/asia-floods-india-bangladesh-china-hancocks-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_50765C6E-6B84-0350-3BA9-7E2618170F30″},{“descriptionPlainText”:”Boris Johnson’s first trip to Scotland since becoming prime minister was intended as an effort to shore up Union ties. But many Scots approve of First Minister Nicola Sturgeon’s cautious approach to the coronavirus pandemic, which could have implications for Scotland’s independence movement. Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200514091848-nicola-sturgeon-boris-johnson-split-large-169.jpg”,”title”:”Scotland’s Covid-19 approach is fueling independence movement”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/24/scotland-independence-covid-19-pandemic-boris-johnson-nicola-sturgeon-robertson-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/24/scotland-independence-covid-19-pandemic-boris-johnson-nicola-sturgeon-robertson-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/07/24/scotland-independence-covid-19-pandemic-boris-johnson-nicola-sturgeon-robertson-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/24/scotland-independence-covid-19-pandemic-boris-johnson-nicola-sturgeon-robertson-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_7AD66594-55F0-3D5F-474B-E3EA9C1D34EB”},{“descriptionPlainText”:”Harry and Meghan, the Duke and Duchess of Sussex, are suing over paparazzi photographs of their toddler son, Archie, their lawyer said in a statement. The lawsuit was filed in California, where the family now lives.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200109105724-18-harry-meghan-large-169.jpg”,”title”:”Harry and Meghan suing over pictures of Archie”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/24/harry-meghan-sue-pictures-of-son-archie-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/24/harry-meghan-sue-pictures-of-son-archie-mxp-vpx.hln”,”videoId”:”world/2020/07/24/harry-meghan-sue-pictures-of-son-archie-mxp-vpx.hln”,”videoUrl”:”/videos/world/2020/07/24/harry-meghan-sue-pictures-of-son-archie-mxp-vpx.hln/video/playlists/around-the-world/”,”surrogateKey”:”video_2AB218B0-1E4B-A647-DAB1-76920AAFB249″},{“descriptionPlainText”:”The new Netflix series “Indian Matchmaking” brings to light an ancient tradition that is still going on today.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200721104030-restricted-04-indian-matchmaking-large-169.jpg”,”title”:”Why the Netflix show ‘Indian Matchmaking’ is causing a stir”,”videoCMSUrl”:”/video/data/3.0/video/media/2020/07/24/indian-matchmaking-netflix-orig-mss.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2020/07/24/indian-matchmaking-netflix-orig-mss.cnn”,”videoId”:”media/2020/07/24/indian-matchmaking-netflix-orig-mss.cnn”,”videoUrl”:”/videos/media/2020/07/24/indian-matchmaking-netflix-orig-mss.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_603A650E-1C71-8F7A-63DC-70F21BF26CDC”},{“descriptionPlainText”:”The two siblings, aged three and ten, escaped a fire that broke out, according to CNN affiliate BFMTV.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200723104049-01-french-apartment-fire-children-video-scli-intl-large-169.jpg”,”title”:”Crowd saves two children from burning building”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/23/crowd-catches-children-from-burning-building-france-lon-orig-na.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/23/crowd-catches-children-from-burning-building-france-lon-orig-na.cnn”,”videoId”:”world/2020/07/23/crowd-catches-children-from-burning-building-france-lon-orig-na.cnn”,”videoUrl”:”/videos/world/2020/07/23/crowd-catches-children-from-burning-building-france-lon-orig-na.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9C43957A-6EB6-7FE1-97AE-75B4709B9A66″},{“descriptionPlainText”:”CNN’s Sam Kiley explains renewed tensions between Iran and the US after a US fighter jet did a fly by inspection of an Iranian passenger plane.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200724073553-us-jet-iranian-plane-fly-by-large-169.jpg”,”title”:”See US fighter jet fly close by Iranian passenger plane”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/07/24/iranian-plane-us-jet-fly-by-kiley-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/07/24/iranian-plane-us-jet-fly-by-kiley-newday-vpx.cnn”,”videoId”:”us/2020/07/24/iranian-plane-us-jet-fly-by-kiley-newday-vpx.cnn”,”videoUrl”:”/videos/us/2020/07/24/iranian-plane-us-jet-fly-by-kiley-newday-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_23FBE3D7-8B33-0417-0183-5BD9EDB05E43″},{“descriptionPlainText”:”The Hagia Sophia will hold Friday prayers for the first time in more than 80 years after Turkish President Recep Tayyip Erdogan ordered its conversion into a mosque. A Turkish court annulled the 1934 presidential decree which made it a museum. CNN’s Arwa Damon reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200724092846-hagia-sophia-mosque-turkey-istanbul-recep-erdogan-damon-intl-ldn-vpx-00000610-large-169.jpg”,”title”:”See inside Turkey’s Hagia Sophia as it is set to resume Friday prayers”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/24/hagia-sophia-mosque-turkey-istanbul-recep-erdogan-damon-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/24/hagia-sophia-mosque-turkey-istanbul-recep-erdogan-damon-intl-ldn-vpx.cnn”,”videoId”:”world/2020/07/24/hagia-sophia-mosque-turkey-istanbul-recep-erdogan-damon-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/24/hagia-sophia-mosque-turkey-istanbul-recep-erdogan-damon-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_6AA45E19-151F-3C2C-45D3-71257AD60985″}],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/2020/07/24/china-orders-us-consulate-in-chengdu-to-close-retaliation-houston-intl-hnk-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-cvlyx2’,videoDescriptionDivId: ‘js-video_description-cvlyx2’,videoDurationDivId: ‘js-video_duration-cvlyx2’,videoTitleDivId: ‘js-leaf-video_headline-cvlyx2’,videoSourceDivId: ‘js-video_sourceName-cvlyx2’});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(‘

Disclaimer: Some Of The Offers Promoted On This Site Are Affiliate Offers... We May Be Getting Compensated For Referring You To These Offers.

Leave a Reply