Tourists make narrow escape as rhino charges

0
12

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2019/08/20/rhinoceros-charge-close-call-orig-vstan-bdk.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/190820132241-rhino-charge-close-call-1-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820132241-rhino-charge-close-call-1-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820132241-rhino-charge-close-call-1-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820132241-rhino-charge-close-call-1-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820132241-rhino-charge-close-call-1-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820132241-rhino-charge-close-call-1-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820132241-rhino-charge-close-call-1-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Video shows a group of tourists being chased for over a minute by a white rhinoceros at a gaming reserve in South Africa.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190820132241-rhino-charge-close-call-1-large-169.jpg”,”title”:”Tourists make narrow escape as rhino charges”,”videoCMSUrl”:”/videos/world/2019/08/20/rhinoceros-charge-close-call-orig-vstan-bdk.cnn”,”videoLeafUrl”:”/videos/world/2019/08/20/rhinoceros-charge-close-call-orig-vstan-bdk.cnn”,”videoId”:”world/2019/08/20/rhinoceros-charge-close-call-orig-vstan-bdk.cnn”,”videoUrl”:”/videos/world/2019/08/20/rhinoceros-charge-close-call-orig-vstan-bdk.cnn”,”surrogateKey”:”video_8565BA7F-314D-C434-64ED-AFFFE3BB32AC”},{“descriptionPlainText”:”Top-tier collegiate golf is coming to Howard University, thanks to a gift from one of the NBA’s biggest stars. CNN’s Brooke Baldwin spoke with Otis Ferguson, the student who reached out to get Steph Curry involved.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190820163037-stephen-curry-howard-university-golf-large-169.jpg”,”title”:”NBA star donates money to start golf team at Howard “,”videoCMSUrl”:”/video/data/3.0/video/us/2019/08/20/steph-curry-howard-university-golf-donation-otis-ferguson-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/08/20/steph-curry-howard-university-golf-donation-otis-ferguson-sot-nr-vpx.cnn”,”videoId”:”us/2019/08/20/steph-curry-howard-university-golf-donation-otis-ferguson-sot-nr-vpx.cnn”,”videoUrl”:”/videos/us/2019/08/20/steph-curry-howard-university-golf-donation-otis-ferguson-sot-nr-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_1EC59D44-4384-EEE8-622D-B0B0C4ED6790″},{“descriptionPlainText”:”High winds in Stapleton, Colorado sent dozens of air mattresses rolling through a field like tumbleweeds.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190820102746-mattresses-colorado-02-large-169.jpg”,”title”:”Gust of wind hurls mattresses through field”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/08/20/air-mattresses-blow-away-colorado-ns-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/08/20/air-mattresses-blow-away-colorado-ns-orig.cnn”,”videoId”:”us/2019/08/20/air-mattresses-blow-away-colorado-ns-orig.cnn”,”videoUrl”:”/videos/us/2019/08/20/air-mattresses-blow-away-colorado-ns-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_BC040EF6-491A-B38E-6645-AF6471019A2A”},{“descriptionPlainText”:”Popeyes, Wendy’s and Chick-fil-A are in a Twitter battle over who has the best chicken sandwich.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150915170042-wendys-chicken-sandwich-large-169.jpeg”,”title”:”Fast food chains beefing over chicken”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/20/fast-food-popeyes-wendys-chickfila-twitter-feud-chicken-sandwich-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/20/fast-food-popeyes-wendys-chickfila-twitter-feud-chicken-sandwich-mxp-vpx.hln”,”videoId”:”business/2019/08/20/fast-food-popeyes-wendys-chickfila-twitter-feud-chicken-sandwich-mxp-vpx.hln”,”videoUrl”:”/videos/business/2019/08/20/fast-food-popeyes-wendys-chickfila-twitter-feud-chicken-sandwich-mxp-vpx.hln/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_5D84E00D-C082-75DB-72FB-AFA9F5570E43″},{“descriptionPlainText”:”Tourists on a safari in South Africa captured a rhino charging their vehicle on video.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190820113115-rhino-charging-latestsightings-com-large-169.jpg”,”title”:”Frightening video shows close call with rhino on safari “,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/20/rhino-charge-south-africa-safari-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/20/rhino-charge-south-africa-safari-mxp-vpx.hln”,”videoId”:”world/2019/08/20/rhino-charge-south-africa-safari-mxp-vpx.hln”,”videoUrl”:”/videos/world/2019/08/20/rhino-charge-south-africa-safari-mxp-vpx.hln/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_73DFDC54-AA38-D9E7-E8DD-AFA1B13CF8CC”},{“descriptionPlainText”:”Two teenage boys barricaded themselves in a room and called authorities as a bear raided their fridge in Truckee, California.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190820104007-teens-home-while-bear-raids-fridge-california-newsource-orig-00002008-large-169.jpg”,”title”:”Teens come face to face with bear as it raids fridge”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/08/20/teens-home-while-bear-raids-fridge-california-newsource-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/08/20/teens-home-while-bear-raids-fridge-california-newsource-orig.cnn”,”videoId”:”us/2019/08/20/teens-home-while-bear-raids-fridge-california-newsource-orig.cnn”,”videoUrl”:”/videos/us/2019/08/20/teens-home-while-bear-raids-fridge-california-newsource-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_C17A3085-92F7-B7B1-04C1-AF63EF51FC90″},{“descriptionPlainText”:”Sir Elton John comes to the defense of the Duke and Dutchess of Sussex after media slammed the couple for their use of private jets. CNN’s Melissa Bell reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180409110532-024-prince-harry-and-elton-john-large-169.jpg”,”title”:”Elton John defends Meghan Markle and Prince Harry”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/20/elton-john-defends-meghan-markle-prince-harry-private-jet-newday-bell-lkl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/20/elton-john-defends-meghan-markle-prince-harry-private-jet-newday-bell-lkl-vpx.cnn”,”videoId”:”world/2019/08/20/elton-john-defends-meghan-markle-prince-harry-private-jet-newday-bell-lkl-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/20/elton-john-defends-meghan-markle-prince-harry-private-jet-newday-bell-lkl-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_251EE684-C1DB-A97A-92C2-AF07762B7C6F”},{“descriptionPlainText”:”Reynaldo Arroyo has been growing his hair out for 15 years, but he finally decided to cut it so he could enlist in the Army.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190818135934-01-us-army-haircut-trnd-large-169.jpg”,”title”:”He cut his hair after 15 years to join the Army”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/08/19/army-recruit-haircut-newsource-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/08/19/army-recruit-haircut-newsource-orig.cnn”,”videoId”:”us/2019/08/19/army-recruit-haircut-newsource-orig.cnn”,”videoUrl”:”/videos/us/2019/08/19/army-recruit-haircut-newsource-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_0929FC13-74C2-C480-2392-A9DB0CB3652D”},{“descriptionPlainText”:”The shirt off President Obama’s back was auctioned off for $120,000 … holes included. CNN’s Jeanne Moos reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190819204332-obama-jersey-sells-for-120k-large-169.jpg”,”title”:”He kept Obama’s high school jersey. It just sold for $120K”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/08/19/obama-high-school-jersey-auction-moos-pkg-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/08/19/obama-high-school-jersey-auction-moos-pkg-ebof-vpx.cnn”,”videoId”:”politics/2019/08/19/obama-high-school-jersey-auction-moos-pkg-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2019/08/19/obama-high-school-jersey-auction-moos-pkg-ebof-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_0BCC80AE-7952-F125-E1A8-AB2875EC2597″},{“descriptionPlainText”:”When a young woman in a wheelchair fell off a cruise ship dock in St. Martin, two local entertainers jumped in after her to save her from drowning.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190818154703-cruise-rescue-1-large-169.jpg”,”title”:”Watch rescue of cruise ship passenger who fell off dock”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/08/18/virgin-islands-cruise-wheelchair-rescue-orig-ff.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/08/18/virgin-islands-cruise-wheelchair-rescue-orig-ff.cnn”,”videoId”:”us/2019/08/18/virgin-islands-cruise-wheelchair-rescue-orig-ff.cnn”,”videoUrl”:”/videos/us/2019/08/18/virgin-islands-cruise-wheelchair-rescue-orig-ff.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_056A1CA3-3C0C-A04B-3B18-A629BFD6D9DC”},{“descriptionPlainText”:”Model Ashley Graham showed off her pregnancy stretch marks in a photo posted to Instagram, prompting a positive reaction from fans.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181009112236-plus-size-models-card-large-169.jpg”,”title”:”Model shows off her pregnancy stretch marks”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2019/08/19/ashley-graham-pregnancy-stretch-marks-photo-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/entertainment/2019/08/19/ashley-graham-pregnancy-stretch-marks-photo-vpx.hln”,”videoId”:”entertainment/2019/08/19/ashley-graham-pregnancy-stretch-marks-photo-vpx.hln”,”videoUrl”:”/videos/entertainment/2019/08/19/ashley-graham-pregnancy-stretch-marks-photo-vpx.hln/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_91051C8E-BCA2-F2B6-5111-AA19A98B9827″},{“descriptionPlainText”:”Two years after a Georgia man drowned at a Tennessee waterfall, his family received an unexpected surprise that could help bring them some closure.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190817002026-richard-ragland-large-169.jpg”,”title”:”Diver finds SD card containing man’s last moments”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/08/17/georgia-man-last-moments-treasure-hunter-youtube-sd-card-vpx.wsb/index.xml”,”videoLeafUrl”:”/videos/us/2019/08/17/georgia-man-last-moments-treasure-hunter-youtube-sd-card-vpx.wsb”,”videoId”:”us/2019/08/17/georgia-man-last-moments-treasure-hunter-youtube-sd-card-vpx.wsb”,”videoUrl”:”/videos/us/2019/08/17/georgia-man-last-moments-treasure-hunter-youtube-sd-card-vpx.wsb/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_41570697-99F5-B10E-6674-9D7C1946905E”},{“descriptionPlainText”:”‘Good Boys,’ an R-rated comedy from Seth Rogen scored the top box office spot over the weekend, making it the first R-rated comedy movie to do since 2016.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190523171014-12-summer-movies-good-boys-large-169.jpg”,”title”:”Comedy snags top box office spot with $21 million”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/19/good-boys-box-office-sot-es-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/19/good-boys-box-office-sot-es-vpx.cnn”,”videoId”:”business/2019/08/19/good-boys-box-office-sot-es-vpx.cnn”,”videoUrl”:”/videos/business/2019/08/19/good-boys-box-office-sot-es-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_ECAA0F35-A7E2-BC98-E817-A9E83FE01603″},{“descriptionPlainText”:”A Wisconsin woman found a living frog in the organic lettuce she purchased. CNN affiliate WTMJ has the story.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190819081739-frog-found-in-organic-lettuce-pkg-vpx-00000000-large-169.jpg”,”title”:”Woman finds a live frog in a package of organic lettuce”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/08/17/frog-found-in-organic-lettuce-pkg-vpx.wtmj/index.xml”,”videoLeafUrl”:”/videos/us/2019/08/17/frog-found-in-organic-lettuce-pkg-vpx.wtmj”,”videoId”:”us/2019/08/17/frog-found-in-organic-lettuce-pkg-vpx.wtmj”,”videoUrl”:”/videos/us/2019/08/17/frog-found-in-organic-lettuce-pkg-vpx.wtmj/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_A0E7A564-27FF-A0A3-443F-A09DA2CF922C”},{“descriptionPlainText”:”A fisherman got quite a shock when a 14-foot hammerhead shark stole the tarpon he was trying to pull into his boat. CNN affiliate Bay News 9 reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190819001509-hammerhead-shark-steals-catch-large-169.jpg”,”title”:”Hammerhead shark snatches catch from fisherman’s hand”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/08/19/hammerhead-shark-steals-catch-from-fisherman-pkg-vpx.bay-news-9/index.xml”,”videoLeafUrl”:”/videos/us/2019/08/19/hammerhead-shark-steals-catch-from-fisherman-pkg-vpx.bay-news-9″,”videoId”:”us/2019/08/19/hammerhead-shark-steals-catch-from-fisherman-pkg-vpx.bay-news-9″,”videoUrl”:”/videos/us/2019/08/19/hammerhead-shark-steals-catch-from-fisherman-pkg-vpx.bay-news-9/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_FC95C17C-35FD-C4D8-8BDA-A7D030DAB73F”},{“descriptionPlainText”:”Video captured the moment lightning nearly struck Romulus McNeill’s umbrella as he was walking down a sidewalk.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190818185120-lightning-strikes-man-umbrella-large-169.jpg”,”title”:”Watch moment lightning nearly strikes man’s umbrella”,”videoCMSUrl”:”/video/data/3.0/video/weather/2019/08/18/lightning-nearly-strikes-man-umbrella-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2019/08/18/lightning-nearly-strikes-man-umbrella-sot-nr-vpx.cnn”,”videoId”:”weather/2019/08/18/lightning-nearly-strikes-man-umbrella-sot-nr-vpx.cnn”,”videoUrl”:”/videos/weather/2019/08/18/lightning-nearly-strikes-man-umbrella-sot-nr-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_FB18A168-3E79-C135-E94A-A6D15F522A74″}],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:”world/2019/08/20/rhinoceros-charge-close-call-orig-vstan-bdk.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-ymzdkj’,videoDescriptionDivId: ‘js-video_description-ymzdkj’,videoDurationDivId: ‘js-video_duration-ymzdkj’,videoTitleDivId: ‘js-leaf-video_headline-ymzdkj’,videoSourceDivId: ‘js-video_sourceName-ymzdkj’});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(‘

Source link

LEAVE A REPLY