See Tokyo 2020 Olympics from above

‘);$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/07/23/cnn-flies-over-tokyo-olympics-2020-ripley-dnt-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/210722203450-tokyo-stadium-aerial-ripley-pkg-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210722203450-tokyo-stadium-aerial-ripley-pkg-vpx-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210722203450-tokyo-stadium-aerial-ripley-pkg-vpx-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210722203450-tokyo-stadium-aerial-ripley-pkg-vpx-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210722203450-tokyo-stadium-aerial-ripley-pkg-vpx-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210722203450-tokyo-stadium-aerial-ripley-pkg-vpx-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210722203450-tokyo-stadium-aerial-ripley-pkg-vpx-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Will Ripley takes a look at the city of Tokyo ahead of the 2020 Olympics, where a growing number of athletes have tested positive for Covid-19 and venues sit nearly empty.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210722203450-tokyo-stadium-aerial-ripley-pkg-vpx-large-169.jpg”,”title”:”See Tokyo 2020 Olympics from above “,”videoCMSUrl”:”/videos/world/2021/07/23/cnn-flies-over-tokyo-olympics-2020-ripley-dnt-vpx.cnn”,”videoLeafUrl”:”/videos/world/2021/07/23/cnn-flies-over-tokyo-olympics-2020-ripley-dnt-vpx.cnn”,”videoId”:”world/2021/07/23/cnn-flies-over-tokyo-olympics-2020-ripley-dnt-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/23/cnn-flies-over-tokyo-olympics-2020-ripley-dnt-vpx.cnn”,”surrogateKey”:”video_38EF28A7-3D22-8181-4D86-D0BBEE93BC24″},{“descriptionPlainText”:”Several people in Zhengzhou, China have died after record-breaking rainfall flooded the city’s subway. Hundreds of thousands of people have been displaced as emergency services have been deployed to assist in the rescue operations.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210720224142-china-zhengzhou-flooding-1-large-169.jpg”,”title”:”Passengers trapped inside submerged subway as China battles deadly floods”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/21/china-zhengzhou-rain-flooding-subway-eg-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/21/china-zhengzhou-rain-flooding-subway-eg-orig.cnn”,”videoId”:”world/2021/07/21/china-zhengzhou-rain-flooding-subway-eg-orig.cnn”,”videoUrl”:”/videos/world/2021/07/21/china-zhengzhou-rain-flooding-subway-eg-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F63DFD67-D760-1FBF-6F2B-C6DE7DB0877F”},{“descriptionPlainText”:”Wildfires have razed hundreds of thousands of hectares in Russia’s Siberia amid a combination of abnormally warm weather and droughts. CNN’s Kim Brunhuber reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210721165815-siberia-russia-wildfires-climate-crisis-brunhuber-ctw-pkg-intl-ldn-vpx-00003508-large-169.png”,”title”:”Huge swathes of Siberia are on fire. See how firefighters are responding”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/21/siberia-russia-wildfires-climate-crisis-brunhuber-ctw-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/21/siberia-russia-wildfires-climate-crisis-brunhuber-ctw-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/07/21/siberia-russia-wildfires-climate-crisis-brunhuber-ctw-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/21/siberia-russia-wildfires-climate-crisis-brunhuber-ctw-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_19B8D5BF-FD22-A5C3-E44D-C9B1042F6A64″},{“descriptionPlainText”:”The myriad of anti-Covid rules at the Tokyo 2020 Olymics are putting a damper on the usual fanfare and celebration of the event. CNN’s Blake Essig reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210721123825-tokyo-2020-no-fun-olympics-essig-pkg-intl-hnk-vpx-00005430-large-169.png”,”title”:”Watch gymnast disprove myth about Olympic beds”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/07/21/tokyo-2020-no-fun-olympics-essig-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/07/21/tokyo-2020-no-fun-olympics-essig-pkg-intl-hnk-vpx.cnn”,”videoId”:”sports/2021/07/21/tokyo-2020-no-fun-olympics-essig-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/sports/2021/07/21/tokyo-2020-no-fun-olympics-essig-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_DD473D51-CFB3-C372-81B3-C6F44337264D”},{“descriptionPlainText”:”London Mayor Sadiq Khan talks with CNN’s Christiane Amanpour as England decides to lift most covid-19 restrictions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210719165603-sadiq-khan-large-169.jpg”,”title”:”London mayor’s biggest problem with eased Covid-19 restrictions”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/19/amanpour-england-london-sadiq-khan-coronavirus-ease-restrictions-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/19/amanpour-england-london-sadiq-khan-coronavirus-ease-restrictions-vpx.cnn”,”videoId”:”world/2021/07/19/amanpour-england-london-sadiq-khan-coronavirus-ease-restrictions-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/19/amanpour-england-london-sadiq-khan-coronavirus-ease-restrictions-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_FB4167E4-0E97-4B9C-BD5F-C0878CFC71D4″},{“descriptionPlainText”:”A Catholic shrine in Belgium has opened its doors to other faiths for the first time since World War II amid ongoing floods in the region. CNN’s Al Goodman reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210719173855-belgium-church-large-169.jpeg”,”title”:”Catholic shrine opens doors to other faiths amid deadly flooding “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/19/catholic-shrine-europe-floods-goodman-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/19/catholic-shrine-europe-floods-goodman-pkg-vpx.cnn”,”videoId”:”world/2021/07/19/catholic-shrine-europe-floods-goodman-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/19/catholic-shrine-europe-floods-goodman-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_3A2E2FA2-3D25-DA13-BD9B-C0B0070B364F”},{“descriptionPlainText”:”England lifted almost all of its Covid-19 restrictions on July 19 amid a rise in cases driven by the spread of the Delta variant. Mandatory mask wearing is gone, limits on the numbers of people who can mix indoor or outdoor have ended, social distancing is limited to people who have tested positive for the virus and airports, and venues like nightclubs and sports stadiums are free to open at full capacity. CNN’s Phil Black reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210719114950-coronavirus-england-freedom-day-bolton-black-pkg-large-169.jpeg”,”title”:”Inside a reopened nightclub as England lifts Covid restrictions”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/19/england-covid-19-freedom-day-boris-johnson-black-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/19/england-covid-19-freedom-day-boris-johnson-black-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/07/19/england-covid-19-freedom-day-boris-johnson-black-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/19/england-covid-19-freedom-day-boris-johnson-black-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_A13A8926-F1B2-7827-0726-BE429AF87203″},{“descriptionPlainText”:”Brazilian federal police are working to put an end to illegal gold miners and their negative effect on indigenous communities in the Amazon. CNN’s Isa Soares reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210715091042-amazon-illegal-mining-amanpour-2-large-169.jpeg”,”title”:”Indigenous communities battle illegal gold miners in the Amazon”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/15/amazon-illegal-mining-amanpour-world-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/15/amazon-illegal-mining-amanpour-world-vpx.cnn”,”videoId”:”world/2021/07/15/amazon-illegal-mining-amanpour-world-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/15/amazon-illegal-mining-amanpour-world-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_B1C0452C-7F9E-872E-8ECB-AA4575A30741″},{“descriptionPlainText”:”The streets of Altenahr, Germany, or what remains of them, are buried under mud, with cars wedged between collapsed buildings and piles of debris. CNN’s Atika Shubert reports even the dead were not spared after a devastating flood struck the village.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210717182543-floods-altenahr-germany-destruction-recovery-shubert-pkg-vpx-00000827-large-169.jpg”,”title”:”Picturesque German town now choked with mud and debris”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/17/floods-altenahr-germany-destruction-recovery-shubert-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/17/floods-altenahr-germany-destruction-recovery-shubert-pkg-vpx.cnn”,”videoId”:”world/2021/07/17/floods-altenahr-germany-destruction-recovery-shubert-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/17/floods-altenahr-germany-destruction-recovery-shubert-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_761E7638-871B-81D0-7A97-B6882D6D0D7B”},{“descriptionPlainText”:”In France, many are rushing to get vaccinated after President Emmanuel Macron announced that Covid-19 passes would be required to access theaters and restaurants from next month. But others have taken to the streets in protest at what they see as government overreach. CNN’s Melissa Bell reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210716131509-video-thumbnail-france-protests-large-169.jpg”,”title”:”French citizens protest mandatory vaccines for restaurants”,”videoCMSUrl”:”/video/data/3.0/video/travel/2021/07/16/france-vaccines-reopening-covid-19-melissa-bell-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2021/07/16/france-vaccines-reopening-covid-19-melissa-bell-pkg-intl-ldn-vpx.cnn”,”videoId”:”travel/2021/07/16/france-vaccines-reopening-covid-19-melissa-bell-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/travel/2021/07/16/france-vaccines-reopening-covid-19-melissa-bell-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_A8B4B278-2261-F17E-9943-AF21E72F50FA”},{“descriptionPlainText”:”A new book by writer Joby Warrick reveals that Syria’s nerve agents nearly fell into terrorist hands on at least two occasions. Anderson Cooper Full Circle airs Monday, Wednesday and Friday at 6p E.T.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210716183818-barrells-acfc-desk-large-169.jpg”,”title”:”Terror groups came very close to acquiring chemical weapons “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/16/terror-groups-chemical-weapons-syria-joby-warrick-acfc-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/16/terror-groups-chemical-weapons-syria-joby-warrick-acfc-sot-vpx.cnn”,”videoId”:”world/2021/07/16/terror-groups-chemical-weapons-syria-joby-warrick-acfc-sot-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/16/terror-groups-chemical-weapons-syria-joby-warrick-acfc-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_66811DB5-03ED-C7C3-7A4C-B17F36DF226D”},{“descriptionPlainText”:”The historic mass protests erupting on the streets of Cuba are sparking concern of another potential crisis. CNN’s Patrick Oppmann reports the economic and political conditions could lead to a flood of Cubans taking on the high seas to escape.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210716180306-cuba-crisis-protests-spark-concerns-leaving-boat-oppmann-dnt-lead-vpx-00005601-large-169.jpg”,”title”:”Concerns grow of Cubans fleeing by boat amid protests”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/16/cuba-crisis-protests-spark-concerns-leaving-boat-oppmann-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/16/cuba-crisis-protests-spark-concerns-leaving-boat-oppmann-dnt-lead-vpx.cnn”,”videoId”:”world/2021/07/16/cuba-crisis-protests-spark-concerns-leaving-boat-oppmann-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/16/cuba-crisis-protests-spark-concerns-leaving-boat-oppmann-dnt-lead-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_72FF1489-1E44-1ED8-D9F5-B14199B9956D”},{“descriptionPlainText”:”More than 100 people have died in Germany and Belgium following severe flooding in the area, caused by what experts described as the heaviest rainfall in a century. CNN’s Melissa Bell reports from Belgium.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210716111946-melissa-bell-boat-belgium-floods-large-169.jpg”,”title”:”CNN correspondent reports from ground as Belgium sees extreme flooding”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/16/europe-severe-flooding-belgium-bell-boat-live-firstmove-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/16/europe-severe-flooding-belgium-bell-boat-live-firstmove-vpx.cnn”,”videoId”:”world/2021/07/16/europe-severe-flooding-belgium-bell-boat-live-firstmove-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/16/europe-severe-flooding-belgium-bell-boat-live-firstmove-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_2B9D5253-4B78-05DA-553A-AFDD8D2A82B5″},{“descriptionPlainText”:”New video taken just hours after Haitian President Jovenel Moise was assassinated shows two Colombian mercenaries suspected of killing him. CNN’s Matt Rivers has the latest.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210715210408-new-video-haiti-suspect-large-169.jpg”,”title”:”New video shows suspects after assassination of Haiti’s president”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/16/haiti-assassination-new-video-rivers-dnt-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/16/haiti-assassination-new-video-rivers-dnt-ac360-vpx.cnn”,”videoId”:”world/2021/07/16/haiti-assassination-new-video-rivers-dnt-ac360-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/16/haiti-assassination-new-video-rivers-dnt-ac360-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D68A844E-BA7C-F94E-E094-ACCF9C77CA2C”},{“descriptionPlainText”:”Journalist Joby Warrick tells the story of a spy working for the CIA who passed on top-secret information about Syria’s chemical-weapons program for over 14 years. Anderson Cooper Full Circle airs Monday, Wednesday and Friday at 6p E.T.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210716190447-80s-spy-acfc-mobapp-large-169.jpg”,”title”:”Writer: This is one of the greatest spy stories I’ve ever heard”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/16/cia-spy-syria-joby-warrick-acfc-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/16/cia-spy-syria-joby-warrick-acfc-sot-vpx.cnn”,”videoId”:”world/2021/07/16/cia-spy-syria-joby-warrick-acfc-sot-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/16/cia-spy-syria-joby-warrick-acfc-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_AD4B010F-E2E1-8444-5C81-B14B52C1CADF”},{“descriptionPlainText”:”CNN’s David McKenzie reports from Soweto, South Africa, on the devastating aftereffects of looting and protests that took place in parts of the country. Protests erupted last week as former South African President Jacob Zuma, 79, turned himself in to authorities to serve a 15-month jail term for contempt of court. At least 72 have died in some of the worst violence the country has seen in years.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210715080840-video-thumbnail-south-africa-2-large-169.jpg”,”title”:”City center left gutted after violence and looting in South Africa”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/07/15/south-africa-looting-impact-mckenzie-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/07/15/south-africa-looting-impact-mckenzie-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/07/15/south-africa-looting-impact-mckenzie-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/07/15/south-africa-looting-impact-mckenzie-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_23081E2E-58AE-53F1-FD52-A8E2835E847F”}],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/07/23/cnn-flies-over-tokyo-olympics-2020-ripley-dnt-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-1b1vaah’,videoDescriptionDivId: ‘js-video_description-1b1vaah’,videoDurationDivId: ‘js-video_duration-1b1vaah’,videoTitleDivId: ‘js-leaf-video_headline-1b1vaah’,videoSourceDivId: ‘js-video_sourceName-1b1vaah’});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