Hong Kong’s best beaches – CNN Video

0
‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘travel-play/2018/04/23/best-beaches-hong-kong.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_specialreports_bestbeaches_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180424084446-best-beaches-hong-kong-00000000-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180424084446-best-beaches-hong-kong-00000000-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180424084446-best-beaches-hong-kong-00000000-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180424084446-best-beaches-hong-kong-00000000-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180424084446-best-beaches-hong-kong-00000000-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180424084446-best-beaches-hong-kong-00000000-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180424084446-best-beaches-hong-kong-00000000-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Hong Kong might not be your stereotypical beach town. But it’s home to some truly stunning stretches of sand. Video by Black Buddha”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180424084446-best-beaches-hong-kong-00000000-large-169.jpg”,”title”:”Hong Kong’s best beaches”,”videoCMSUrl”:”/videos/travel-play/2018/04/23/best-beaches-hong-kong.cnn”,”videoLeafUrl”:”/videos/travel-play/2018/04/23/best-beaches-hong-kong.cnn”,”videoId”:”travel-play/2018/04/23/best-beaches-hong-kong.cnn”,”videoUrl”:”/videos/travel-play/2018/04/23/best-beaches-hong-kong.cnn”},{“descriptionPlainText”:”Historic Wuzhen is one of six ancient Yangtze River towns. Best of all, it’s just a short drive from Shanghai. Video by Black Buddha”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180410101552-tease-wuzhen-black-buddha-large-169.jpg”,”title”:”Shanghai day trips: Wuzhen Old City”,”videoCMSUrl”:”/video/data/3.0/video/travel-play/2018/04/10/wuzhen-old-city.cnn/index.xml”,”videoLeafUrl”:”/videos/travel-play/2018/04/10/wuzhen-old-city.cnn”,”videoId”:”travel-play/2018/04/10/wuzhen-old-city.cnn”,”videoUrl”:”/videos/travel-play/2018/04/10/wuzhen-old-city.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”Some of Hong Kong’s best dining is done on the cheap. Here are a few of Old Town Central’s top hole-in-the-wall food stalls. Video by Black Buddha.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180312111709-local-eats-old-town-central-hong-kong-00000000-large-169.jpg”,”title”:”Must-try eats in Old Town Central, Hong Kong”,”videoCMSUrl”:”/video/data/3.0/video/foodanddrink/2018/03/12/local-eats-old-town-central-hong-kong.cnn/index.xml”,”videoLeafUrl”:”/videos/foodanddrink/2018/03/12/local-eats-old-town-central-hong-kong.cnn”,”videoId”:”foodanddrink/2018/03/12/local-eats-old-town-central-hong-kong.cnn”,”videoUrl”:”/videos/foodanddrink/2018/03/12/local-eats-old-town-central-hong-kong.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”Looking for a charming spot to sip hand-dripped coffee in Shanghai? Rumors is your place. Video by Black Buddha”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180307114555-rumors-coffee-shanghai-large-169.jpg”,”title”:”Is this Shanghai’s best coffee? “,”videoCMSUrl”:”/video/data/3.0/video/foodanddrink/2018/03/07/rumors-coffee-shanghai.cnn/index.xml”,”videoLeafUrl”:”/videos/foodanddrink/2018/03/07/rumors-coffee-shanghai.cnn”,”videoId”:”foodanddrink/2018/03/07/rumors-coffee-shanghai.cnn”,”videoUrl”:”/videos/foodanddrink/2018/03/07/rumors-coffee-shanghai.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”Puppeteers bring Thai folklore to life along the canals of Bangkok’s Thonburi neighborhood. Video by Black Buddha”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180228175026-tease-black-buddha-bangkok-large-169.jpg”,”title”:”Baan Silapin: Bangkok’s hidden Artist’s House “,”videoCMSUrl”:”/video/data/3.0/video/travel-play/2018/03/01/bangkok-artists-house.cnn/index.xml”,”videoLeafUrl”:”/videos/travel-play/2018/03/01/bangkok-artists-house.cnn”,”videoId”:”travel-play/2018/03/01/bangkok-artists-house.cnn”,”videoUrl”:”/videos/travel-play/2018/03/01/bangkok-artists-house.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”World’s greatest city? Hong Kong is definitely a contender. Here’s a quick look at some of its top sights and sounds. Video by Black Buddha.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171002102631-best-of-hong-kong-00000613-large-169.jpg”,”title”:”Fall in love with Hong Kong in 2 minutes”,”videoCMSUrl”:”/video/data/3.0/video/travel/2017/10/02/best-of-hong-kong.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2017/10/02/best-of-hong-kong.cnn”,”videoId”:”travel/2017/10/02/best-of-hong-kong.cnn”,”videoUrl”:”/videos/travel/2017/10/02/best-of-hong-kong.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”Tokyo’s historic Ameya Yokocho market is crammed full with more than 500 shops selling everything from food to sneakers. Video by Black Buddha.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180208100251-tokyo-market-large-169.jpg”,”title”:”Ameya Yokocho: Tokyo’s open-air street market”,”videoCMSUrl”:”/video/data/3.0/video/travel-play/2018/02/08/ameya-yokocho-tokyo-market.cnn/index.xml”,”videoLeafUrl”:”/videos/travel-play/2018/02/08/ameya-yokocho-tokyo-market.cnn”,”videoId”:”travel-play/2018/02/08/ameya-yokocho-tokyo-market.cnn”,”videoUrl”:”/videos/travel-play/2018/02/08/ameya-yokocho-tokyo-market.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”For travelers with a literary bent there’s Book and Bed Tokyo, a hip hostel that lets guests sleep inside a long, wooden bookshelf. Video by Black Buddha.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160429133930-01-tokyo-hostel-book-and-bed-tokyo-large-169.jpg”,”title”:”Book and Bed Tokyo: Sleep inside a bookcase”,”videoCMSUrl”:”/video/data/3.0/video/travel-stay/2018/02/13/tokyo-hotel-book-and-bed.cnn/index.xml”,”videoLeafUrl”:”/videos/travel-stay/2018/02/13/tokyo-hotel-book-and-bed.cnn”,”videoId”:”travel-stay/2018/02/13/tokyo-hotel-book-and-bed.cnn”,”videoUrl”:”/videos/travel-stay/2018/02/13/tokyo-hotel-book-and-bed.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”Located in Tokyo’s poshest district, Parla Ginza is not your everyday crepe stand. Video by Black Buddha”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180219151324-parla-crepe-stand-tokyo-00000824-large-169.jpg”,”title”:”Parla: A Tokyo crepe stand for grown-ups”,”videoCMSUrl”:”/video/data/3.0/video/foodanddrink/2018/02/19/parla-crepe-stand-tokyo.cnn/index.xml”,”videoLeafUrl”:”/videos/foodanddrink/2018/02/19/parla-crepe-stand-tokyo.cnn”,”videoId”:”foodanddrink/2018/02/19/parla-crepe-stand-tokyo.cnn”,”videoUrl”:”/videos/foodanddrink/2018/02/19/parla-crepe-stand-tokyo.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”Take a step inside Honmura-an Ogikubo to find out what sets it apart from other Tokyo soba restaurants. Video by Black Buddha”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180126170415-tokyo-soba-restaurant-honmura-an-ogikubo-00011418-large-169.jpg”,”title”:”Is this Tokyo’s best soba restaurant? “,”videoCMSUrl”:”/video/data/3.0/video/foodanddrink/2018/01/26/tokyo-soba-restaurant-honmura-an-ogikubo.cnn/index.xml”,”videoLeafUrl”:”/videos/foodanddrink/2018/01/26/tokyo-soba-restaurant-honmura-an-ogikubo.cnn”,”videoId”:”foodanddrink/2018/01/26/tokyo-soba-restaurant-honmura-an-ogikubo.cnn”,”videoUrl”:”/videos/foodanddrink/2018/01/26/tokyo-soba-restaurant-honmura-an-ogikubo.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”A 1.5-minute look at some of the best places to eat, drink, relax, shop and work out in Hong Kong. Video by Black Buddha.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180119150240-hk-gentlemen-tease-large-169.jpg”,”title”:”Essentials for the Hong Kong gentleman”,”videoCMSUrl”:”/video/data/3.0/video/travel/2018/01/19/hong-kong-men.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2018/01/19/hong-kong-men.cnn”,”videoId”:”travel/2018/01/19/hong-kong-men.cnn”,”videoUrl”:”/videos/travel/2018/01/19/hong-kong-men.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”A peek inside experimental eyewear shop Gentle Monster’s wild flagship store in Nonhyeon, Seoul. Video by Black Buddha.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171122080446-gentle-monster-eyewear-seoul-00000806-large-169.jpg”,”title”:”Is this the world’s coolest eyewear shop? “,”videoCMSUrl”:”/video/data/3.0/video/travel/2017/11/22/gentle-monster-eyewear-seoul.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2017/11/22/gentle-monster-eyewear-seoul.cnn”,”videoId”:”travel/2017/11/22/gentle-monster-eyewear-seoul.cnn”,”videoUrl”:”/videos/travel/2017/11/22/gentle-monster-eyewear-seoul.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”The epitome of Thai craftsmanship and architecture, Bangkok’s Grand Palace is one of the city’s most popular tourist attractions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171220095300-bangkok-grand-palace-00010422-large-169.jpg”,”title”:”Inside Bangkok’s Grand Palace”,”videoCMSUrl”:”/video/data/3.0/video/travel/2017/12/20/bangkok-grand-palace.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2017/12/20/bangkok-grand-palace.cnn”,”videoId”:”travel/2017/12/20/bangkok-grand-palace.cnn”,”videoUrl”:”/videos/travel/2017/12/20/bangkok-grand-palace.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”Get a quick taste of Taiwan’s capital as we tour five of Taipei’s hottest restaurants. Video by Black Buddha.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180103093114-taipei-food-guide-00001813-large-169.jpg”,”title”:”A foodie’s guide to Taipei”,”videoCMSUrl”:”/video/data/3.0/video/foodanddrink/2018/01/02/taipei-food-guide.cnn/index.xml”,”videoLeafUrl”:”/videos/foodanddrink/2018/01/02/taipei-food-guide.cnn”,”videoId”:”foodanddrink/2018/01/02/taipei-food-guide.cnn”,”videoUrl”:”/videos/foodanddrink/2018/01/02/taipei-food-guide.cnn/video/playlists/black-buddha-travel/”},{“descriptionPlainText”:”Located in Taipei’s Da’an District, Mume focuses on local ingredients — and the results are incredible. Video by Black Buddha”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171211123716-taipei-restaurant-mume-00002502-large-169.jpg”,”title”:”Mume: Casual fine dining in the heart of Taipei”,”videoCMSUrl”:”/video/data/3.0/video/foodanddrink/2017/12/11/taipei-restaurant-mume.cnn/index.xml”,”videoLeafUrl”:”/videos/foodanddrink/2017/12/11/taipei-restaurant-mume.cnn”,”videoId”:”foodanddrink/2017/12/11/taipei-restaurant-mume.cnn”,”videoUrl”:”/videos/foodanddrink/2017/12/11/taipei-restaurant-mume.cnn/video/playlists/black-buddha-travel/”}],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,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 = 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-play/2018/04/23/best-beaches-hong-kong.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-mam4w’,videoDescriptionDivId: ‘js-video_description-mam4w’,videoDurationDivId: ‘js-video_duration-mam4w’,videoTitleDivId: ‘js-leaf-video_headline-mam4w’,videoSourceDivId: ‘js-video_sourceName-mam4w’});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(‘

2018-04-26 02:01:48

Read more from source here…

LEAVE A REPLY

Please enter your comment!
Please enter your name here