5 reasons to Insta love Maldives

‘);$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/03/16/reasons-visit-maldives-spc.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/200316133823-reasons-visit-maldives-spc-00000000-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200316133823-reasons-visit-maldives-spc-00000000-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200316133823-reasons-visit-maldives-spc-00000000-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200316133823-reasons-visit-maldives-spc-00000000-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200316133823-reasons-visit-maldives-spc-00000000-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200316133823-reasons-visit-maldives-spc-00000000-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200316133823-reasons-visit-maldives-spc-00000000-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Looking for tranquility, peace, pristine beaches, water sports and fantastic cuisine? Maldives ticks all those boxes — and many more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200316133823-reasons-visit-maldives-spc-00000000-large-169.jpg”,”title”:”5 reasons to Insta love Maldives”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/03/16/reasons-visit-maldives-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/03/16/reasons-visit-maldives-spc.cnn”,”videoId”:”travel/2020/03/16/reasons-visit-maldives-spc.cnn”,”videoUrl”:”/videos/travel/2020/03/16/reasons-visit-maldives-spc.cnn/video/playlists/travel/”,”surrogateKey”:”video_1F923C18-C482-591B-7768-E1FFA5B26802″},{“descriptionPlainText”:”We join an adventure through India’s regal region of Rajasthan with Vintage Rides, a New Delhi-based company that specializes in motorcycle tours.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190503110854-india-vintage-motorbike-tour-vision-00000714-large-169.jpg”,”title”:”Roaring through India on a vintage motorbike”,”videoCMSUrl”:”/video/data/3.0/video/travel-play/2019/05/03/india-vintage-motorbike-tour-vision.cnn/index.xml”,”videoLeafUrl”:”/videos/travel-play/2019/05/03/india-vintage-motorbike-tour-vision.cnn”,”videoId”:”travel-play/2019/05/03/india-vintage-motorbike-tour-vision.cnn”,”videoUrl”:”/videos/travel-play/2019/05/03/india-vintage-motorbike-tour-vision.cnn/video/playlists/travel/”,”surrogateKey”:”video_1F923C18-C482-591B-7768-E1FFA5B26802″},{“descriptionPlainText”:”CNN’s Stephanie Elam explores a series of underground lava tubes that people can now visit in Hawaii Volcanoes National Park.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160621155828-hawaii-volcanoes-national-parks-ncc-orig-00000327-large-169.jpg”,”title”:”Inside a lava tube”,”videoCMSUrl”:”/video/data/3.0/video/travel/2016/06/21/hawaii-volcanoes-national-parks-ncc-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2016/06/21/hawaii-volcanoes-national-parks-ncc-orig.cnn”,”videoId”:”travel/2016/06/21/hawaii-volcanoes-national-parks-ncc-orig.cnn”,”videoUrl”:”/videos/travel/2016/06/21/hawaii-volcanoes-national-parks-ncc-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_7459D663-FB77-5D4F-5A11-7BB8DF29A689″},{“descriptionPlainText”:”At 1,100 feet, Edge is now the highest observation deck in the Western Hemisphere, finally opening to the public this week.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200305114914-03-edge-hudson-yards-observation-deck-large-169.jpg”,”title”:”It’s the highest deck in the Western Hemisphere “,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/03/06/edge-observation-deck-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/03/06/edge-observation-deck-travel-orig.cnn”,”videoId”:”travel/2020/03/06/edge-observation-deck-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/03/06/edge-observation-deck-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_32686861-47ED-4689-F24E-745E396A170B”},{“descriptionPlainText”:”In Chiang Rai, Thailand, guests of the Anantara Golden Triangle Elephant Camp & Resort can now spend the night in transparent bubbles next to elephants.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200218124143-jungle-bubbles-at-dawn3-large-169.jpg”,”title”:”Thailand’s new ‘Jungle Bubbles’ experience”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/03/09/chiang-rai-jungle-bubbles-anantara.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/03/09/chiang-rai-jungle-bubbles-anantara.cnn”,”videoId”:”travel/2020/03/09/chiang-rai-jungle-bubbles-anantara.cnn”,”videoUrl”:”/videos/travel/2020/03/09/chiang-rai-jungle-bubbles-anantara.cnn/video/playlists/travel/”,”surrogateKey”:”video_B6CC6BF1-9D4F-30F7-8D46-B18689CC508A”},{“descriptionPlainText”:”1,000 liters of ready-to-be-bottled red wine leaked into the water pipes of the northern Italian town of Castelvetro after a malfunction at a local winery”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200306211945-red-wine-water-faucets-large-169.jpg”,”title”:”Malfunction causes red wine to flow from faucets in Italy”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/03/07/wine-leak-faucet-sink-italy-castelvetro-nws-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/03/07/wine-leak-faucet-sink-italy-castelvetro-nws-orig.cnn”,”videoId”:”travel/2020/03/07/wine-leak-faucet-sink-italy-castelvetro-nws-orig.cnn”,”videoUrl”:”/videos/travel/2020/03/07/wine-leak-faucet-sink-italy-castelvetro-nws-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_330EA900-4769-80E0-C632-BCD6C5E9498D”},{“descriptionPlainText”:”Le Bon Marché department store was founded in Paris in 1852 and introduced pioneering retail concepts to the world”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200214093439-09-le-bon-marche-large-169.jpg”,”title”:”Inside the world’s oldest department store”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/03/03/le-bon-marche-paris-department-store-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/03/03/le-bon-marche-paris-department-store-travel-orig.cnn”,”videoId”:”travel/2020/03/03/le-bon-marche-paris-department-store-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/03/03/le-bon-marche-paris-department-store-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_8340BED9-0F15-7C8A-D178-B5FBC62B8F87″},{“descriptionPlainText”:”Mickey and Minnie’s Runaway Railway uses Audio-Animatronics figures and projection-mapping to bring the adventures of these friends to life at Walt Disney World in Florida.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200303084218-05-disney-mickey-runaway-railway-ride-large-169.jpg”,”title”:”Mickey and Minnie get their first ride after 90 years”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/03/03/mickey-and-minnies-runaway-railway-ride-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/03/03/mickey-and-minnies-runaway-railway-ride-travel-orig.cnn”,”videoId”:”travel/2020/03/03/mickey-and-minnies-runaway-railway-ride-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/03/03/mickey-and-minnies-runaway-railway-ride-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_CD5F0AC5-CA70-FABC-35A2-A11FFF1AB34F”},{“descriptionPlainText”:”The San Diego Zoo crowdsourced the name for their new baby hippo, and the winner means “beautiful one” in Zulu.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200305225456-baby-hippo-san-diego-zoo-large-169.jpg”,”title”:”San Diego Zoo names new 100-pound baby hippo”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/03/02/vote-names-san-diego-hippo-amahle-travel-orig-newssource.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/03/02/vote-names-san-diego-hippo-amahle-travel-orig-newssource.cnn”,”videoId”:”travel/2020/03/02/vote-names-san-diego-hippo-amahle-travel-orig-newssource.cnn”,”videoUrl”:”/videos/travel/2020/03/02/vote-names-san-diego-hippo-amahle-travel-orig-newssource.cnn/video/playlists/travel/”,”surrogateKey”:”video_F587DE89-2AB2-C89D-CBAB-A1785B3BA184″},{“descriptionPlainText”:”Tokyo is a dream destination for sneaker addicts. CNN’s Coy Wire explores the scene with Hommyo Hidefumi, a Tokyo sneaker culture legend.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200303121350-tokyo-sneaker-culture-00000000-large-169.jpg”,”title”:”Tokyo’s godfather of sneakers”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/03/03/tokyo-sneaker-culture.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/03/03/tokyo-sneaker-culture.cnn”,”videoId”:”travel/2020/03/03/tokyo-sneaker-culture.cnn”,”videoUrl”:”/videos/travel/2020/03/03/tokyo-sneaker-culture.cnn/video/playlists/travel/”,”surrogateKey”:”video_0767DA76-8F80-4581-FAE3-9C17F38E66C0″},{“descriptionPlainText”:”Scientists in Jerusalem found a 5,000-year-old strain of yeast in an archeological site and naturally decided to brew beer from it.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200226193416-5000-year-old-beer-large-169.jpg”,”title”:”5,000-year-old yeast makes decent beer”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/27/5000-year-old-beer-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/27/5000-year-old-beer-travel-orig.cnn”,”videoId”:”travel/2020/02/27/5000-year-old-beer-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/02/27/5000-year-old-beer-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_A6914CEF-7A36-BCFB-91A7-9EC99BCDCB6B”},{“descriptionPlainText”:”Airbnb will list the six-story “Lucy the Elephant” structure in New Jersey for three single-night stays, with the proceeds going towards preserving the landmark.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200228114534-lucy-the-elephant-airbnb-large-169.jpg”,”title”:”New Jersey landmark will soon be available to rent”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/28/lucy-the-elephant-available-to-rent-airbnb-new-jersey-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/28/lucy-the-elephant-available-to-rent-airbnb-new-jersey-orig.cnn”,”videoId”:”travel/2020/02/28/lucy-the-elephant-available-to-rent-airbnb-new-jersey-orig.cnn”,”videoUrl”:”/videos/travel/2020/02/28/lucy-the-elephant-available-to-rent-airbnb-new-jersey-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_8C628F3E-C35A-E9A4-40B9-8410FEAFA23D”},{“descriptionPlainText”:”Celebrate the beauty of Gujarat, India in these places.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191203145933-dada-harir-2-large-169.jpg”,”title”:”5 Reasons to Insta-Love Gujarat”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/24/gujarat-india-beautiful-places.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/24/gujarat-india-beautiful-places.cnn”,”videoId”:”travel/2020/02/24/gujarat-india-beautiful-places.cnn”,”videoUrl”:”/videos/travel/2020/02/24/gujarat-india-beautiful-places.cnn/video/playlists/travel/”,”surrogateKey”:”video_9DD70102-563E-4EFF-48AB-8CAF312E147A”},{“descriptionPlainText”:”Non-alcoholic cocktails aren’t new. But with increasing alternatives to spirits, wine and beer, bartenders like Will Meredith at Lyaness bar in London see the trend only growing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200219091403-mocktails-travel-3-large-169.jpg”,”title”:”The rise of the non-alcoholic cocktail”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/21/the-rise-of-mocktails-non-alcoholic-cocktails-style-capital-lc-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/21/the-rise-of-mocktails-non-alcoholic-cocktails-style-capital-lc-lon-orig.cnn”,”videoId”:”travel/2020/02/21/the-rise-of-mocktails-non-alcoholic-cocktails-style-capital-lc-lon-orig.cnn”,”videoUrl”:”/videos/travel/2020/02/21/the-rise-of-mocktails-non-alcoholic-cocktails-style-capital-lc-lon-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_FF2E27E9-77D2-8FF4-BD28-760347AD6ACC”},{“descriptionPlainText”:”YouTuber Natalia Taylor posted a series of photos on her Instagram that made it seem like she had traveled to Bali, Indonesia. But in a video she later posted to YouTube, she revealed the photos were staged in an Ikea.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200219162727-youtuber-tricked-bali-indonesia-ikea-trnd-large-169.jpg”,”title”:”YouTuber reveals she faked fancy Bali vacation at Ikea “,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/24/youtuber-bali-vacation-ikea-natalia-taylor-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/24/youtuber-bali-vacation-ikea-natalia-taylor-mxp-vpx.hln”,”videoId”:”travel/2020/02/24/youtuber-bali-vacation-ikea-natalia-taylor-mxp-vpx.hln”,”videoUrl”:”/videos/travel/2020/02/24/youtuber-bali-vacation-ikea-natalia-taylor-mxp-vpx.hln/video/playlists/travel/”,”surrogateKey”:”video_6BD6404C-17B4-0F69-6643-66FBD3980F26″},{“descriptionPlainText”:”A high-speed rail network that carves through the Swiss Alps and features the world’s longest rail tunnel is set for completion in 2020.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200210112927-gotthard-tunnel-dv-large-169.jpg”,”title”:”Rail network with longest train tunnel almost complete”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/10/worlds-longest-rail-tunnel-line-almost-complete-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/10/worlds-longest-rail-tunnel-line-almost-complete-lon-orig.cnn”,”videoId”:”travel/2020/02/10/worlds-longest-rail-tunnel-line-almost-complete-lon-orig.cnn”,”videoUrl”:”/videos/travel/2020/02/10/worlds-longest-rail-tunnel-line-almost-complete-lon-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_A1A9E3AC-A8E5-7C24-590E-7749C6EFA5FA”},{“descriptionPlainText”:”The site of the first gay ‘sit in’; a rich man’s apartment turned police station turned cocktail room; a spot with a working dumbwaiter – these are a few of New York City’s oldest bars that continue to thrive.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200218110524-nyc-oldest-bars-old-towne-wide-large-169.jpg”,”title”:”New York’s oldest bars, still standing”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/17/new-york-city-oldest-bars-style-capital-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/17/new-york-city-oldest-bars-style-capital-orig.cnn”,”videoId”:”travel/2020/02/17/new-york-city-oldest-bars-style-capital-orig.cnn”,”videoUrl”:”/videos/travel/2020/02/17/new-york-city-oldest-bars-style-capital-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_47C78D13-77AF-D62B-8227-2ED01896B195″}],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/03/16/reasons-visit-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-10t39ve’,videoDescriptionDivId: ‘js-video_description-10t39ve’,videoDurationDivId: ‘js-video_duration-10t39ve’,videoTitleDivId: ‘js-leaf-video_headline-10t39ve’,videoSourceDivId: ‘js-video_sourceName-10t39ve’});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(‘

5 reasons to Insta love Maldives

Leave a Reply