Taiwan could be President Biden’s biggest test

‘);$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/11/china-taiwan-tension-biden-xi-military-ripley-ctw-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/211009212746-01-taiwan-national-day-10-10-2021-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211009212746-01-taiwan-national-day-10-10-2021-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211009212746-01-taiwan-national-day-10-10-2021-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211009212746-01-taiwan-national-day-10-10-2021-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211009212746-01-taiwan-national-day-10-10-2021-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211009212746-01-taiwan-national-day-10-10-2021-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211009212746-01-taiwan-national-day-10-10-2021-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Will Ripley looks at the current state of tensions between China mainland and Taiwan, and where the United States fits in.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211009212746-01-taiwan-national-day-10-10-2021-large-169.jpg”,”title”:”Biden’s balancing act amid tensions between mainland China and Taiwan”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/11/china-taiwan-tension-biden-xi-military-ripley-ctw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/11/china-taiwan-tension-biden-xi-military-ripley-ctw-vpx.cnn”,”videoId”:”world/2021/10/11/china-taiwan-tension-biden-xi-military-ripley-ctw-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/11/china-taiwan-tension-biden-xi-military-ripley-ctw-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_66FE6A8C-D6F1-BA5B-7595-6FF6ED9BF89B”},{“descriptionPlainText”:”The FBI has arrested and charged a Maryland couple with attempting to sell US nuclear secrets to another country in exchange for cryptocurrency, according to a Department of Justice statement. CNN’s Jessica Schneider reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211012130204-screengrab-us-nuclear-submarine-large-169.jpg”,”title”:”Couple accused of trying to sell nuclear secrets hidden in peanut butter sandwich”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/10/11/us-navy-nuclear-submarine-secrets-ovn-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/10/11/us-navy-nuclear-submarine-secrets-ovn-hnk-vpx.cnn”,”videoId”:”us/2021/10/11/us-navy-nuclear-submarine-secrets-ovn-hnk-vpx.cnn”,”videoUrl”:”/videos/us/2021/10/11/us-navy-nuclear-submarine-secrets-ovn-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_66FE6A8C-D6F1-BA5B-7595-6FF6ED9BF89B”},{“descriptionPlainText”:”CNN’s Clarissa Ward reports from Ghazni, Afghanistan, on the reality of the Taliban’s new regime of justice in Afghanistan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211011151016-video-thumbnail-clarissa-ward-pkg-large-169.jpeg”,”title”:”The Taliban have Afghanistan’s justice system in their hands. CNN shows what it’s like”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/11/afghanistan-brutal-justice-ghazni-clarissa-ward-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/11/afghanistan-brutal-justice-ghazni-clarissa-ward-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/10/11/afghanistan-brutal-justice-ghazni-clarissa-ward-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/11/afghanistan-brutal-justice-ghazni-clarissa-ward-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_C8E27688-3339-DE53-E2E1-6E38A3EE6E6B”},{“descriptionPlainText”:”CNN’s Jomana Karadsheh reports as Idlib province in northwest Syria is ravaged by a Covid-19 outbreak.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211011105223-white-helmets-syria-large-169.jpg”,”title”:”‘We felt the danger’: Syria hit hard by Delta variant”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/11/syria-covid-19-idlib-province-karadsheh-intl-ctw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/11/syria-covid-19-idlib-province-karadsheh-intl-ctw-vpx.cnn”,”videoId”:”world/2021/10/11/syria-covid-19-idlib-province-karadsheh-intl-ctw-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/11/syria-covid-19-idlib-province-karadsheh-intl-ctw-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1B2E0E9E-6B0E-AB69-428B-6E3AB3B92671″},{“descriptionPlainText”:”Organizers say about 100,000 people turned out in Warsaw, Poland, to show their support for the country’s membership in the EU, after the country’s highest court handed down a decision that challenged the primacy of European law. CNN’s Kim Brunhuber reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211011124306-screengrab-anti-polexit-rally-large-169.jpg”,”title”:”Massive crowds rally over fears of ‘Polexit’ “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/11/poland-polexit-eu-rally-brunhuber-ovn-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/11/poland-polexit-eu-rally-brunhuber-ovn-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/10/11/poland-polexit-eu-rally-brunhuber-ovn-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/11/poland-polexit-eu-rally-brunhuber-ovn-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_FED2FE7C-E546-78B8-8DA2-6FC719F8F229″},{“descriptionPlainText”:”One major city that is emerging from Covid-19 lockdowns is Sydney. More than five million people have endured a strict lockdown since June, but Australian officials lifted measures after hitting a 70% vaccination rate. CNN’s Angus Watson has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191014053629-sydney-skyline-large-169.jpg”,”title”:”‘Sense of relief’ sweeps across Sydney as Covid lockdown eases”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/11/sydney-australia-covid-lockdown-watson-intl-ovn-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/11/sydney-australia-covid-lockdown-watson-intl-ovn-sot-vpx.cnn”,”videoId”:”world/2021/10/11/sydney-australia-covid-lockdown-watson-intl-ovn-sot-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/11/sydney-australia-covid-lockdown-watson-intl-ovn-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D74D91B5-8BCF-4E0C-0F9E-6D97682C03E8″},{“descriptionPlainText”:”As China ramps up the military pressure with a record surge of air incursions into Taiwan’s defense zone, Taiwan marks its national day with performances and rollouts of new weapons. President Tsai Ing-wen also delivered a major policy speech. CNN’s Will Ripley reports from Taipei, Taiwan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211011144514-taiwan-military-parade-ripley-intl-hnk-vpx-00002610-large-169.png”,”title”:”Taiwan showcases homegrown missiles on national day “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/11/taiwan-military-parade-ripley-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/11/taiwan-military-parade-ripley-intl-hnk-vpx.cnn”,”videoId”:”world/2021/10/11/taiwan-military-parade-ripley-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/11/taiwan-military-parade-ripley-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5DD866C6-C80F-F057-E52B-6D4214FB39DC”},{“descriptionPlainText”:”A performer at Moscow’s renowned Bolshoi Theatre was killed in an accident on stage during an opera. CNN’s Matthew Chance reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211010093010-02-bolshoi-theatre-performer-killed-intl-hnk-large-169.jpg”,”title”:”Russian performer killed in accident on stage during opera”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/10/performer-killed-accident-moscow-bolshoi-theatre-sot-vpx-nr-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/10/performer-killed-accident-moscow-bolshoi-theatre-sot-vpx-nr-intl.cnn”,”videoId”:”world/2021/10/10/performer-killed-accident-moscow-bolshoi-theatre-sot-vpx-nr-intl.cnn”,”videoUrl”:”/videos/world/2021/10/10/performer-killed-accident-moscow-bolshoi-theatre-sot-vpx-nr-intl.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D2737ED4-22F5-A5D0-BB23-6E08219DBB18″},{“descriptionPlainText”:”Conservationists in the UK are warning that important sand dune habitats are being severely impacted by changing weather patterns and more intense storms. In some parts of the country, coastal erosion is so bad that more than 65 feet of coastline are at risk of retreating in the next two decades. Salma Abdelaziz reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211010105130-uk-coastline-pkg-vpx-large-169.jpg”,”title”:”England’s coastline shifting rapidly due to climate crisis”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/10/uk-coastline-erosion-climate-crisis-abdelaziz-pkg-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/10/uk-coastline-erosion-climate-crisis-abdelaziz-pkg-intl-vpx.cnn”,”videoId”:”world/2021/10/10/uk-coastline-erosion-climate-crisis-abdelaziz-pkg-intl-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/10/uk-coastline-erosion-climate-crisis-abdelaziz-pkg-intl-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_8B76AB69-4A1D-CA9F-B166-6C265CB29C8C”},{“descriptionPlainText”:”Buildings near the volcano on the Spanish island of La Palma were engulfed by rivers of lava. Reuters captured video of one home surrounded by lava.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211009120705-la-palma-lava-home-october-9-2021-for-video-large-169.jpg”,”title”:”River of volcanic lava engulfs home”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/09/la-palma-volcano-lava-homes-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/09/la-palma-volcano-lava-homes-sot-nr-vpx.cnn”,”videoId”:”world/2021/10/09/la-palma-volcano-lava-homes-sot-nr-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/09/la-palma-volcano-lava-homes-sot-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F19C4062-F091-7108-7BCF-6A586384F97E”},{“descriptionPlainText”:”A suicide blast ripped through a Shia mosque in northern Afghanistan Friday, killing 46 people and injuring 143 others, provincial spokesman Matiullah Rohani told CNN.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211008081219-02-kunduz-afghanistan-mosque-attack-1008-large-169.jpg”,”title”:”Shia mosque in Afghanistan devastated by explosion “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/08/explosion-at-mosque-in-afghanistan-ward-ctw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/08/explosion-at-mosque-in-afghanistan-ward-ctw-vpx.cnn”,”videoId”:”world/2021/10/08/explosion-at-mosque-in-afghanistan-ward-ctw-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/08/explosion-at-mosque-in-afghanistan-ward-ctw-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9694D4C2-3AB4-3FF5-5EDB-65C106EACF15″},{“descriptionPlainText”:”The Amazon rainforest is at severe risk from deforestation and fires that are eroding the forest’s ability to absorb heat-trapping greenhouse gas that contributes to global warming. Even worse, the fires themselves are releasing carbon and adding to the problem. CNN’s Isa Soares reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211007095834-video-thumbnail-amazon-soares-pkg-1-large-169.jpeg”,”title”:”Aerial footage shows damage in Amazon rainforest “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/07/rainforest-amazon-desforestation-fires-isa-soares-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/07/rainforest-amazon-desforestation-fires-isa-soares-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/10/07/rainforest-amazon-desforestation-fires-isa-soares-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/07/rainforest-amazon-desforestation-fires-isa-soares-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9FEE89E6-F73B-FDC7-4AB4-606720BACA58″},{“descriptionPlainText”:”New CNN investigation has discovered Ethiopian government used flagship airlines to transport weapons during war with Tigray. CNN’s Nima Elbagir reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211006114006-03-ethiopian-airlines-investigation-large-169.jpg”,”title”:”Ethiopia used airlines to transport weapons during Tigray conflict”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/06/ethiopia-airlines-tigray-weapons-elbagir-amanpour-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/06/ethiopia-airlines-tigray-weapons-elbagir-amanpour-vpx.cnn”,”videoId”:”world/2021/10/06/ethiopia-airlines-tigray-weapons-elbagir-amanpour-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/06/ethiopia-airlines-tigray-weapons-elbagir-amanpour-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_0394EA66-78A0-8A9B-F06E-59DCC8AB5C5D”},{“descriptionPlainText”:”A German Jewish musician tells CNN’s Fred Pleitgen he was shocked after staff at a hotel in Leipzig, Germany, would only check him in if he concealed a necklace bearing the Star of David.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211006181441-german-jewish-musician-pleitgen-pkg-large-169.jpg”,”title”:”Man wearing Star of David says he was denied check-in at German hotel”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/06/jewish-musician-star-of-david-german-hotel-pkg-pleitgen-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/06/jewish-musician-star-of-david-german-hotel-pkg-pleitgen-intl-vpx.cnn”,”videoId”:”world/2021/10/06/jewish-musician-star-of-david-german-hotel-pkg-pleitgen-intl-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/06/jewish-musician-star-of-david-german-hotel-pkg-pleitgen-intl-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F70BCAA6-EB57-3B80-3155-56A1FE6FC770″},{“descriptionPlainText”:”Members of the Catholic clergy sexually abused more than 200,000 minors in France over the last seven decades, a survey carried out as part of an independent probe into abuse within the church estimates. CNN’s Cyril Vanier reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210928224021-catholic-church-large-169.jpg”,”title”:”Damning report reveals scope of Catholic church abuse in France”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/05/french-catholic-church-abuse-report-cyril-vanier-live-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/05/french-catholic-church-abuse-report-cyril-vanier-live-intl-ldn-vpx.cnn”,”videoId”:”world/2021/10/05/french-catholic-church-abuse-report-cyril-vanier-live-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/05/french-catholic-church-abuse-report-cyril-vanier-live-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5B90A880-5247-4CD0-2729-57A874248858″}],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/11/china-taiwan-tension-biden-xi-military-ripley-ctw-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-dqdxix’,videoDescriptionDivId: ‘js-video_description-dqdxix’,videoDurationDivId: ‘js-video_duration-dqdxix’,videoTitleDivId: ‘js-leaf-video_headline-dqdxix’,videoSourceDivId: ‘js-video_sourceName-dqdxix’});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(‘

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow by Email
Pinterest
LinkedIn
Share