Bei Bei is on his way… in his own panda jet

‘);$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/11/19/bei-bei-panda-leaves-china-travel-newssource.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/191119121920-bei-bei-panda-leaves-for-china-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191119121920-bei-bei-panda-leaves-for-china-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191119121920-bei-bei-panda-leaves-for-china-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191119121920-bei-bei-panda-leaves-for-china-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191119121920-bei-bei-panda-leaves-for-china-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191119121920-bei-bei-panda-leaves-for-china-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191119121920-bei-bei-panda-leaves-for-china-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Bei Bei the panda leaves DC today for China, and he’s traveling in style on his own Boeing 777F dubbed the Panda Express.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191119121920-bei-bei-panda-leaves-for-china-large-169.jpg”,”title”:”Bei Bei is on his way… in his own panda jet “,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/11/19/bei-bei-panda-leaves-china-travel-newssource.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/11/19/bei-bei-panda-leaves-china-travel-newssource.cnn”,”videoId”:”travel/2019/11/19/bei-bei-panda-leaves-china-travel-newssource.cnn”,”videoUrl”:”/videos/travel/2019/11/19/bei-bei-panda-leaves-china-travel-newssource.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_2FFCD772-69EF-4B7C-297A-84A48B6BF299″},{“descriptionPlainText”:”Bei Bei the panda took an epic fall at the Smithsonian National Zoo in DC.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180511093324-panda-bei-bei-fall-smithsonian-national-zoo-dc-orig-00000000-large-169.jpg”,”title”:”Bei Bei the panda takes a tumble “,”videoCMSUrl”:”/video/data/3.0/video/us/2018/05/11/panda-bei-bei-fall-smithsonian-national-zoo-dc-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2018/05/11/panda-bei-bei-fall-smithsonian-national-zoo-dc-orig.cnn”,”videoId”:”us/2018/05/11/panda-bei-bei-fall-smithsonian-national-zoo-dc-orig.cnn”,”videoUrl”:”/videos/us/2018/05/11/panda-bei-bei-fall-smithsonian-national-zoo-dc-orig.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_2FFCD772-69EF-4B7C-297A-84A48B6BF299″},{“descriptionPlainText”:”Six month old panda bear Bei Bei attempts to climb a tree at the Smithsonian National Zoo.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160208201338-bei-bei-panda-climbs-tree-orig-mss-00000015-large-169.jpg”,”title”:”Panda cub climbs a tree”,”videoCMSUrl”:”/video/data/3.0/video/us/2016/02/09/bei-bei-panda-climbs-tree-orig-mss.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2016/02/09/bei-bei-panda-climbs-tree-orig-mss.cnn”,”videoId”:”us/2016/02/09/bei-bei-panda-climbs-tree-orig-mss.cnn”,”videoUrl”:”/videos/us/2016/02/09/bei-bei-panda-climbs-tree-orig-mss.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_1C3F908C-FB60-5A2B-A51A-4F5A3E3C3523″},{“descriptionPlainText”:”Giant panda cub Bei Bei ventures outside for the first time at the Smithsonian National Zoo.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160205073136-panda-bei-bei-large-169.jpg”,”title”:”Panda cub Bei Bei plays outside for first time”,”videoCMSUrl”:”/video/data/3.0/video/us/2016/02/05/panda-bei-bei-plays-outside-newday.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2016/02/05/panda-bei-bei-plays-outside-newday.cnn”,”videoId”:”us/2016/02/05/panda-bei-bei-plays-outside-newday.cnn”,”videoUrl”:”/videos/us/2016/02/05/panda-bei-bei-plays-outside-newday.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_84A68B65-D1D6-F4F7-F8B3-C3944E6EC662″},{“descriptionPlainText”:”Passengers on a Norwegian Cruise Line trip started a protest after multiple port calls were cancelled because of weather conditions”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191010170450-cruise-protest-thumb-1-large-169.jpg”,”title”:”Videos from cruise show passengers demanding refunds”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/10/videos-from-cruise-show-passengers-demanding-refunds-orig-ll.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/10/videos-from-cruise-show-passengers-demanding-refunds-orig-ll.cnn”,”videoId”:”travel/2019/10/10/videos-from-cruise-show-passengers-demanding-refunds-orig-ll.cnn”,”videoUrl”:”/videos/travel/2019/10/10/videos-from-cruise-show-passengers-demanding-refunds-orig-ll.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_C4601F4A-4379-094E-16AC-B164D26DC34A”},{“descriptionPlainText”:”A camera on a Bay Area tower captured dense fog flowing over the Golden Gate Bridge in San Francisco. Watch this incredible time-lapse of the “advection fog.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009121203-golden-gate-bridge-fog-large-169.jpg”,”title”:”Tower camera captures incredible fog over Golden Gate “,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/09/golden-gate-bridge-fog-travel-newssource.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/09/golden-gate-bridge-fog-travel-newssource.cnn”,”videoId”:”travel/2019/10/09/golden-gate-bridge-fog-travel-newssource.cnn”,”videoUrl”:”/videos/travel/2019/10/09/golden-gate-bridge-fog-travel-newssource.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_E65BCB95-7142-ADED-93C8-B777EEED0FE8″},{“descriptionPlainText”:”Autumn is bringing beautiful fall foliage across the Unites States.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191010122627-fall-leaves-large-169.jpg”,”title”:”Drone captures beautiful autumn colors”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/10/fall-foliage-drone-shot-newsource-orig-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/10/fall-foliage-drone-shot-newsource-orig-vpx.cnn”,”videoId”:”travel/2019/10/10/fall-foliage-drone-shot-newsource-orig-vpx.cnn”,”videoUrl”:”/videos/travel/2019/10/10/fall-foliage-drone-shot-newsource-orig-vpx.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_E30B5706-4303-9C45-7620-B13A21E0EC99″},{“descriptionPlainText”:”Jessica Van Meir was on a Virgin Atlantic flight for business when she received lewd and harassing messages on the plane’s in-flight messaging system. The story sparked outrage.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/130809084617-virgin-atlantic-plane-large-169.jpg”,”title”:”Virgin’s in-flight messaging tool goes very wrong”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/09/virgin-in-flight-messaging-harassment-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/09/virgin-in-flight-messaging-harassment-travel-orig.cnn”,”videoId”:”travel/2019/10/09/virgin-in-flight-messaging-harassment-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/10/09/virgin-in-flight-messaging-harassment-travel-orig.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_67561C3A-AE67-CAF5-6AF5-B6792E083F9A”},{“descriptionPlainText”:”A British couple got a big surprise at their wedding in Las Vegas when rock legend Rod Stewart turned up unannounced to sing at the ceremony at Caesars Palace.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190226125926-rod-stewart-celtic-large-169.jpg”,”title”:”Rod Stewart crashes couple’s wedding and sings to them”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/04/rod-stewart-crashes-las-vegas-wedding-sings-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/04/rod-stewart-crashes-las-vegas-wedding-sings-vpx.hln”,”videoId”:”travel/2019/10/04/rod-stewart-crashes-las-vegas-wedding-sings-vpx.hln”,”videoUrl”:”/videos/travel/2019/10/04/rod-stewart-crashes-las-vegas-wedding-sings-vpx.hln/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_B7F9299F-60AB-27E5-DE67-B0E7CE5986B9″},{“descriptionPlainText”:”Researchers in Israel have discovered the remains of a 5,000 year old city that housed approximately 6,000 people in the 4th millennium BCE.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191007144236-israel-5000-year-old-city-uncovered-large-169.jpg”,”title”:”Ancient ruins reveal city that housed 6,000 people”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/07/ancient-5000-year-old-city-ruins-discovered-israel-dig-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/07/ancient-5000-year-old-city-ruins-discovered-israel-dig-orig-jk.cnn”,”videoId”:”travel/2019/10/07/ancient-5000-year-old-city-ruins-discovered-israel-dig-orig-jk.cnn”,”videoUrl”:”/videos/travel/2019/10/07/ancient-5000-year-old-city-ruins-discovered-israel-dig-orig-jk.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_86C92293-ADF9-1388-C957-9752898334AE”},{“descriptionPlainText”:”Authorities are investigating how a woman managed to board a Delta Air Lines flight from Orlando to Atlanta without identification or a boarding pass.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190926135410-delta-airlines-large-169.jpg”,”title”:”Delta responds after woman boards flight without ticket”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/07/woman-boards-delta-flight-without-boarding-pass-or-id-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/07/woman-boards-delta-flight-without-boarding-pass-or-id-mxp-vpx.hln”,”videoId”:”travel/2019/10/07/woman-boards-delta-flight-without-boarding-pass-or-id-mxp-vpx.hln”,”videoUrl”:”/videos/travel/2019/10/07/woman-boards-delta-flight-without-boarding-pass-or-id-mxp-vpx.hln/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_3A8E2265-C4A3-2E41-7D90-A774069ED8FA”},{“descriptionPlainText”:”It was once the biggest military base in Europe, but now Germany’s “Forbidden City” sits empty and forgotten.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191003114331-germany-hidden-fortress4-large-169.jpg”,”title”:”Take a tour inside Germany’s ‘Forbidden City'”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/03/germany-forbidden-city-soviet-military-base-lon-orig-ejk.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/03/germany-forbidden-city-soviet-military-base-lon-orig-ejk.cnn”,”videoId”:”travel/2019/10/03/germany-forbidden-city-soviet-military-base-lon-orig-ejk.cnn”,”videoUrl”:”/videos/travel/2019/10/03/germany-forbidden-city-soviet-military-base-lon-orig-ejk.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_BEA82A03-24C8-A50F-6D51-A7AB6EA1919B”},{“descriptionPlainText”:”A pair of pesky penguins broke into a sushi restaurant, were removed by officials and then decided to head back to the scene of the crime.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190719111557-penguins-break-into-sushi-restaurant-large-169.jpg”,”title”:”Penguins break into a sushi restaurant … again”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/07/19/penguins-break-into-sushi-restaurant-again-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/07/19/penguins-break-into-sushi-restaurant-again-lon-orig.cnn”,”videoId”:”travel/2019/07/19/penguins-break-into-sushi-restaurant-again-lon-orig.cnn”,”videoUrl”:”/videos/travel/2019/07/19/penguins-break-into-sushi-restaurant-again-lon-orig.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_1577316E-5C32-0D0F-0A07-9236D440F89D”},{“descriptionPlainText”:”A family had a close encounter with a great white shark when it swam underneath their boat near Provincetown, Massachusetts.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190814100558-great-white-shark-cape-cod-large-169.jpg”,”title”:”Family films great white shark under boat on Cape Cod”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/14/family-encounters-great-white-shark-massachusetts-dnt-vpx.whdh/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/14/family-encounters-great-white-shark-massachusetts-dnt-vpx.whdh”,”videoId”:”travel/2019/08/14/family-encounters-great-white-shark-massachusetts-dnt-vpx.whdh”,”videoUrl”:”/videos/travel/2019/08/14/family-encounters-great-white-shark-massachusetts-dnt-vpx.whdh/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_EDE6492A-087D-EE52-00FA-0AC356DC8584″},{“descriptionPlainText”:”Visitors delighted by an itchy grizzly bear at an Ohio zoo”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190813085645-itchy-grizzly-bear-gives-zoo-visitors-a-good-laugh-large-169.jpg”,”title”:”Grizzly takes care of its “bear necessities””,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/13/itchy-bear-trvl-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/13/itchy-bear-trvl-orig.cnn”,”videoId”:”travel/2019/08/13/itchy-bear-trvl-orig.cnn”,”videoUrl”:”/videos/travel/2019/08/13/itchy-bear-trvl-orig.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_435DF246-994F-6B84-48E1-905F41EAE53C”},{“descriptionPlainText”:”Mist filled Delta Flight 100 while it was waiting to takeoff from Jacksonville, Florida, alarming those on board. Passengers say the flight crew gave little to no explanation as to what was going on. Delta said that since the incident was related to humidity it wasn’t required to report it to the FAA, according to CNN afilliate WCBS.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190814114905-delta-plane-fills-with-mist-before-takeoff-dnt-vpx-00000204-large-169.jpg”,”title”:”Thick mist inside Delta plane left passengers wondering”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/14/delta-plane-fills-with-mist-before-takeoff-dnt-vpx.wcbs/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/14/delta-plane-fills-with-mist-before-takeoff-dnt-vpx.wcbs”,”videoId”:”travel/2019/08/14/delta-plane-fills-with-mist-before-takeoff-dnt-vpx.wcbs”,”videoUrl”:”/videos/travel/2019/08/14/delta-plane-fills-with-mist-before-takeoff-dnt-vpx.wcbs/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_7E368A32-4FF6-74D9-F7FA-8B6A13E802FD”},{“descriptionPlainText”:”A human-sized jellyfish was spotted off the coast of Falmouth, England by a wildlife biologist.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190715144913-giant-jellyfish-large-169.jpg”,”title”:”Spotted: A giant jellyfish the size of a human”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/07/15/giant-jellyfish-human-sized-kc-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/07/15/giant-jellyfish-human-sized-kc-orig.cnn”,”videoId”:”travel/2019/07/15/giant-jellyfish-human-sized-kc-orig.cnn”,”videoUrl”:”/videos/travel/2019/07/15/giant-jellyfish-human-sized-kc-orig.cnn/video/playlists/cnn-travel-top-news-stories/”,”surrogateKey”:”video_2D0839D5-036D-8814-1F09-90EC43A74156″}],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/11/19/bei-bei-panda-leaves-china-travel-newssource.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-1oajiga’,videoDescriptionDivId: ‘js-video_description-1oajiga’,videoDurationDivId: ‘js-video_duration-1oajiga’,videoTitleDivId: ‘js-leaf-video_headline-1oajiga’,videoSourceDivId: ‘js-video_sourceName-1oajiga’});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(‘

Bei Bei is on his way… in his own panda jet

Leave a Reply