New York’s oldest bars, still standing

‘);$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/02/17/new-york-city-oldest-bars-style-capital-orig.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_style_stylecapital_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200218110524-nyc-oldest-bars-old-towne-wide-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200218110524-nyc-oldest-bars-old-towne-wide-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200218110524-nyc-oldest-bars-old-towne-wide-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200218110524-nyc-oldest-bars-old-towne-wide-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200218110524-nyc-oldest-bars-old-towne-wide-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200218110524-nyc-oldest-bars-old-towne-wide-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200218110524-nyc-oldest-bars-old-towne-wide-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“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_04228CA5-608E-45CD-8326-542FB5B92984″},{“descriptionPlainText”:”Julius’ bar looks like a regular West Village neighborhood joint, but this gay bar is the setting of half-a-dozen Hollywood film scenes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200218105533-nyc-oldest-bars-julius-bartender-large-169.jpg”,”title”:”The gay bar you’ve seen in half-a-dozen films”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/17/julius-bar-nyc-movies-style-captial-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/17/julius-bar-nyc-movies-style-captial-orig.cnn”,”videoId”:”travel/2020/02/17/julius-bar-nyc-movies-style-captial-orig.cnn”,”videoUrl”:”/videos/travel/2020/02/17/julius-bar-nyc-movies-style-captial-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_47C78D13-77AF-D62B-8227-2ED01896B195″},{“descriptionPlainText”:”Thousands of men stripped off to take part in “Hadaka Matsuri”, an annual “Naked Festival” on Japan’s Honshu Island.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200217110407-japan-naked-festival-restricted-large-169.jpg”,”title”:”Inside Japan’s annual ‘Naked Festival'”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/17/japan-naked-festival-lon-orig-mrg.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/17/japan-naked-festival-lon-orig-mrg.cnn”,”videoId”:”travel/2020/02/17/japan-naked-festival-lon-orig-mrg.cnn”,”videoUrl”:”/videos/travel/2020/02/17/japan-naked-festival-lon-orig-mrg.cnn/video/playlists/travel/”,”surrogateKey”:”video_04228CA5-608E-45CD-8326-542FB5B92984″},{“descriptionPlainText”:”Wendi Williams, who describes herself as a teacher in Virginia Beach, shared a video showing a man repeatedly pushing her reclined seat on an American Airlines flight. The video has gone viral, but the debate over reclining seats in economy isn’t new. CNN’s Richard Quest reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200214163855-viral-video-plane-passenger-punching-reclining-seat-travel-quest-vpx-00000315-large-169.jpg”,”title”:”This viral video has people debating reclining on planes”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/14/viral-video-plane-passenger-punching-reclining-seat-travel-quest-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/14/viral-video-plane-passenger-punching-reclining-seat-travel-quest-vpx.cnn”,”videoId”:”travel/2020/02/14/viral-video-plane-passenger-punching-reclining-seat-travel-quest-vpx.cnn”,”videoUrl”:”/videos/travel/2020/02/14/viral-video-plane-passenger-punching-reclining-seat-travel-quest-vpx.cnn/video/playlists/travel/”,”surrogateKey”:”video_40CF6F23-BC3D-D1EE-B8D1-54D75BC43D0D”},{“descriptionPlainText”:”New owners show CNN hidden tunnels and secret rooms at the Harry Caray Italian Steakhouse in Chicago. The landmark once played a key role in the gangster world of Al Capone.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200214110716-harry-caray-italian-steakhouse-ext-large-169.jpg”,”title”:”Inside the world of America’s most notorious gangster”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/14/harry-caray-italian-steakhouse-chicago-qwow.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/14/harry-caray-italian-steakhouse-chicago-qwow.cnn”,”videoId”:”travel/2020/02/14/harry-caray-italian-steakhouse-chicago-qwow.cnn”,”videoUrl”:”/videos/travel/2020/02/14/harry-caray-italian-steakhouse-chicago-qwow.cnn/video/playlists/travel/”,”surrogateKey”:”video_819A2606-DA30-B295-6F3A-52CC6B1EFDE4″},{“descriptionPlainText”:”This little rescue got quite a treat after the Australian Defense Force saved it from fires burning on Australia’s Kangaroo Island.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200214045241-koala-rescue-belly-rubs-travel-newssource-orig-00001804-large-169.jpg”,”title”:”You need to watch this rescued koala getting belly rubs”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/13/koala-rescue-belly-rubs-travel-newssource-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/13/koala-rescue-belly-rubs-travel-newssource-orig.cnn”,”videoId”:”travel/2020/02/13/koala-rescue-belly-rubs-travel-newssource-orig.cnn”,”videoUrl”:”/videos/travel/2020/02/13/koala-rescue-belly-rubs-travel-newssource-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_0A17D7A3-EB59-6F35-5ABC-4583FD0995B5″},{“descriptionPlainText”:”The Los Angeles Zoo recently welcomed its first baby gorilla in more than two decades.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200212111621-los-angeles-zoo-baby-gorilla-large-169.jpg”,”title”:”Los Angeles Zoo welcomes baby gorilla”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/12/los-angeles-zoo-baby-gorilla-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/12/los-angeles-zoo-baby-gorilla-orig.cnn”,”videoId”:”travel/2020/02/12/los-angeles-zoo-baby-gorilla-orig.cnn”,”videoUrl”:”/videos/travel/2020/02/12/los-angeles-zoo-baby-gorilla-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_F5DA0D98-03D7-C786-68CB-44A17C299A8A”},{“descriptionPlainText”:”The art of kimono making has fallen into steep decline. But a cadre of craftsmen are trying to preserve this enduring symbol of Japan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200213131305-kimono-design-tokyo-two-sides-00002409-large-169.jpg”,”title”:”Modernizing the kimono”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/13/kimono-design-tokyo-two-sides.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/13/kimono-design-tokyo-two-sides.cnn”,”videoId”:”travel/2020/02/13/kimono-design-tokyo-two-sides.cnn”,”videoUrl”:”/videos/travel/2020/02/13/kimono-design-tokyo-two-sides.cnn/video/playlists/travel/”,”surrogateKey”:”video_84BA6370-2ACE-8CAF-C0B8-3F7D4A7A721B”},{“descriptionPlainText”:”A storm battered Northern Europe with damaging winds and caused bumpy travel for some airline passengers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200210135026-uk-storm-flights-topfelya-1-large-169.jpg”,”title”:”Storm wreaks havoc on air travel in Europe”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/10/europe-airports-storm-flights-orig-vstan-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/10/europe-airports-storm-flights-orig-vstan-bdk.cnn”,”videoId”:”travel/2020/02/10/europe-airports-storm-flights-orig-vstan-bdk.cnn”,”videoUrl”:”/videos/travel/2020/02/10/europe-airports-storm-flights-orig-vstan-bdk.cnn/video/playlists/travel/”,”surrogateKey”:”video_F693F031-A84A-D44B-F65E-3A2B61FF543F”},{“descriptionPlainText”:”This remote archipelago off the northwestern coast of British Columbia is at once thrilling, serene and mysterious”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200116142214-02-haida-gwaii-large-169.jpg”,”title”:”Visiting Haida Gwaii, Canada’s most mysterious islands”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/22/haida-gwaii-canada-mysterious-islands-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/22/haida-gwaii-canada-mysterious-islands-travel-orig.cnn”,”videoId”:”travel/2020/01/22/haida-gwaii-canada-mysterious-islands-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/01/22/haida-gwaii-canada-mysterious-islands-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_DC74923F-2BB9-6B14-AD76-3D2583E39AC9″},{“descriptionPlainText”:”A young boy was gifted a new teddy bear from Southwest Airlines after he lost his old one on a flight.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200203081153-southwest-airlines-replaces-bear-large-169.jpg”,”title”:”Airline helps out boy who lost teddy bear on plane”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/02/03/southwest-airlines-replaces-teddy-bear-ns-roth-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/02/03/southwest-airlines-replaces-teddy-bear-ns-roth-orig.cnn”,”videoId”:”travel/2020/02/03/southwest-airlines-replaces-teddy-bear-ns-roth-orig.cnn”,”videoUrl”:”/videos/travel/2020/02/03/southwest-airlines-replaces-teddy-bear-ns-roth-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_8E4A08C3-ABBD-9432-A039-305E534EE6BA”},{“descriptionPlainText”:”Photographers in Yosemite National Park encountered the natural phenomenon known as “firefall” where lava appears to be flowing over a cliff at sunset.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190220093116-yosemite-firefall-february-2019-1-large-169.jpg”,”title”:”‘Lava waterfall’ reappears at Yosemite National Park (2019) “,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/02/20/yosemite-national-park-firefall-orig-vstop-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/02/20/yosemite-national-park-firefall-orig-vstop-bdk.cnn”,”videoId”:”travel/2019/02/20/yosemite-national-park-firefall-orig-vstop-bdk.cnn”,”videoUrl”:”/videos/travel/2019/02/20/yosemite-national-park-firefall-orig-vstop-bdk.cnn/video/playlists/travel/”,”surrogateKey”:”video_3AA64A42-2384-DD61-F697-CF1C7AACFABD”},{“descriptionPlainText”:”Germany’s first set of twin giant panda cubs take their first steps outside and make their public debut in Zoo Berlin.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200130103528-03-berlin-zoo-pandas-0129-large-169.jpg”,”title”:”Germany’s first baby pandas make their public debut”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/29/twin-baby-pandas-zoo-berlin-vc-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/29/twin-baby-pandas-zoo-berlin-vc-orig.cnn”,”videoId”:”travel/2020/01/29/twin-baby-pandas-zoo-berlin-vc-orig.cnn”,”videoUrl”:”/videos/travel/2020/01/29/twin-baby-pandas-zoo-berlin-vc-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_7F972056-91D8-5842-C853-0B267E30167D”},{“descriptionPlainText”:”Climate change in Greenland is threatening the fishing and hunting traditions that sustain father and son Niels and Edward Poulsen’s Inuit way of life.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190611101333-greenland-fishing-1-large-169.jpg”,”title”:”How climate change is threatening Greenland”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/06/11/greenlandic-fishing-traditions-under-threat-mxb-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/06/11/greenlandic-fishing-traditions-under-threat-mxb-lon-orig.cnn”,”videoId”:”travel/2019/06/11/greenlandic-fishing-traditions-under-threat-mxb-lon-orig.cnn”,”videoUrl”:”/videos/travel/2019/06/11/greenlandic-fishing-traditions-under-threat-mxb-lon-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_23C3215E-0765-CB00-F34B-0B40D8BEFF06″},{“descriptionPlainText”:”The northern reaches of Kerala, one of India’s greenest and most beautiful states, is a peaceful place where local people live and work closely with their natural environment.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200128122129-wayanad-large-169.jpg”,”title”:”Living in harmony with nature in Kerala”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/28/kerala-sights-and-sounds-two.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/28/kerala-sights-and-sounds-two.cnn”,”videoId”:”travel/2020/01/28/kerala-sights-and-sounds-two.cnn”,”videoUrl”:”/videos/travel/2020/01/28/kerala-sights-and-sounds-two.cnn/video/playlists/travel/”,”surrogateKey”:”video_BC1A7AA1-6687-3C6B-E814-F357224FA9F6″},{“descriptionPlainText”:”The world’s longest and largest twin-engine airliner, the Boeing 777-9X, has completed its first test flight from Boeing’s wide-body factory near Seattle.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200127150741-boeing-777x-dv-large-169.jpg”,”title”:”Boeing’s record-breaking 777-9X takes to the skies “,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/27/boeing-777-9x-airplane-first-flight-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/27/boeing-777-9x-airplane-first-flight-lon-orig.cnn”,”videoId”:”travel/2020/01/27/boeing-777-9x-airplane-first-flight-lon-orig.cnn”,”videoUrl”:”/videos/travel/2020/01/27/boeing-777-9x-airplane-first-flight-lon-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_60FD940F-BEC8-A4F1-F828-45CB0FDFC483″},{“descriptionPlainText”:”With Europe second only to Asia as the fastest growing regional tourist destination, cities across the continent are stepping up efforts to curb overcrowding and improve conditions for locals.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200110114217-europe-overtourism-dv-large-169.jpg”,”title”:”How European cities are tackling overtourism in 2020 “,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/10/european-cities-overtourism-2020-mxb-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/10/european-cities-overtourism-2020-mxb-lon-orig.cnn”,”videoId”:”travel/2020/01/10/european-cities-overtourism-2020-mxb-lon-orig.cnn”,”videoUrl”:”/videos/travel/2020/01/10/european-cities-overtourism-2020-mxb-lon-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_4C81B5D4-9FC0-F749-860B-EC04DBD4166C”},{“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_531446D1-954E-FB72-23A4-E788D7537DAC”}],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/02/17/new-york-city-oldest-bars-style-capital-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-16albnb’,videoDescriptionDivId: ‘js-video_description-16albnb’,videoDurationDivId: ‘js-video_duration-16albnb’,videoTitleDivId: ‘js-leaf-video_headline-16albnb’,videoSourceDivId: ‘js-video_sourceName-16albnb’});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(‘

New York’s oldest bars, still standing

Leave a Reply