Commuting in a living museum: Secrets of the Underground

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘travel/2020/05/04/london-underground-exploring-ghost-tubes-lon-orig.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/200504113815-ghost-tube-1-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200504113815-ghost-tube-1-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200504113815-ghost-tube-1-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200504113815-ghost-tube-1-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200504113815-ghost-tube-1-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200504113815-ghost-tube-1-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200504113815-ghost-tube-1-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Throughout the London Underground, you are one step away from a secret Labyrinth of forgotten tunnels and shafts”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200504113815-ghost-tube-1-large-169.jpg”,”title”:”Commuting in a living museum: Secrets of the Underground”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/04/london-underground-exploring-ghost-tubes-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/04/london-underground-exploring-ghost-tubes-lon-orig.cnn”,”videoId”:”travel/2020/05/04/london-underground-exploring-ghost-tubes-lon-orig.cnn”,”videoUrl”:”/videos/travel/2020/05/04/london-underground-exploring-ghost-tubes-lon-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_C1A067EC-5A17-B0BE-3377-DF34C06F1A15″},{“descriptionPlainText”:”From Athens to Brussels to London, CNN’s International Diplomatic Editor Nic Robertson documents once familiar, now unusual, travel across Europe during the Covid-19 pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200507155800-nic-robertson-europe-travel-diary-1-large-169.jpg”,”title”:”This is what it’s like to travel across Europe right now “,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/07/travel-diary-europe-coronavirus-robertson-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/07/travel-diary-europe-coronavirus-robertson-pkg-intl-hnk-vpx.cnn”,”videoId”:”travel/2020/05/07/travel-diary-europe-coronavirus-robertson-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/travel/2020/05/07/travel-diary-europe-coronavirus-robertson-pkg-intl-hnk-vpx.cnn/video/playlists/travel/”,”surrogateKey”:”video_C07D40FF-1937-F4AA-AD58-137279AE5035″},{“descriptionPlainText”:”Cruise ships may not be carrying passengers, but they’ve got lots of staff still on board and they’re having a hard time getting home.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200505153717-mashawn-1-large-169.jpg”,”title”:”Cruise staff still stuck onboard ships”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/06/cruise-crew-stuck-covid-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/06/cruise-crew-stuck-covid-travel-orig.cnn”,”videoId”:”travel/2020/05/06/cruise-crew-stuck-covid-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/05/06/cruise-crew-stuck-covid-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_F4AD4EBD-D040-35FE-3763-F72FCBADE257″},{“descriptionPlainText”:”Many Boeing 747 passenger jets are idling in storage right now, but the 747 Freighters are proving to be pandemic heroes, carrying supplies by the tons.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200501121900-boeing-747-187837698-large-169.jpg”,”title”:”The 747 got its groove back”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/05/boeing-747-freight-planes-pandemic-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/05/boeing-747-freight-planes-pandemic-travel-orig.cnn”,”videoId”:”travel/2020/05/05/boeing-747-freight-planes-pandemic-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/05/05/boeing-747-freight-planes-pandemic-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_0867D8B6-F122-9F1C-86D2-053D253B697A”},{“descriptionPlainText”:”Chef, author and TV host Pati Jinich uses tomatoes, jalapeños and onions to create many different recipes. If you like her style, check out some of her recipes here.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200505074918-chef-pati-jinich-three-ingredients-recipes-orig-jm-00000811-large-169.jpg”,”title”:”Chef Pati Jinich always has these 3 ingredients on hand”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/05/chef-pati-jinich-three-ingredients-recipes-orig-jm.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/05/chef-pati-jinich-three-ingredients-recipes-orig-jm.cnn”,”videoId”:”travel/2020/05/05/chef-pati-jinich-three-ingredients-recipes-orig-jm.cnn”,”videoUrl”:”/videos/travel/2020/05/05/chef-pati-jinich-three-ingredients-recipes-orig-jm.cnn/video/playlists/travel/”,”surrogateKey”:”video_85CE9010-F8BE-288A-0971-04B33668DEB6″},{“descriptionPlainText”:”A new pop-up restaurant will offer a table for one in the green hills of Sweden and they’ll leave the cost of the meal up to the diner.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200430181420-one-person-restaruant-starter-large-169.jpg”,”title”:”Restaurant for one person only”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/04/30/sweden-table-for-one-restaurant-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/04/30/sweden-table-for-one-restaurant-travel-orig.cnn”,”videoId”:”travel/2020/04/30/sweden-table-for-one-restaurant-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/04/30/sweden-table-for-one-restaurant-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_7DACC273-AB4F-370E-6ADB-01EDDF3B9A5F”},{“descriptionPlainText”:”Passengers love the A380, but airlines gave up on it. Your window to fly in one is closing now that many are in storage.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200429111731-airbus-france-factory-file-large-169.jpg”,”title”:”What happened to the world’s biggest passenger plane?”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/01/airbus-a380-history-2020-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/01/airbus-a380-history-2020-travel-orig.cnn”,”videoId”:”travel/2020/05/01/airbus-a380-history-2020-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/05/01/airbus-a380-history-2020-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_9655A9FB-BE67-0AF3-47B9-F5CC9A02F1E8″},{“descriptionPlainText”:”Hong Kong International Airport is trying out a full body disinfection device on staff. It’s the latest of measures aimed at keeping travelers and employees safe in the age of coronavirus.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200427162351-hk-airport–pr-1446-cleantech-1-large-169.jpg”,”title”:”Full body disinfection and other airport security plans”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/04/28/latest-airport-security-measures-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/04/28/latest-airport-security-measures-travel-orig.cnn”,”videoId”:”travel/2020/04/28/latest-airport-security-measures-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/04/28/latest-airport-security-measures-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_E27DB81E-8BEC-20C4-EBCB-F47A948B0064″},{“descriptionPlainText”:”A group of 24 Dutch high-schoolers crossed the Atlantic ocean on a sailboat, after they could no longer fly home from Cuba due to the pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200427065405-02-coronavirus-dutch-teens-cross-atlantic-large-169.jpg”,”title”:”Stranded Dutch teens sail home across the Atlantic”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/04/27/dutch-students-cross-atlantic-boat-coronavirus-lon-orig-mrg-2.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/04/27/dutch-students-cross-atlantic-boat-coronavirus-lon-orig-mrg-2.cnn”,”videoId”:”travel/2020/04/27/dutch-students-cross-atlantic-boat-coronavirus-lon-orig-mrg-2.cnn”,”videoUrl”:”/videos/travel/2020/04/27/dutch-students-cross-atlantic-boat-coronavirus-lon-orig-mrg-2.cnn/video/playlists/travel/”,”surrogateKey”:”video_9CBE0554-508D-EA0D-E750-EEC3DBF1342C”},{“descriptionPlainText”:”The Costa Deliziosa cruise ship finally docked at the Italian port of Genoa. Passenger Dana Lindberg tells CNN what it was like on the last cruise ship at sea.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200421145514-costa-deliziosa-2-1-large-169.jpg”,”title”:”What it was like on the last major cruise ship at sea”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/04/24/last-cruise-costa-deliziosa-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/04/24/last-cruise-costa-deliziosa-travel-orig.cnn”,”videoId”:”travel/2020/04/24/last-cruise-costa-deliziosa-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/04/24/last-cruise-costa-deliziosa-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_C1A067EC-5A17-B0BE-3377-DF34C06F1A15″},{“descriptionPlainText”:”The owners of this South Carolina restaurant realized life-sized dolls could help their half-empty dining room look full again.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200514100039-diner-distancing-south-carolina-large-169.jpg”,”title”:”Blow-up dolls replace diners at this restaurant”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/14/restaurant-blow-up-dolls-as-patrons-newssource.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/14/restaurant-blow-up-dolls-as-patrons-newssource.cnn”,”videoId”:”travel/2020/05/14/restaurant-blow-up-dolls-as-patrons-newssource.cnn”,”videoUrl”:”/videos/travel/2020/05/14/restaurant-blow-up-dolls-as-patrons-newssource.cnn/video/playlists/travel/”,”surrogateKey”:”video_866349C0-942C-839D-282B-EDE622A07118″},{“descriptionPlainText”:”Zoos and animal parks may be temporarily closed, but baby animals are still being born around the world”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200508163904-baby-animals-bronx-penguin-large-169.jpg”,”title”:”These baby animals were all born during the coronavirus pandemic “,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/09/baby-animals-born-during-covid-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/09/baby-animals-born-during-covid-travel-orig.cnn”,”videoId”:”travel/2020/05/09/baby-animals-born-during-covid-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/05/09/baby-animals-born-during-covid-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_FE20D068-3000-7102-D642-EAC563E276C0″},{“descriptionPlainText”:”A photo taken by Dr. Ethan Weiss shows dozens of passengers sitting close together on a United Airlines flight after the airline announced it was making some middle seats unavailable to help with social distancing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200511092627-united-full-flight-large-169.jpg”,”title”:”Photo shows crowded United Airlines flight “,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/11/united-airlines-full-flight-social-distancing-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/11/united-airlines-full-flight-social-distancing-vpx.cnn”,”videoId”:”travel/2020/05/11/united-airlines-full-flight-social-distancing-vpx.cnn”,”videoUrl”:”/videos/travel/2020/05/11/united-airlines-full-flight-social-distancing-vpx.cnn/video/playlists/travel/”,”surrogateKey”:”video_17585DF7-31A8-B818-8B43-E237FDBFEF09″},{“descriptionPlainText”:”The world’s top aviation hubs for 2020 have been revealed at the annual Skytrax World Airport Awards.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190416100039-singapore-changi-airport-jewel-guide-large-169.jpg”,”title”:”See the world’s best airports for 2020, according to Skytrax”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/11/skytrax-world-best-airport-2020-lon-orig-tp.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/11/skytrax-world-best-airport-2020-lon-orig-tp.cnn”,”videoId”:”travel/2020/05/11/skytrax-world-best-airport-2020-lon-orig-tp.cnn”,”videoUrl”:”/videos/travel/2020/05/11/skytrax-world-best-airport-2020-lon-orig-tp.cnn/video/playlists/travel/”,”surrogateKey”:”video_A59D1ACB-8462-CA0A-501F-E49D5FD8CC00″},{“descriptionPlainText”:”After months of shutdown, Shanghai Disneyland is the first Disney theme park to reopen since the Covid-19 outbreak prompted closures around the world. CNN’s David Culver reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200511104555-shanghai-disney-reopens1-large-169.jpg”,”title”:”Shanghai Disneyland has reopened. See how it’s working”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/11/china-shanghai-disney-reopens-coronavirus-culver-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/11/china-shanghai-disney-reopens-coronavirus-culver-pkg-intl-hnk-vpx.cnn”,”videoId”:”travel/2020/05/11/china-shanghai-disney-reopens-coronavirus-culver-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/travel/2020/05/11/china-shanghai-disney-reopens-coronavirus-culver-pkg-intl-hnk-vpx.cnn/video/playlists/travel/”,”surrogateKey”:”video_987FE556-70EB-44B7-241D-CD204294DF7E”},{“descriptionPlainText”:”Authorities in two Spanish towns are planning to use reservations, grids and apps to keep people apart at their beaches.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200508162455-spanish-beach-3-sanxenxo-large-169.jpg”,”title”:”You’ll need an app to get a spot on this beach”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/08/spanish-beach-coronavirus-plans-lon-orig-tp.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/08/spanish-beach-coronavirus-plans-lon-orig-tp.cnn”,”videoId”:”travel/2020/05/08/spanish-beach-coronavirus-plans-lon-orig-tp.cnn”,”videoUrl”:”/videos/travel/2020/05/08/spanish-beach-coronavirus-plans-lon-orig-tp.cnn/video/playlists/travel/”,”surrogateKey”:”video_2EB832F1-92AD-1B18-772A-CE3B23EA7326″},{“descriptionPlainText”:”Visit the City of Lights without leaving your house by enjoying these 11 perfectly Parisian movies”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/120124021226-midnight-in-paris-movie-story-top.jpg”,”title”:”Escape to Paris through these films”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/08/best-paris-films-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/08/best-paris-films-travel-orig.cnn”,”videoId”:”travel/2020/05/08/best-paris-films-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/05/08/best-paris-films-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_982D69E2-1398-F1D1-83BC-C1F93EA61960″},{“descriptionPlainText”:”Just 90 minutes from downtown Istanbul, the Princes’ Islands have provided refuge to those fleeing plagues, kept watch over exiled royalty and now offer respite from city life.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200507120837-princes-islands-1-large-169.jpg”,”title”:”Long before Covid-19, these islands were a refuge from plague”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/05/07/princes-islands-coronavirus-istanbul-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/05/07/princes-islands-coronavirus-istanbul-jba-lon-orig.cnn”,”videoId”:”travel/2020/05/07/princes-islands-coronavirus-istanbul-jba-lon-orig.cnn”,”videoUrl”:”/videos/travel/2020/05/07/princes-islands-coronavirus-istanbul-jba-lon-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_9C153D30-4968-9C57-FE2D-BD2C294CAAB0″}],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:”travel/2020/05/04/london-underground-exploring-ghost-tubes-lon-orig.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-14rinvs’,videoDescriptionDivId: ‘js-video_description-14rinvs’,videoDurationDivId: ‘js-video_duration-14rinvs’,videoTitleDivId: ‘js-leaf-video_headline-14rinvs’,videoSourceDivId: ‘js-video_sourceName-14rinvs’});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(‘

Commuting in a living museum: Secrets of the Underground

Leave a Reply