Island hopping in Maldives – 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/2020/09/14/60-second-vacation-maldives-spc.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_specialreports_60secondvacation_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915145329-60-seconds-maldives-beach-still-cover-spc-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915145329-60-seconds-maldives-beach-still-cover-spc-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915145329-60-seconds-maldives-beach-still-cover-spc-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915145329-60-seconds-maldives-beach-still-cover-spc-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915145329-60-seconds-maldives-beach-still-cover-spc-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915145329-60-seconds-maldives-beach-still-cover-spc-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915145329-60-seconds-maldives-beach-still-cover-spc-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”In the turquoise waters of the Indian Ocean, Maldives is made up of more than 1,000 islands, which tourists travel between on seaplanes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200915145329-60-seconds-maldives-beach-still-cover-spc-large-169.jpg”,”title”:”Island hopping in Maldives”,”videoCMSUrl”:”/videos/travel/2020/09/14/60-second-vacation-maldives-spc.cnn”,”videoLeafUrl”:”/videos/travel/2020/09/14/60-second-vacation-maldives-spc.cnn”,”videoId”:”travel/2020/09/14/60-second-vacation-maldives-spc.cnn”,”videoUrl”:”/videos/travel/2020/09/14/60-second-vacation-maldives-spc.cnn”,”surrogateKey”:”video_6140AA2A-6149-580D-1D68-8B4EED361C30″},{“descriptionPlainText”:”CNN’s Jon Sarlin explains why just looking at the stock market at a time of mass unemployment isn’t good enough.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200828142909-20200828-tech-logos-wall-street-thumbnail-large-169.jpg”,”title”:”Millions of Americans are out of work. Why is the stock market soaring?”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/08/31/ws-unemployment-js-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/08/31/ws-unemployment-js-orig.cnn”,”videoId”:”business/2020/08/31/ws-unemployment-js-orig.cnn”,”videoUrl”:”/videos/business/2020/08/31/ws-unemployment-js-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_2E7A78A4-3EA1-9CF1-64E3-42604C26257B”},{“descriptionPlainText”:”Nissan’s Z Proto concept shows what the much-anticipated production model might look like. It has been 11 years since Nissan produced a sports car in the Z family.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200915142422-01-nissan-z-proto-large-169.jpg”,”title”:”Nissan gives a glimpse of its first Z car in more than a decade”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/15/nissan-z-proto-sportscar-auto-concept-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/15/nissan-z-proto-sportscar-auto-concept-orig.cnn-business”,”videoId”:”business/2020/09/15/nissan-z-proto-sportscar-auto-concept-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/15/nissan-z-proto-sportscar-auto-concept-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_4EC02176-02BF-08DB-634A-93050DB149A5″},{“descriptionPlainText”:”Japanese convenience stores are turning to technology to try and solve their labor shortage, with two of the country’s largest franchises testing out a robot that can stack shelves.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200909160849-telexistence-robot-1-large-169.jpg”,”title”:”See robot stacking shelves in Japan”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/15/model-t-robot-convenience-store-japan.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/15/model-t-robot-convenience-store-japan.cnn”,”videoId”:”business/2020/09/15/model-t-robot-convenience-store-japan.cnn”,”videoUrl”:”/videos/business/2020/09/15/model-t-robot-convenience-store-japan.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B9937A07-5960-94A2-C5F8-920C5C7A6530″},{“descriptionPlainText”:”Amazon is expanding its workforce, hiring 100,000 new employees to support a surge in online shopping amid the ongoing pandemic. CNN’s Matt Egan reports on what that means for small businesses.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200907165240-amazon-logo-box-large-169.jpg”,”title”:”Amazon is booming while small businesses struggle”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/15/amazon-hiring-warehouse-jobs.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/15/amazon-hiring-warehouse-jobs.cnnbusiness”,”videoId”:”business/2020/09/15/amazon-hiring-warehouse-jobs.cnnbusiness”,”videoUrl”:”/videos/business/2020/09/15/amazon-hiring-warehouse-jobs.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_4AE8394E-E40C-055E-8B82-924757043509″},{“descriptionPlainText”:”LG has released the LG WING 5G smartphone, which has two screens. One can swivel up to 90 degrees, making it easier to multi-task.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200914144424-lg-wing-phone-screenshot-large-169.jpg”,”title”:”LG’s new smartphone has a unique swivel screen”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/14/lg-wing-5g-phone-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/14/lg-wing-5g-phone-orig.cnn-business”,”videoId”:”business/2020/09/14/lg-wing-5g-phone-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/14/lg-wing-5g-phone-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_9CE4AC47-D31D-76DC-61D3-8DF026C85D77″},{“descriptionPlainText”:”Apple’s Newton device made its public debut at CES in 1992. Marketed as a computer that fits in the palm of your hand, the device never fully took off. See how CNN covered the tablet three decades ago.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200910163459-apple-newton-device-vault-05291992-large-169.jpg”,”title”:”This was Apple’s first ‘iPad.’ It failed miserably”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/10/apple-newton-device-1992-vault-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/10/apple-newton-device-1992-vault-orig.cnn-business”,”videoId”:”business/2020/09/10/apple-newton-device-1992-vault-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/10/apple-newton-device-1992-vault-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_CB101C6C-2373-682E-C680-79B72CB00820″},{“descriptionPlainText”:”President Trump and Joe Biden both want to repeal Section 230 of the Communications Decency Act, a law described as “the 26 words that created the internet.” Here’s why.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200911133241-trump-biden-split-0911-large-169.jpg”,”title”:”Here’s one thing Joe Biden and President Trump actually agree on”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/11/trump-biden-section-230-big-tech-zw-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/11/trump-biden-section-230-big-tech-zw-orig.cnn-business”,”videoId”:”business/2020/09/11/trump-biden-section-230-big-tech-zw-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/11/trump-biden-section-230-big-tech-zw-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_28327EDD-668E-2F0A-D5F4-7EA6B521AE50″},{“descriptionPlainText”:”TikTok and Oracle will become business partners in the US – a deal meant to satisfy the Trump administration’s national security concerns, according to a person familiar with the matter. CNN’s Selina Wang reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200914040532-oracle-tik-tok-split-0914-large-169.jpg”,”title”:”TikTok and Oracle will become business partners in the US”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/14/tiktok-oracle-microsoft-bytedance-trump-china-wang-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/14/tiktok-oracle-microsoft-bytedance-trump-china-wang-intl-hnk-vpx.cnn”,”videoId”:”business/2020/09/14/tiktok-oracle-microsoft-bytedance-trump-china-wang-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/business/2020/09/14/tiktok-oracle-microsoft-bytedance-trump-china-wang-intl-hnk-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_CA2431F8-27C0-75B0-8CE5-8AEA4565697F”},{“descriptionPlainText”:”Authorities in Oregon are pleading with the public to only trust and share information verified by official sources about the unprecedented wildfires sweeping the state. CNN’s Donie O’Sullivan reports the pleas come as law enforcement agencies described 911 dispatchers being overrun with calls about a false online rumor promoted by the anonymous account behind the QAnon conspiracy theories.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200913183920-oregon-wildfire-qanon-conspiracy-theory-claims-facebook-osullivan-nr-vpx-00014105-large-169.jpg”,”title”:”QAnon fans spread fake claims about real fires in Oregon”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/13/oregon-wildfire-qanon-conspiracy-theory-claims-facebook-osullivan-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/13/oregon-wildfire-qanon-conspiracy-theory-claims-facebook-osullivan-nr-vpx.cnn”,”videoId”:”business/2020/09/13/oregon-wildfire-qanon-conspiracy-theory-claims-facebook-osullivan-nr-vpx.cnn”,”videoUrl”:”/videos/business/2020/09/13/oregon-wildfire-qanon-conspiracy-theory-claims-facebook-osullivan-nr-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_ACBA5A94-2B74-E2FB-F5C3-8983979D5273″},{“descriptionPlainText”:”SpaceX launched its Falcon 9 rocket into polar orbit from the East Coast for the first time. Soaring at speeds of over 3,700 mph, the camera strapped to the side of the rocket gives an impressive perspective.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200911130625-spacex-polar-orbit-rocket-perspective-08302020-large-169.jpg”,”title”:”SpaceX strapped a camera to a Falcon 9 rocket. Watch what happened”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/11/spacex-falcon-9-polar-orbit-launch-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/11/spacex-falcon-9-polar-orbit-launch-orig.cnn-business”,”videoId”:”business/2020/09/11/spacex-falcon-9-polar-orbit-launch-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/11/spacex-falcon-9-polar-orbit-launch-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_84CB0D67-CCA2-562C-92AD-7E18D8434D57″},{“descriptionPlainText”:”The MC20 is Maserati’s first supercar in 15 years. It’s also the first with the Italian automaker’s new “Neptune” engine, which can launch the MC20 from 0 to 60 in under 3 seconds.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200908134553-01-maserati-mc20-large-169.jpg”,”title”:”See Maserati’s first supercar in over a decade”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/08/maserati-mc20-sportscar-auto-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/08/maserati-mc20-sportscar-auto-orig.cnn-business”,”videoId”:”business/2020/09/08/maserati-mc20-sportscar-auto-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/08/maserati-mc20-sportscar-auto-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_129EB024-34BF-56D7-992D-6ED69FEE20F7″},{“descriptionPlainText”:”Lucid Motors, led by ex-Tesla engineer Peter Rawlinson, has revealed its first lineup. The Lucid Air models are luxury sedans ranging in price from $80,000 to more than $169,000.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200909160141-lucid-air-dream-edition-large-169.jpg”,”title”:”This new electric car has over 1,000 horsepower”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/09/lucid-air-reveal-electric-vehicle-tesla-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/09/lucid-air-reveal-electric-vehicle-tesla-orig.cnn-business”,”videoId”:”business/2020/09/09/lucid-air-reveal-electric-vehicle-tesla-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/09/lucid-air-reveal-electric-vehicle-tesla-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D168797C-1656-AC75-2CBE-747804CBA4EB”},{“descriptionPlainText”:”Robot dogs, or Vision 60 UGVs as their manufacturer Ghost Robotics calls them, joined the US Air Force in a recent military exercise.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200909113144-us-air-force-robot-dog-03-large-169.jpg”,”title”:”Robot dogs join US Air Force exercise”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/09/robot-dogs-join-us-military-exercise-lon-orig-na.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/09/robot-dogs-join-us-military-exercise-lon-orig-na.cnn-business”,”videoId”:”business/2020/09/09/robot-dogs-join-us-military-exercise-lon-orig-na.cnn-business”,”videoUrl”:”/videos/business/2020/09/09/robot-dogs-join-us-military-exercise-lon-orig-na.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_5FDE3EE1-2377-6D68-4228-737C0AE495C4″},{“descriptionPlainText”:”CNN’s Cristina Alesci reports on a Wall Street analyst’s research note sent to clients citing a series of tweets by an ophthalmologist whose claim is not supported by credible scientific research.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200901152501-wall-street-0831-large-169.jpg”,”title”:”Coronavirus misinformation is winding up in Wall Street research”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/09/coronavirus-misinformation-wall-street-research.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/09/coronavirus-misinformation-wall-street-research.cnnbusiness”,”videoId”:”business/2020/09/09/coronavirus-misinformation-wall-street-research.cnnbusiness”,”videoUrl”:”/videos/business/2020/09/09/coronavirus-misinformation-wall-street-research.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B476B57A-3FC6-642D-5CBC-72B86725E9D3″},{“descriptionPlainText”:”Disney has publicly thanked a Chinese government agency accused of human rights abuses in Xinjiang for its help in making “Mulan” — a revelation that has provoked a storm of criticism online. CNN’s Selina Wang reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200831160432-mulan-disney-large-169.jpg”,”title”:”Disney hit by backlash after thanking Xinjiang authorities in ‘Mulan’ credits”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/08/disney-mulan-credits-xinjiang.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/08/disney-mulan-credits-xinjiang.cnnbusiness”,”videoId”:”business/2020/09/08/disney-mulan-credits-xinjiang.cnnbusiness”,”videoUrl”:”/videos/business/2020/09/08/disney-mulan-credits-xinjiang.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_CE3242C7-869C-F7A0-A174-6E02F08CCC07″}],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/09/14/60-second-vacation-maldives-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-1txqkn4’,videoDescriptionDivId: ‘js-video_description-1txqkn4’,videoDurationDivId: ‘js-video_duration-1txqkn4’,videoTitleDivId: ‘js-leaf-video_headline-1txqkn4’,videoSourceDivId: ‘js-video_sourceName-1txqkn4’});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(‘

Island hopping in Maldives – CNN Video

Leave a Reply