How China views the future



‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘tv/2021/06/27/exp-gps-0627-china-centennial-panel.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/210627122331-exp-gps-0627-china-centennial-panel-00011302-small-169.png”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210627122331-exp-gps-0627-china-centennial-panel-00011302-medium-plus-169.png”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210627122331-exp-gps-0627-china-centennial-panel-00011302-large-169.png”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210627122331-exp-gps-0627-china-centennial-panel-00011302-exlarge-169.png”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210627122331-exp-gps-0627-china-centennial-panel-00011302-super-169.png”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210627122331-exp-gps-0627-china-centennial-panel-00011302-full-169.png”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210627122331-exp-gps-0627-china-centennial-panel-00011302-small-11.png”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Elizabeth Economy, Rana Mitter, Jiayang Fan and Fareed on what lies ahead for China as it celebrates the one hundredth anniversary of its ruling party.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210627122331-exp-gps-0627-china-centennial-panel-00011302-large-169.png”,”title”:”On GPS: How China views the future”,”videoCMSUrl”:”/videos/tv/2021/06/27/exp-gps-0627-china-centennial-panel.cnn”,”videoLeafUrl”:”/videos/tv/2021/06/27/exp-gps-0627-china-centennial-panel.cnn”,”videoId”:”tv/2021/06/27/exp-gps-0627-china-centennial-panel.cnn”,”videoUrl”:”/videos/tv/2021/06/27/exp-gps-0627-china-centennial-panel.cnn”,”surrogateKey”:”video_A392656C-27FC-9F07-82F1-4E03F80C8DC7″},{“descriptionPlainText”:”John Oliver investigated healthcare sharing ministries on his show “Last Week Tonight.” As a bit, Oliver set up his own fake ministry called “JohnnyCare.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210628141229-john-oliver-last-week-tonight-healthcare-sharing-ministry-large-169.jpg”,”title”:”John Oliver exposes loophole in US health care system that targets evangelicals”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/28/john-oliver-last-week-tonight-healthcare-sharing-ministry-zw-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/28/john-oliver-last-week-tonight-healthcare-sharing-ministry-zw-orig.cnn-business”,”videoId”:”business/2021/06/28/john-oliver-last-week-tonight-healthcare-sharing-ministry-zw-orig.cnn-business”,”videoUrl”:”/videos/business/2021/06/28/john-oliver-last-week-tonight-healthcare-sharing-ministry-zw-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8FC27CEA-B808-3CC6-DCE9-53D107F64FEA”},{“descriptionPlainText”:”China’s National Space Administration has released footage of its Zhurong rover landing and exploring Mars.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210628070341-01-china-mars-tianwen-scli-intl-large-169.jpg”,”title”:”See videos from China’s Mars rover”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/28/china-mars-rover-zhurong-footage-lon-orig-tp.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/28/china-mars-rover-zhurong-footage-lon-orig-tp.cnn”,”videoId”:”business/2021/06/28/china-mars-rover-zhurong-footage-lon-orig-tp.cnn”,”videoUrl”:”/videos/business/2021/06/28/china-mars-rover-zhurong-footage-lon-orig-tp.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B339EC7B-5566-8276-F315-525236CE1E78″},{“descriptionPlainText”:”Ford is going after Jeep Wrangler’s niche with the new Bronco. CNN Business’ Peter Valdes-Dapena shows what it can do over steep hills, through creeks, and over rocks.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210628102050-03-1-new-ford-bronco-suv-large-169.jpg”,”title”:”Watch the new Ford Bronco go way off road”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/28/ford-bronco-2021-offroad-wrangler-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/28/ford-bronco-2021-offroad-wrangler-orig.cnn-business”,”videoId”:”business/2021/06/28/ford-bronco-2021-offroad-wrangler-orig.cnn-business”,”videoUrl”:”/videos/business/2021/06/28/ford-bronco-2021-offroad-wrangler-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B6460675-185C-0F91-2BC9-52BFE1FF1F7A”},{“descriptionPlainText”:”Ferrari’s latest hybrid supercar, the 296 GTB, can only travel up to 15 miles on its electric motor, but can hit top speeds above 205 mph.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210624133717-ferrari-296-gtb-large-169.jpeg”,”title”:”See Ferrari’s new plug-in hybrid”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/24/ferrari-hybrid-296-gtb-mc-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/24/ferrari-hybrid-296-gtb-mc-orig.cnn-business”,”videoId”:”business/2021/06/24/ferrari-hybrid-296-gtb-mc-orig.cnn-business”,”videoUrl”:”/videos/business/2021/06/24/ferrari-hybrid-296-gtb-mc-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B1314A6A-DE4F-39AB-783E-3F0D7378742C”},{“descriptionPlainText”:”In one of his last shows on TBS, Conan O’Brien smoked weed with guest Seth Rogen. O’Brien’s new show will premiere on HBO Max.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210623120424-conan-obrien-smoking-weed-large-169.jpg”,”title”:”Watch Conan O’Brien smoke weed on-air”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/23/conan-obrien-smoking-tbs-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/23/conan-obrien-smoking-tbs-orig.cnn-business”,”videoId”:”business/2021/06/23/conan-obrien-smoking-tbs-orig.cnn-business”,”videoUrl”:”/videos/business/2021/06/23/conan-obrien-smoking-tbs-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_243E6F9B-4007-D94F-05CA-3A467C470127″},{“descriptionPlainText”:”CNN’s Brian Stelter says the content coming from pro-Trump media, led by Fox News host Sean Hannity, softens the ground for conspiracies and makes their audience comfortable with violence.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210627122129-brian-stelter-sean-hannity-split-for-video-large-169.jpg”,”title”:”Stelter: Fox News host isn’t doing opinion, he’s spouting poison”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/06/27/brian-stelter-pro-trump-media-fox-news-hannity-sowing-division-sot-vpx-rs.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/06/27/brian-stelter-pro-trump-media-fox-news-hannity-sowing-division-sot-vpx-rs.cnn”,”videoId”:”media/2021/06/27/brian-stelter-pro-trump-media-fox-news-hannity-sowing-division-sot-vpx-rs.cnn”,”videoUrl”:”/videos/media/2021/06/27/brian-stelter-pro-trump-media-fox-news-hannity-sowing-division-sot-vpx-rs.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_31C2310F-3251-DC8D-6965-4E166296360D”},{“descriptionPlainText”:”Fast-food chain Carl’s Jr. — which once advertised its burgers with Paris Hilton in a bikini — is now hawking its chicken sandwiches on adult entertainment site OnlyFans.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210625114032-carls-jr-onlyfans-chicken-sandwich-large-169.jpg”,”title”:”Carl’s Jr. thinks its chicken sandwich is so hot, they put it on OnlyFans”,”videoCMSUrl”:”/video/data/3.0/video/business-food/2021/06/25/carls-jr-onlyfans-chicken-sandwich-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/business-food/2021/06/25/carls-jr-onlyfans-chicken-sandwich-orig-jk.cnn”,”videoId”:”business-food/2021/06/25/carls-jr-onlyfans-chicken-sandwich-orig-jk.cnn”,”videoUrl”:”/videos/business-food/2021/06/25/carls-jr-onlyfans-chicken-sandwich-orig-jk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D4691CD9-7A59-8DE7-0581-44657582AAD6″},{“descriptionPlainText”:”CNN’s Brian Stelter speaks with Los Angeles Times owner Patrick Soon-Shiong and editor Kevin Merida as the publication expands its digital footprint in an effort to “redefine the modern American newspaper.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210627123906-merida-soon-shiong-split-vpx-large-169.jpeg”,”title”:”LA Times’ strategy: Be a media platform, not just a newspaper”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/06/27/los-angeles-times-owner-and-editor-intv-rs-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/06/27/los-angeles-times-owner-and-editor-intv-rs-vpx.cnn”,”videoId”:”media/2021/06/27/los-angeles-times-owner-and-editor-intv-rs-vpx.cnn”,”videoUrl”:”/videos/media/2021/06/27/los-angeles-times-owner-and-editor-intv-rs-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_AE0FE9C5-2933-F1C2-9916-4E38842A73FB”},{“descriptionPlainText”:”Wedding celebrations were put on hold for most of 2020. That, coupled with plans for this year, is creating a back-log as couples look to book their special day. CNN’s Vanessa Yurkevich reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210624084307-wedding-planner-jason-rhee2-large-169.jpg”,”title”:”Wedding planner: There’s panic-booking happening right now”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/24/weddings-high-demand-covid-restrictions-lifted.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/24/weddings-high-demand-covid-restrictions-lifted.cnnbusiness”,”videoId”:”business/2021/06/24/weddings-high-demand-covid-restrictions-lifted.cnnbusiness”,”videoUrl”:”/videos/business/2021/06/24/weddings-high-demand-covid-restrictions-lifted.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A3CE41B9-266A-B1EF-C121-3DF76FC0101C”},{“descriptionPlainText”:”US-Burmese journalist Nathan Maung tells CNN of torture and conditions in Myanmar’s notorious Insein prison after he was detained for spreading “fake news”. Maung is safely in the US, but fears for his family still in Myanmar – and the treatment of his TV news producer Hanthar Han Thar Nyein who was arrested at the same time – but remains in prison. CNN’s Anna Coren reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210625143504-nathan-maung-myanmar-prison-torture-coren-pkg-large-169.jpg”,”title”:”‘They kick us, they beat us’: Journalist on torture inside prison”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/25/myanmar-nathan-maung-insein-prison-coren-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/25/myanmar-nathan-maung-insein-prison-coren-pkg-intl-ldn-vpx.cnn”,”videoId”:”business/2021/06/25/myanmar-nathan-maung-insein-prison-coren-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/business/2021/06/25/myanmar-nathan-maung-insein-prison-coren-pkg-intl-ldn-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_ECFB4C61-FB68-73A2-C550-4314A9FBACF4″},{“descriptionPlainText”:”Late-night host Conan O’Brien says goodbye as he gets ready for his new show on HBO Max.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210625024224-conan-last-late-night-show-large-169.jpg”,”title”:”Conan O’Brien says goodbye to late night”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/06/25/conan-obrien-goodbye-to-late-night-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/06/25/conan-obrien-goodbye-to-late-night-orig.cnn”,”videoId”:”media/2021/06/25/conan-obrien-goodbye-to-late-night-orig.cnn”,”videoUrl”:”/videos/media/2021/06/25/conan-obrien-goodbye-to-late-night-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_488FC1F3-5E9B-EA0F-3F93-41CD554DF0D8″},{“descriptionPlainText”:”In a congressional hearing about the 2022 budget, Treasury Secretary Janet Yellen warned of “catastrophic economic consequences” if the debt ceiling is not raised. Watch her plea to members of Congress.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210624083923-janet-yellen-debt-ceiling-large-169.jpg”,”title”:”Watch Yellen warn Congress: This could have ‘catastrophic economic consequences'”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/24/janet-yellen-debt-ceiling-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/24/janet-yellen-debt-ceiling-orig.cnn-business”,”videoId”:”business/2021/06/24/janet-yellen-debt-ceiling-orig.cnn-business”,”videoUrl”:”/videos/business/2021/06/24/janet-yellen-debt-ceiling-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_650A9B75-0A6C-8587-F66C-3EA445F6D981″},{“descriptionPlainText”:”European Tourism Association CEO Tom Jenkins discusses how European travel has fallen due to the ongoing coronavirus pandemic and the Delta variant threat.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210611164426-26-unlocking-the-world-travel-paris-large-169.jpg”,”title”:”European tourism plummets as Delta variant threat continues”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/24/european-tourism-association-ceo-tom-jenkins-delta-variant-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/24/european-tourism-association-ceo-tom-jenkins-delta-variant-qmb-vpx.cnnbusiness”,”videoId”:”business/2021/06/24/european-tourism-association-ceo-tom-jenkins-delta-variant-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2021/06/24/european-tourism-association-ceo-tom-jenkins-delta-variant-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F363CFAB-76DA-C8D4-4CBE-3F74C8D4A959″},{“descriptionPlainText”:”President Joe Biden announced a bipartisan agreement on the infrastructure deal. CNN’s Ryan Nobles details how the package will be paid for.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210624141126-01-biden-infrastructure-0624-large-169.jpg”,”title”:”How will the bipartisan infrastructure deal be paid?”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/24/biden-infrastructure-deal-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/24/biden-infrastructure-deal-qmb-vpx.cnnbusiness”,”videoId”:”business/2021/06/24/biden-infrastructure-deal-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2021/06/24/biden-infrastructure-deal-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F6711B0A-DC19-1770-228B-3F69B3803ED1″},{“descriptionPlainText”:”How many M&M’s can you stack? A British civil engineer Will Cutbill breaks the Guinness M&M-stacking record. CNN’s Jeanne Moos reports it’s harder than it looks.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210624190506-guinness-world-record-stacking-mms-moos-pkg-vpx-00003605-large-169.jpg”,”title”:”Good luck breaking this deceptively tough world record”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/24/guinness-world-record-stacking-mms-moos-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/24/guinness-world-record-stacking-mms-moos-pkg-vpx.cnn”,”videoId”:”business/2021/06/24/guinness-world-record-stacking-mms-moos-pkg-vpx.cnn”,”videoUrl”:”/videos/business/2021/06/24/guinness-world-record-stacking-mms-moos-pkg-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_43FD3B17-4776-41BC-68F8-4030D297234B”},{“descriptionPlainText”:”Singer Avril Lavigne opened her new TikTok account with a rendition of “Sk8er Boi” featuring skateboarding legend Tony Hawk.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210622114742-avril-lavigne-tony-hawk-tiktok-split-large-169.jpg”,”title”:”Avril Lavigne’s TikTok debut gets boost from Tony Hawk”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/06/22/avril-lavigne-tiktok-tony-hawk-orig-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/06/22/avril-lavigne-tiktok-tony-hawk-orig-bdk.cnn”,”videoId”:”media/2021/06/22/avril-lavigne-tiktok-tony-hawk-orig-bdk.cnn”,”videoUrl”:”/videos/media/2021/06/22/avril-lavigne-tiktok-tony-hawk-orig-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_777E59D0-EB77-7ECF-3698-345035FA99CA”}],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:”tv/2021/06/27/exp-gps-0627-china-centennial-panel.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-1brwypz’,videoDescriptionDivId: ‘js-video_description-1brwypz’,videoDurationDivId: ‘js-video_duration-1brwypz’,videoTitleDivId: ‘js-leaf-video_headline-1brwypz’,videoSourceDivId: ‘js-video_sourceName-1brwypz’});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

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