After popular demand, bathtub racing returns

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/2019/08/12/ny-bathtub-race-travl-orig.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/190812081702-towns-bizarre-bathtub-races-return-after-20-years-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190812081702-towns-bizarre-bathtub-races-return-after-20-years-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190812081702-towns-bizarre-bathtub-races-return-after-20-years-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190812081702-towns-bizarre-bathtub-races-return-after-20-years-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190812081702-towns-bizarre-bathtub-races-return-after-20-years-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190812081702-towns-bizarre-bathtub-races-return-after-20-years-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190812081702-towns-bizarre-bathtub-races-return-after-20-years-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”For the first time in 20 years, bathtub racing has returned to Moravia’s Fillmore Days festival”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190812081702-towns-bizarre-bathtub-races-return-after-20-years-large-169.jpg”,”title”:”After popular demand, bathtub racing returns”,”videoCMSUrl”:”/videos/travel/2019/08/12/ny-bathtub-race-travl-orig.cnn”,”videoLeafUrl”:”/videos/travel/2019/08/12/ny-bathtub-race-travl-orig.cnn”,”videoId”:”travel/2019/08/12/ny-bathtub-race-travl-orig.cnn”,”videoUrl”:”/videos/travel/2019/08/12/ny-bathtub-race-travl-orig.cnn”},{“descriptionPlainText”:”Coffee is an important part of Turkish culture. Mesude Isikli of Osmaniye, Turkey, has collected over 3,000 coffee cups, and that’s not even the world record.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190808110716-coffee-cup-collection-mesude-isikli-wide-large-169.jpg”,”title”:”A Turkish woman owns over 3,000 coffee cups”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/08/coffee-cup-collection-turkey-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/08/coffee-cup-collection-turkey-travel-orig.cnn”,”videoId”:”travel/2019/08/08/coffee-cup-collection-turkey-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/08/08/coffee-cup-collection-turkey-travel-orig.cnn/video/playlists/travel/”},{“descriptionPlainText”:”The Insect Experience, a pop-up restaurant in Cape Town, South Africa, is serving up a variety of insect-based dishes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190806140917-the-insect-experience-a-pop-up-restaurant-in-cape-town-south-africa-is-serving-up-a-variety-of-insect-based-dishes–large-169.jpg”,”title”:”Try dried mealworms at this insect-only restaurant”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/06/insect-experience-south-africa-restaurant-orig-mss.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/06/insect-experience-south-africa-restaurant-orig-mss.cnn”,”videoId”:”travel/2019/08/06/insect-experience-south-africa-restaurant-orig-mss.cnn”,”videoUrl”:”/videos/travel/2019/08/06/insect-experience-south-africa-restaurant-orig-mss.cnn/video/playlists/travel/”},{“descriptionPlainText”:”Circle of Heroes is the nation’s first underwater veterans memorial, with 12 life-sized concrete statues. It’s one of several underwater attractions in Florida.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190807192638-circle-of-heroes-memorial-large-169.jpg”,”title”:”Dive underwater to see a memorial honoring veterans”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/07/first-underwater-veterans-memorial-florida-ya-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/07/first-underwater-veterans-memorial-florida-ya-orig.cnn”,”videoId”:”travel/2019/08/07/first-underwater-veterans-memorial-florida-ya-orig.cnn”,”videoUrl”:”/videos/travel/2019/08/07/first-underwater-veterans-memorial-florida-ya-orig.cnn/video/playlists/travel/”},{“descriptionPlainText”:”Vegans and meat-eaters line up around the block, hours in advance to get “sluttified” at Slutty Vegan, a restaurant in Atlanta.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190805153254-01-slutty-vegan-large-169.jpg”,”title”:”This restaurant is at the forefront of black veganism “,”videoCMSUrl”:”/video/data/3.0/video/foodanddrink/2019/08/05/slutty-vegan-black-veganism-orig-llr-kc.cnn/index.xml”,”videoLeafUrl”:”/videos/foodanddrink/2019/08/05/slutty-vegan-black-veganism-orig-llr-kc.cnn”,”videoId”:”foodanddrink/2019/08/05/slutty-vegan-black-veganism-orig-llr-kc.cnn”,”videoUrl”:”/videos/foodanddrink/2019/08/05/slutty-vegan-black-veganism-orig-llr-kc.cnn/video/playlists/travel/”},{“descriptionPlainText”:”Holiday World & Splashin’ Safari offers a first-look animation at Cheetah Chase, which gets you up to speed superfast straight out of the station.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190806151251-03-launched-water-coaster-holiday-world-splashin-safari-large-169.jpg”,”title”:”Cheetah Chase at Holiday World & Splashin’ Safari”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/06/cheetah-chase-water-coaster-holiday-world-travel.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/06/cheetah-chase-water-coaster-holiday-world-travel.cnn”,”videoId”:”travel/2019/08/06/cheetah-chase-water-coaster-holiday-world-travel.cnn”,”videoUrl”:”/videos/travel/2019/08/06/cheetah-chase-water-coaster-holiday-world-travel.cnn/video/playlists/travel/”},{“descriptionPlainText”:”A flight attendant on a Southwest Airlines flight welcomed passengers onboard from the comfort of the overhead bin.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190801112115-flight-attendant-in-overhead-large-169.jpg”,”title”:”Flight attendant greets passengers from overhead bin”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/01/flight-attendant-greets-in-overhead-bin-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/01/flight-attendant-greets-in-overhead-bin-orig-jk.cnn”,”videoId”:”travel/2019/08/01/flight-attendant-greets-in-overhead-bin-orig-jk.cnn”,”videoUrl”:”/videos/travel/2019/08/01/flight-attendant-greets-in-overhead-bin-orig-jk.cnn/video/playlists/travel/”},{“descriptionPlainText”:”An 1,800 foot long glass walkway is opening in the Huangguoshu scenic area in the south of China.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190731194144-glass-walkway-huangguoshu-scenic-area-china-2-large-169.jpg”,”title”:”A spiraling glass walkway is opening in China”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/07/30/glass-walkway-huangguoshu-scenic-area-china-orig-mss.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/07/30/glass-walkway-huangguoshu-scenic-area-china-orig-mss.cnn”,”videoId”:”travel/2019/07/30/glass-walkway-huangguoshu-scenic-area-china-orig-mss.cnn”,”videoUrl”:”/videos/travel/2019/07/30/glass-walkway-huangguoshu-scenic-area-china-orig-mss.cnn/video/playlists/travel/”},{“descriptionPlainText”:”The owner of an Australian crocodile farm has told of his shock after finding a surgical plate in the stomach of a 4.7-meter (15-foot) reptile.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190731024042-01-koorana-crocodile-orthopedic-plate-large-169.jpg”,”title”:”Surgical plate found in 15-foot crocodile’s stomach”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/07/31/australia-queensland-crocodile-stomach-surgical-plate-kk-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/07/31/australia-queensland-crocodile-stomach-surgical-plate-kk-lon-orig.cnn”,”videoId”:”travel/2019/07/31/australia-queensland-crocodile-stomach-surgical-plate-kk-lon-orig.cnn”,”videoUrl”:”/videos/travel/2019/07/31/australia-queensland-crocodile-stomach-surgical-plate-kk-lon-orig.cnn/video/playlists/travel/”},{“descriptionPlainText”:”Chef Marco Cruz creates magic every week for his tasting menu at Nomada in San Miguel de Allende, Mexico. Created by Black Buddha”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190726140734-nomada-restaurant-san-miguel-allende-mexico-large-169.jpg”,”title”:”Inspiration trumps the rulebook at this San Miguel restaurant”,”videoCMSUrl”:”/video/data/3.0/video/foodanddrink/2019/07/26/nomada-restaurant-san-miguel-allende-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/foodanddrink/2019/07/26/nomada-restaurant-san-miguel-allende-travel-orig.cnn”,”videoId”:”foodanddrink/2019/07/26/nomada-restaurant-san-miguel-allende-travel-orig.cnn”,”videoUrl”:”/videos/foodanddrink/2019/07/26/nomada-restaurant-san-miguel-allende-travel-orig.cnn/video/playlists/travel/”}],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/2019/08/12/ny-bathtub-race-travl-orig.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-1b5t1xn’,videoDescriptionDivId: ‘js-video_description-1b5t1xn’,videoDurationDivId: ‘js-video_duration-1b5t1xn’,videoTitleDivId: ‘js-leaf-video_headline-1b5t1xn’,videoSourceDivId: ‘js-video_sourceName-1b5t1xn’});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(‘

2019-08-12 20:07:44

Read more from source here…

LEAVE A REPLY

Please enter your comment!
Please enter your name here