Dubrovnik’s post-pandemic awakening – CNN Video

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘travel/2021/07/29/quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_travel_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210730100050-quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc-00013316-small-169.png”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210730100050-quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc-00013316-medium-plus-169.png”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210730100050-quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc-00013316-large-169.png”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210730100050-quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc-00013316-exlarge-169.png”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210730100050-quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc-00013316-super-169.png”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210730100050-quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc-00013316-full-169.png”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210730100050-quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc-00013316-small-11.png”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Rediscovering the charm of this medieval Croatian city.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210730100050-quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc-00013316-large-169.png”,”title”:”Dubrovnik’s post-pandemic awakening”,”videoCMSUrl”:”/videos/travel/2021/07/29/quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc.cnn”,”videoLeafUrl”:”/videos/travel/2021/07/29/quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc.cnn”,”videoId”:”travel/2021/07/29/quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc.cnn”,”videoUrl”:”/videos/travel/2021/07/29/quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc.cnn”,”surrogateKey”:”video_5F02A2A4-CC2F-0EF9-1D1D-F2F1DB1497F1″},{“descriptionPlainText”:”Boston Dynamics CEO Robert Playter discusses Hyundai’s recent investment in the company and the future of robot technology with CNN’s Richard Quest.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170609072651-01-boston-dynamics-large-169.jpg”,”title”:”Boston Dynamics CEO: Robots can unlock huge opportunities “,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/30/boston-dynamics-ceo-robert-playter-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/30/boston-dynamics-ceo-robert-playter-qmb-vpx.cnnbusiness”,”videoId”:”business/2021/07/30/boston-dynamics-ceo-robert-playter-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/30/boston-dynamics-ceo-robert-playter-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6AB053A9-1BC7-3CF0-1557-F8F6093A5E8C”},{“descriptionPlainText”:”Jack Dorsey’s payment company, Square, is spending $29 billion on the buy now, pay later company Afterpay. CNN’s Richard Quest discusses what this investment means for global payments with MoffettNathanson partner Lisa Ellis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210512084704-jack-dorsey-file-large-169.jpg”,”title”:”Jack Dorsey’s Square purchases Afterpay for $29 billion”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/08/02/square-afterpay-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/08/02/square-afterpay-qmb-vpx.cnnbusiness”,”videoId”:”business/2021/08/02/square-afterpay-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2021/08/02/square-afterpay-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A475728F-59F5-CF55-E78C-0866E711F6B8″},{“descriptionPlainText”:”Scarlett Johansson filed a lawsuit that alleges Disney breached her contract by releasing the highly anticipated film “Black Widow” on its streaming service, Disney+. CNN’s Frank Pallotta reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210629135011-black-widow-scarlett-johansson-large-169.jpg”,”title”:”Why Scarlett Johansson is suing Disney”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/30/scarlett-johansson-disney-lawsuit.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/30/scarlett-johansson-disney-lawsuit.cnnbusiness”,”videoId”:”business/2021/07/30/scarlett-johansson-disney-lawsuit.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/30/scarlett-johansson-disney-lawsuit.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_03750730-1A1E-0E53-56C0-F7E94F1AC23F”},{“descriptionPlainText”:”As the Delta variant surges around the country, Corporate America is taking a stand on vaccinations. Johnny Taylor, president and CEO of the Society for Human Resource Management, explains the conditions employees will face if they aren’t vaccinated against Covid-19.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210728110348-covid-vaccine-arm-large-169.jpg”,”title”:”Businesses are taking a stand on vaccines”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/30/vaccines-companies-employees-work-delta-covid.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/30/vaccines-companies-employees-work-delta-covid.cnnbusiness”,”videoId”:”business/2021/07/30/vaccines-companies-employees-work-delta-covid.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/30/vaccines-companies-employees-work-delta-covid.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B4CCDB2C-7F6E-EC90-98D0-F745D2AB7299″},{“descriptionPlainText”:”DC Metropolitan police officer Michael Fanone, who was beaten during the Capitol attack, responds to Fox News host Laura Ingraham after she mocked his testimony on her show.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210728192813-michael-fanone-laura-ingraham-split-large-169.jpg”,”title”:”Fox News host mocked officer with fake trophy. See his response”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/28/michael-fanone-laura-ingraham-award-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/28/michael-fanone-laura-ingraham-award-newday-vpx.cnn”,”videoId”:”media/2021/07/28/michael-fanone-laura-ingraham-award-newday-vpx.cnn”,”videoUrl”:”/videos/media/2021/07/28/michael-fanone-laura-ingraham-award-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6A9220D6-BBE9-C162-696D-EF65F72E9035″},{“descriptionPlainText”:”An Atlanta restaurant owner defends his decision to impose a vaccine mandate for customers and employees after Rep. Marjorie Taylor Greene attacked the establishment on her personal Twitter account. CNN’s Brianna Keilar reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210728064945-armando-celentano-large-169.jpg”,”title”:”See why this restaurant owner has been targeted by Marjorie Taylor Greene”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/28/marjorie-taylor-greene-twitter-restaurant-vaccination-policy-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/28/marjorie-taylor-greene-twitter-restaurant-vaccination-policy-newday-vpx.cnn”,”videoId”:”business/2021/07/28/marjorie-taylor-greene-twitter-restaurant-vaccination-policy-newday-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/28/marjorie-taylor-greene-twitter-restaurant-vaccination-policy-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D47533FB-936D-7834-A1B1-ECB5C04736A3″},{“descriptionPlainText”:”CNN’s Brian Stelter takes a look at how One America News and other conservative outlets covered the January 6th hearing on the attack at the Capitol.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727102529-13-jan-6-committee-hearing-0727-large-169.jpg”,”title”:”See how right-wing networks covered January 6th hearing”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/28/conservative-media-jan-6-hearings-stelter-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/28/conservative-media-jan-6-hearings-stelter-pkg-vpx.cnn”,”videoId”:”media/2021/07/28/conservative-media-jan-6-hearings-stelter-pkg-vpx.cnn”,”videoUrl”:”/videos/media/2021/07/28/conservative-media-jan-6-hearings-stelter-pkg-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_30EBAECF-8709-8274-555D-EA7DCFC69782″},{“descriptionPlainText”:”The Senate Intelligence Committee’s report into unidentified aerial phenomena — or UFOs — highlights what could be possible threats to US airspace. Former intelligence and security officials help break down how UFOs pose a national security risk.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210702212534-ufo-report-what-our-questions-reveal-large-169.jpg”,”title”:” The ‘baffling’ thing about UFO tech that has security experts worried”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/23/ufo-report-national-security-threat-jm-gr-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/23/ufo-report-national-security-threat-jm-gr-orig.cnn”,”videoId”:”business/2021/07/23/ufo-report-national-security-threat-jm-gr-orig.cnn”,”videoUrl”:”/videos/business/2021/07/23/ufo-report-national-security-threat-jm-gr-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D93AC091-19A3-BBBF-1B48-D4C3EC5D5CB2″},{“descriptionPlainText”:”Don Lemon and political commentators Ana Navarro and Scott Jennings discuss video of Fox News host Tucker Carlson being confronted by a man who later posted the footage to his Instagram account.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727005918-lemon-tucker-carlson-0726-large-169.jpg”,”title”:”Don Lemon defends Tucker Carlson after confrontation with stranger”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/27/tucker-carlson-confrontation-lemon-navarro-jennings-dlt-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/27/tucker-carlson-confrontation-lemon-navarro-jennings-dlt-sot-vpx.cnn”,”videoId”:”media/2021/07/27/tucker-carlson-confrontation-lemon-navarro-jennings-dlt-sot-vpx.cnn”,”videoUrl”:”/videos/media/2021/07/27/tucker-carlson-confrontation-lemon-navarro-jennings-dlt-sot-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6880027A-F8B2-5F6A-C30A-E60358C2191F”},{“descriptionPlainText”:”Rapper Snoop Dogg and actor Kevin Hart have joined forces on Peacock TV to offer their hilarious take on the Tokyo Olympics.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727114027-kevin-hart-snoop-dogg-olympics-show-2-large-169.jpg”,”title”:”Snoop Dogg, Kevin Hart have ideas for new Olympic sports”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/27/snoop-dogg-kevin-hart-olympics-show-orig-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/27/snoop-dogg-kevin-hart-olympics-show-orig-bdk.cnn”,”videoId”:”media/2021/07/27/snoop-dogg-kevin-hart-olympics-show-orig-bdk.cnn”,”videoUrl”:”/videos/media/2021/07/27/snoop-dogg-kevin-hart-olympics-show-orig-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_E0ACA043-00C5-5A30-B397-E87D226BE104″},{“descriptionPlainText”:”Jeff Bezos is offering NASA up to $2 billion in a bid to reignite the battle for space between his rocket company Blue Origin and Elon Musk’s SpaceX. CNN’s Kristin Fisher reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727083824-jeff-bezos-blue-origin-presser-0720-large-169.jpg”,”title”:”Jeff Bezos reignites battle for NASA moon contract”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/27/jeff-bezos-nasa-contract-moon.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/27/jeff-bezos-nasa-contract-moon.cnnbusiness”,”videoId”:”business/2021/07/27/jeff-bezos-nasa-contract-moon.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/27/jeff-bezos-nasa-contract-moon.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_5C5245FE-ABB6-A97A-FCCC-E7D8C1F249E3″},{“descriptionPlainText”:”New footage showing the events at the Capitol on January 6 was shown during a House select committee hearing investigating the riot.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727101720-capitol-riot-new-footage-large-169.jpg”,”title”:”New video of Capitol riot shown at insurrection hearing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/27/insurrection-hearing-new-riot-footage-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/27/insurrection-hearing-new-riot-footage-vpx.cnn”,”videoId”:”politics/2021/07/27/insurrection-hearing-new-riot-footage-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/27/insurrection-hearing-new-riot-footage-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_278BD363-6361-C4E7-7DA7-E84C21C00D67″},{“descriptionPlainText”:”Capitol Officer Michael Fanone describes the danger he encountered at the hands of the Pro-Trump mob that breached the US Capitol on January 6 during the House select committee hearing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727104929-capitol-officer-michael-fanone-insurrection-hearing-testimony-vpx-large-169.jpg”,”title”:”‘Disgraceful!’: Capitol officer confronts lawmakers downplaying riot”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/27/officer-fanone-testimony-capitol-rioters-gun-insurrection-hearing-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/27/officer-fanone-testimony-capitol-rioters-gun-insurrection-hearing-vpx.cnn”,”videoId”:”politics/2021/07/27/officer-fanone-testimony-capitol-rioters-gun-insurrection-hearing-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/27/officer-fanone-testimony-capitol-rioters-gun-insurrection-hearing-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B7DB8114-7945-775F-F646-E8307AA92A39″},{“descriptionPlainText”:”During the 1984 Olympic Games, CNN went inside the Olympic Village in Los Angeles to see what life was like for the greatest athletes of their day. See how the technology — and security — has changed in this video from the CNN archives.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210719174623-olympic-village-1984-cnn-vault-1-large-169.jpg”,”title”:”See what life was like in the Olympic Village in 1984″,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/19/1984-olympic-village-los-angeles-vault-zw-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/19/1984-olympic-village-los-angeles-vault-zw-orig.cnn-business”,”videoId”:”business/2021/07/19/1984-olympic-village-los-angeles-vault-zw-orig.cnn-business”,”videoUrl”:”/videos/business/2021/07/19/1984-olympic-village-los-angeles-vault-zw-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C50DD634-2980-5532-9401-C0B61D7FD96B”},{“descriptionPlainText”:”Actress Emilia Clarke impressed Jimmy Fallon on The Tonight Show by reciting lyrics from Olivia Rodrigo’s “good 4 u” in eight different accents.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210722171134-emilia-clarke-tonight-show-good-4-u-accents-orig-ah-00000000-large-169.png”,”title”:”Emilia Clarke’s rapid-fire accents blow away Jimmy Fallon”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/22/emilia-clarke-tonight-show-good-4-u-accents-orig-ah.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/22/emilia-clarke-tonight-show-good-4-u-accents-orig-ah.cnn”,”videoId”:”media/2021/07/22/emilia-clarke-tonight-show-good-4-u-accents-orig-ah.cnn”,”videoUrl”:”/videos/media/2021/07/22/emilia-clarke-tonight-show-good-4-u-accents-orig-ah.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C769744F-F008-A468-AD7A-D0952815A17C”}],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/2021/07/29/quests-world-of-wonder-richard-quest-dubrovnik-croatia-pandemic-spc.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-1ar8zv6’,videoDescriptionDivId: ‘js-video_description-1ar8zv6’,videoDurationDivId: ‘js-video_duration-1ar8zv6’,videoTitleDivId: ‘js-leaf-video_headline-1ar8zv6’,videoSourceDivId: ‘js-video_sourceName-1ar8zv6’});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(‘

Dubrovnik’s post-pandemic awakening – CNN Video

Leave a Reply