' + descArr[i] + '
';}}$desc.html(descText);}$pageHeadLine.html(videoHeadlineText);if ($navHeadLine.length > 0) {$navHeadLine.html(videoHeadlineText);}$dateCreated.html(videocardContents.dateCreated ? 'Added on ' + videocardContents.dateCreated : '');});});if (CNN.Utils.exists(videocardContents.showName)) {if (CNN.Utils.exists(videocardContents.showUrl)) {showDetailsSpanContent = '' + videocardContents.showName + ' | ';} else {showDetailsSpanContent = videocardContents.showName + ' | ';}}fastdom.read(function getShowInfo() {var $show = jQuery('.metadata__show'),$isShowDetailsSpanExists = $show.find('span').hasClass('metadata--show__name'),$showName = jQuery('.metadata--show__name');fastdom.write(function updateShowInfo() {if (!$isShowDetailsSpanExists) {$show.prepend('' + showDetailsSpanContent + '');} else {$showName.html(showDetailsSpanContent);}});});if (CNN.Utils.exists(videocardContents.sourceName)) {fastdom.read(function getSourceInfo() {var $source = jQuery('.metadata__source-name');fastdom.write(function updateSourceInfo() {if (CNN.Utils.exists(videocardContents.sourceLink)) {$source.html('Source: ' + videocardContents.sourceName + '');} else {$source.html('Source: ' + videocardContents.sourceName);}});});}if (typeof (history) !== 'undefined' && ; typeof (history.replaceState) !== 'undefined') {history.replaceState('', '', videocardContents.url);document.title = videocardContents.headlineText ? decodeURI(videocardContents.headlineText) : '';}CNN.share.reloadShareBar();}function getCurrentVideoCardContents(currentVideoId) {var containerContents = [{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["A new breed of surfers are heading to the hills for the perfect wave."],"descriptionPlainText":"A new breed of surfers are heading to the hills for the perfect wave.","headlinePostText":"","headlinePreText":"","headlineText":"A surfing paradise in the mountains?","headlinePlainText":"A surfing paradise in the mountains?","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":" element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221153936-river-surf-3-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221153936-river-surf-3-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221153936-river-surf-3-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221153936-river-surf-3-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221153936-river-surf-3-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221153936-river-surf-3-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.c dn.turner.com/cnnnext/dam/assets/151221153936-river-surf-3-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221153936-river-surf-3-small-11.jpg"}},"responsiveImage":true},"duration":"2:42"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/us/2015/12/21/orig-river-surfing-standing-waves-montana-rocky-mountains-future-of-adventure.cnn/video/playlists/future-of-adventure/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/us/2015/12/21/orig-river-surfing-standing-waves-montana-rocky-mountains-future-of-adventure.cnn/index.xml","videoId":"us/2015/12/21/orig-river-surfing-standing-waves-montana-rocky-mountains-future-of-adventure.cnn","dateCreated":"1:57 PM ET, Mon December 21, 2015","sourceName":"CNN","sourceLink":"","vide oCollectionUrl":"/video/playlists/future-of-adventure/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Forget GoPros. This company is using drones to film people racing down the slopes in Lake Tahoe, California. "],"descriptionPlainText":"Forget GoPros. This company is using drones to film people racing down the slopes in Lake Tahoe, California.","headlinePostText":"","headlinePreText":"","headlineText":"Be the star in your vacation movie","headlinePlainText":"Be the star in your vacation movie","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnne xt/dam/assets/151229140058-foa-drone-1-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151229140058-foa-drone-1-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151229140058-foa-drone-1-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151229140058-foa-drone-1-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151229140058-foa-drone-1-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151229140058-foa-drone-1-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151229140058-foa-drone-1-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg", "uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151229140058-foa-drone-1-small-11.jpg"}},"responsiveImage":true},"duration":"2:35"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/tech/2015/12/21/orig-automated-video-ski-drones-future-of-adventure.cnn/video/playlists/future-of-adventure/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/tech/2015/12/21/orig-automated-video-ski-drones-future-of-adventure.cnn/index.xml","videoId":"tech/2015/12/21/orig-automated-video-ski-drones-future-of-adventure.cnn","dateCreated":"2:10 PM ET, Mon December 21, 2015","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/future-of-adventure/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosit ion":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Cutting edge designs are allowing specialized ocean rowing kayaks to travel thousands of miles."],"descriptionPlainText":"Cutting edge designs are allowing specialized ocean rowing kayaks to travel thousands of miles.","headlinePostText":"","headlinePreText":"","headlineText":"This woman rowed across the Atlantic","headlinePlainText":"This woman rowed across the Atlantic","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221160516-ocean-row-1-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221160516-ocean-ro w-1-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221160516-ocean-row-1-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221160516-ocean-row-1-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221160516-ocean-row-1-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221160516-ocean-row-1-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221160516-ocean-row-1-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221160516-ocean-row-1-small-11.jpg"}},"responsiveImage":true},"duration":"3:45"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusT ext":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/tech/2015/12/21/orig-ocean-rowing-carbon-boat-solar-technology-future-of-adventure.cnn/video/playlists/future-of-adventure/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/tech/2015/12/21/orig-ocean-rowing-carbon-boat-solar-technology-future-of-adventure.cnn/index.xml","videoId":"tech/2015/12/21/orig-ocean-rowing-carbon-boat-solar-technology-future-of-adventure.cnn","dateCreated":"2:09 PM ET, Mon December 21, 2015","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/future-of-adventure/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["The la test in personal submarines from DeepFlight makes ocean exploration as easy as playing a video game."],"descriptionPlainText":"The latest in personal submarines from DeepFlight makes ocean exploration as easy as playing a video game.","headlinePostText":"","headlinePreText":"","headlineText":"Personal submarine brings ocean exploration to all","headlinePlainText":"Personal submarine brings ocean exploration to all","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221151112-deepflight-3-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221151112-deepflight-3-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151 221151112-deepflight-3-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221151112-deepflight-3-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221151112-deepflight-3-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221151112-deepflight-3-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221151112-deepflight-3-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221151112-deepflight-3-small-11.jpg"}},"responsiveImage":true},"duration":"4:02"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModified State":"","type":"card","url":"/videos/us/2015/12/21/orig-deepflight-personal-submarine-graham-hawkes-future-of-adventure.cnn/video/playlists/future-of-adventure/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/us/2015/12/21/orig-deepflight-personal-submarine-graham-hawkes-future-of-adventure.cnn/index.xml","videoId":"us/2015/12/21/orig-deepflight-personal-submarine-graham-hawkes-future-of-adventure.cnn","dateCreated":"1:44 PM ET, Mon December 21, 2015","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/future-of-adventure/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["A wingboard is like a wakeboard, but instead of being pulled by a boat in the water, you're pulled by a plane in the air. Watch the birth of the next aerial extreme sport."],"descriptionPlainText":"A wingboard is like a wakeboard, but instead of being pulled by a boat in the water, you're pulled by a plane in the air. Watch the birth of the next aerial extreme sport.","headlinePostText":"","headlinePreText":"","headlineText":"Wingboarding: the next extreme sport in the sky","headlinePlainText":"Wingboarding: the next extreme sport in the sky","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221152211-wingboard-1-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221152211-wingboard-1-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/as sets/151221152211-wingboard-1-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221152211-wingboard-1-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221152211-wingboard-1-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221152211-wingboard-1-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221152211-wingboard-1-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221152211-wingboard-1-small-11.jpg"}},"responsiveImage":true},"duration":"4:19"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifi edState":"","type":"card","url":"/videos/us/2015/12/21/orig-wingboard-airplane-extreme-sport-future-of-adventure.cnn/video/playlists/future-of-adventure/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/us/2015/12/21/orig-wingboard-airplane-extreme-sport-future-of-adventure.cnn/index.xml","videoId":"us/2015/12/21/orig-wingboard-airplane-extreme-sport-future-of-adventure.cnn","dateCreated":"1:54 PM ET, Mon December 21, 2015","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/future-of-adventure/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Wingsuits are the Formula One race cars for skydivers."],"descriptionPlainText":"Wingsuits are the Formula One race cars for skydivers.","headlinePostTex t":"","headlinePreText":"","headlineText":"These handmade suits give you wings","headlinePlainText":"These handmade suits give you wings","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221143901-wingsuit-1-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221143901-wingsuit-1-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221143901-wingsuit-1-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221143901-wingsuit-1-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/15122 1143901-wingsuit-1-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221143901-wingsuit-1-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221143901-wingsuit-1-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151221143901-wingsuit-1-small-11.jpg"}},"responsiveImage":true},"duration":"1:58"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/us/2015/12/21/orig-wingsuit-tailor-tony-uragallo-future-of-adventure.cnn/video/playlists/future-of-adventure/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/us/2015/12/21/orig-wingsuit-tailor-tony-uragallo-future-of-adventure.cnn/index.xml","vi deoId":"us/2015/12/21/orig-wingsuit-tailor-tony-uragallo-future-of-adventure.cnn","dateCreated":"2:12 PM ET, Mon December 21, 2015","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/future-of-adventure/"},"contentType":"video","maximizedBanner":false,"type":"card"}],cardContents;for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {nextPlay = currentVideoCollection[getNextVideoIndex(currentVideoId)].videoId;if (nextPlay === undefined || nextPlay === null) {nextPlay = currentVideoCollection[0].videoId;}moveToNextTimeout = setTimeout(function () {CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, nextPlay, {videoCollection: currentVideoCollection});}, nextVideoPlayTimeout);}}callbackObj = {onPlayerReady: function (containerId) {CNN.VideoPlayer.reportLoadTime(containerId);CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, CNN.pageVis.isDocumentVisible());CNN.VideoPlayer.hideThumbnail(containerId);},onContentEntr yLoad: function(containerId, playerId, contentid, isQueue) {CNN.VideoPlayer.showSpinner(containerId);},onAdPlay: function (containerId, cvpId, token, mode, id, duration, blockId, adType) {clearTimeout(moveToNextTimeout);if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'adroll', configObj.video]);}if (blockId === 0) {(new Image()).src = "http://traffic.outbrain.com/network/trackpxl?advid=814&action=view";}CNN.VideoPlayer.hideSpinner(containerId);},onAdEnd: function (containerId, cvpId, token, mode, id, blockId, adType) {/* Add VisualRevenue event on video ad stop */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'adstop', configObj.video]);}},onContentPlay: function (containerId, cvpId, contentId) {/** When the video content starts playing, the companion ad* layout (if it was set when the ad played) should switch* back to epic ad layout. onContentPlay calls updateCompanionLayout* with 'restoreEpicAds' layout to make this switch and removes FW* with 'removeF reewheel' so you don't see double ads. If a user* clicks another video midway, onContentBegin will add FW back*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeFreewheel');CNN.companion.updateCompanionLayout('restoreEpicAds');}clearTimeout(moveToNextTimeout);CNN.VideoPlayer.hideSpinner(containerId);/* Add VisualRevenue event on video start */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'play', configObj.video]);}var idx,cvp = containerId && window.cnnVideoManager.getPlayerByContainer(containerId).videoInstance.cvp || null,prevVideoId = (window.jsmd && window.jsmd.v && (window.jsmd.v.eVar18 || window.jsmd.v.eVar4)) || '';if (cvp && typeof cvp.reportAnalytics === 'function') {if (prevVideoId.length === 0 && document.referrer && document.referrer.search(/\/videos\//) >= 0) {prevVideoId = document.referrer.replace(/^(?:http|https)\:\/\/[^\ /]\/videos\/(.+\.\w+)(?:\/video\/playlists\/.*)?$/, '/video/$1');if (prevVideoId === document.referrer) {prevVideoId = '';}}if (jQuery.isArray(currentVideoCollection) && currentVideoCollection.length > 0) {idx = getNextVideoIndex(contentId);nextVideoId = currentVideoCollection[idx].videoId;nextVideoUrl = currentVideoCollection[idx].videoUrl;currentVideoCollectionId = (window.jsmd && window.jsmd.v && window.jsmd.v.eVar60) || nextVideoUrl.replace(/^.+\/video\/playlists\/(.+)\//, '$1');}cvp.reportAnalytics('videoPageData', {videoCollection: currentVideoCollectionId,videoBranding: CNN.omniture.branding_content_page,templateType: CNN.omniture.template_type,nextVideo: nextVideoId,previousVideo: prevVideoId,referrerType: '',referrerUrl: document.referrer});}},onContentMetadata: function (containerId, playerId, metadata, contentId, duration, width, height) {if (typeof metadata === 'string' && metadata.length > 0) {try {embedLinkHandler.show(JSON.parse(m etadata));} catch (e) {console.log('Invalid video metadata JSON.');}}},onContentBegin: function (containerId, cvpId, contentId) {/** Before the video ad starts, the freewheel companion ad* html needs to be placed on the page so that it can be* triggered by Freewheel to display the companion ad.* onContentBegin triggers updateCompanionLayout which* handles the logic to switch from epic to companion ads*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeEpicAds');CNN.companion.updateCompanionLayout('restoreFreewheel');}clearTimeout(moveToNextTimeout);updateCurrentlyPlaying(contentId);},onContentComplete: function (containerId, cvpId, contentId) {navigateToNextVideo(contentId);},onContentEnd: function (containerId, cvpId, contentId) {/* Add VisualRevenue event on video end */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'stop', configObj.video]);}/** When the video content ends playing, remo ve the epic ad* and prepare the freewheel companion ad for the next video*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeEpicAds');CNN.companion.updateCompanionLayout('restoreFreewheel');}navigateToNextVideo(contentId);},onCVPVisibilityChange: function (containerId, cvpId, visible) {CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, visible);}};if (typeof configObj.context !== 'string' || configObj.context.lengthA surfing paradise in the mountains?
');$owlFirstItem.find('.media__icon').hide();}fastdom.read(function getDisplayInfo() {var $desc = jQuery('.media__video-description'),$pageHeadLine = jQuery('.pg-headline'),$navHeadLine = jQuery(document.getElementById('js-nav-section-article-title')),$dateCreated = jQuery('.metadata__data-added'),videoHeadlineText = videocardContents.headlineText ? decodeURI(videocardContents.headlineText) : '';fastdom.write(function updateDisplayInfo() {var descText,descArr,i;if ($desc.length > 0) {descArr = videocardContents.descriptionText ? videocardContents.descriptionText : [],descText = '';for (i = 0; i 0) {descText = descText + '
' + descArr[i] + '
';}}$desc.html(descText);}$pageHeadLine.html(videoHeadlineText);if ($navHeadLine.length > 0) {$navHeadLine.html(videoHeadlineText);}$dateCreated.html(videocardContents.dateCreated ? 'Added on ' + videocardContents.dateCreated : '');});});if (CNN.Utils.exists(videocardContents.showName)) {if (CNN.Utils.exists(videocardContents.showUrl)) {showDetailsSpanContent = '' + videocardContents.showName + ' | ';} else {showDetailsSpanContent = videocardContents.showName + ' | ';}}fastdom.read(function getShowInfo() {var $show = jQuery('.metadata__show'),$isShowDetailsSpanExists = $show.find('span').hasClass('metadata--show__name'),$showName = jQuery('.metadata--show__name');fastdom.write(function updateShowInfo() {if (!$isShowDetailsSpanExists) {$show.prepend('