Kenya’s wildlife is facing a decline but officials hope a census of animals might help

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘travel/2021/05/24/kenya-wildlife-census-larry-madowo-pkg-intl-ldn-vpx.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_world_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210524110318-video-thumbnail-kenya-1-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210524110318-video-thumbnail-kenya-1-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210524110318-video-thumbnail-kenya-1-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210524110318-video-thumbnail-kenya-1-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210524110318-video-thumbnail-kenya-1-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210524110318-video-thumbnail-kenya-1-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210524110318-video-thumbnail-kenya-1-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Kenya’s wildlife could be facing an alarming decline as the tourism industry falters due to Covid-19 and factors such as increasing human populations, poaching and climate change come into play. The government wants to carry out a census to find out exactly how many animals are left in the country. CNN’s Larry Madowo joins the Kenyan Wildlife Service on an aerial mission in Amboseli National Park.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210524110318-video-thumbnail-kenya-1-large-169.jpg”,”title”:”See how this national park in Africa is counting wildlife”,”videoCMSUrl”:”/videos/travel/2021/05/24/kenya-wildlife-census-larry-madowo-pkg-intl-ldn-vpx.cnn”,”videoLeafUrl”:”/videos/travel/2021/05/24/kenya-wildlife-census-larry-madowo-pkg-intl-ldn-vpx.cnn”,”videoId”:”travel/2021/05/24/kenya-wildlife-census-larry-madowo-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/travel/2021/05/24/kenya-wildlife-census-larry-madowo-pkg-intl-ldn-vpx.cnn”,”surrogateKey”:”video_C1F7AD06-133F-5091-236B-9DFA3E5956A4″},{“descriptionPlainText”:”The United States will make “significant contributions” to rebuilding Gaza which will be announced later Tuesday, US Secretary of State Antony Blinken said in Jerusalem after meeting with Israel Prime Minister Benjamin Netanyahu. CNN’s Hadas Gold reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210525111837-video-thumbnail-netanyahu-blinken-large-169.jpg”,”title”:”Blinken meets with Netanyahu in Israel “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/25/blinken-israel-visit-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/25/blinken-israel-visit-intl-ldn-vpx.cnn”,”videoId”:”world/2021/05/25/blinken-israel-visit-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/25/blinken-israel-visit-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_3D683C1F-BC10-FD6B-B693-A2FB045E3778″},{“descriptionPlainText”:”The recovery work has started in Gaza as the Israel-Hamas ceasefire takes effect. As Palestinians in Gaza are reeling from the barrage of airstrikes, they feel all too familiar with digging out of the rubble and fear there could be another round of conflict. CNN’s Ben Wedeman reports from Gaza.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210524143250-gaza-israeli-palestinian-recovery-humanitarian-crisis-wedeman-pkg-intl-hnk-vpx-00000518-large-169.png”,”title”:”See the recovery efforts in Gaza as ceasefire appears to hold “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/24/gaza-israeli-palestinian-recovery-humanitarian-crisis-wedeman-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/24/gaza-israeli-palestinian-recovery-humanitarian-crisis-wedeman-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/05/24/gaza-israeli-palestinian-recovery-humanitarian-crisis-wedeman-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/24/gaza-israeli-palestinian-recovery-humanitarian-crisis-wedeman-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_87FA4760-AF99-AF1D-4697-9CEB4B4F1A66″},{“descriptionPlainText”:”Roman Protasevich, a leading Belarusian opposition activist, has been arrested in Belarus after a flight headed from Greece to Lithuania was diverted to Minsk. CNN’s Fred Pleitgen reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210525083255-video-thumbnail-belarus-activist-large-169.jpeg”,”title”:”First video of detained Belarusian activist released”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/24/activist-belarus-emergency-landing-pleitgen-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/24/activist-belarus-emergency-landing-pleitgen-pkg-lead-vpx.cnn”,”videoId”:”world/2021/05/24/activist-belarus-emergency-landing-pleitgen-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/24/activist-belarus-emergency-landing-pleitgen-pkg-lead-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_162081F4-22D7-D4F0-7A05-A074D58EB120″},{“descriptionPlainText”:”A year after Beijing imposed a controversial national security law on Hong Kong, the territory’s creative community has been left unsure about what is, or is not, legally permissible.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210521161252-03-hong-kong-political-art-large-169.jpg”,”title”:”Artists navigate censorship fears in Hong Kong’s new political climate”,”videoCMSUrl”:”/video/data/3.0/video/arts/2021/05/21/hong-kong-art-basel-2021-kristie-lu-stout-pkg-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/arts/2021/05/21/hong-kong-art-basel-2021-kristie-lu-stout-pkg-intl.cnn”,”videoId”:”arts/2021/05/21/hong-kong-art-basel-2021-kristie-lu-stout-pkg-intl.cnn”,”videoUrl”:”/videos/arts/2021/05/21/hong-kong-art-basel-2021-kristie-lu-stout-pkg-intl.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_E1B15BD9-753A-69D9-0AF4-8FAC430A08E6″},{“descriptionPlainText”:”CNN’s Zain Asher speaks to Regional Spokesman of the Norwegian Refugee Council Tom Peyre-Costa about what he witnessed from Goma, Congo, when Mount Nyiragongo began to erupt.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210522185244-02-congo-volcano-0522-large-169.jpg”,”title”:”Witness describes panic on the streets after volcano erupted “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/24/congo-volcano-eruption-oneworld-intl-ldn-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/24/congo-volcano-eruption-oneworld-intl-ldn-sot-vpx.cnn”,”videoId”:”world/2021/05/24/congo-volcano-eruption-oneworld-intl-ldn-sot-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/24/congo-volcano-eruption-oneworld-intl-ldn-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9DB57FCC-F672-A2B6-68E5-9F5AD069C736″},{“descriptionPlainText”:”Samoa swore in its first female Prime Minister in a makeshift ceremony in a tent after she was locked out of Parliament amid a power struggle with the country’s longstanding leader.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210518215948-02-fiame-naomi-mataafa-file-large-169.jpg”,”title”:”Samoa swears in its first female PM in a tent”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/24/samoa-new-prime-minister-ceremony-tent-ctw-intl-ldn-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/24/samoa-new-prime-minister-ceremony-tent-ctw-intl-ldn-sot-vpx.cnn”,”videoId”:”world/2021/05/24/samoa-new-prime-minister-ceremony-tent-ctw-intl-ldn-sot-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/24/samoa-new-prime-minister-ceremony-tent-ctw-intl-ldn-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_0B20097B-1119-125A-245C-9F0A4BEA408B”},{“descriptionPlainText”:”Ryanair flight 4978 was about to begin its descent to Vilnius, Lithuania, when it suddenly changed direction after a “security alert.” Aboard the flight was Belarus opposition activist Raman Pratasevich. One passenger describes what happened on the plane.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210524101855-video-thumbnail-belarus-plane-passenger-large-169.jpg”,”title”:”Hear from passenger aboard plane diverted to Belarus “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/24/belarus-activist-passenger-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/24/belarus-activist-passenger-intl-ldn-vpx.cnn”,”videoId”:”world/2021/05/24/belarus-activist-passenger-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/24/belarus-activist-passenger-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D868C06B-4562-BB0E-656F-9DA2269C5D4C”},{“descriptionPlainText”:”A group was riding in a Stresa-Mottarone cable car when it plunged into a wooded area in northern Italy, according to a spokesperson for the National Alpine Speleological Rescue Corps, which is leading the rescue operation. CNN’s Barbie Nadeau has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210523191557-italy-cable-car-deadly-accident-nadeau-lklv-vpx-00000827-large-169.jpg”,”title”:”At least 14 killed in Italian cable car accident”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/23/italy-cable-car-deadly-accident-nadeau-lklv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/23/italy-cable-car-deadly-accident-nadeau-lklv-vpx.cnn”,”videoId”:”world/2021/05/23/italy-cable-car-deadly-accident-nadeau-lklv-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/23/italy-cable-car-deadly-accident-nadeau-lklv-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F9A4E011-46BE-D077-F530-9B7997DDF9BE”},{“descriptionPlainText”:”A leading Belarusian opposition activist has been arrested in Belarus after President Alexander Lukashenko ordered a fighter jet to escort his Ryanair plane to Minsk, according to Pull Pervogo, Belarusian state broadcaster. CNN’s Fredricka Whitfield speaks with Belarus opposition leader Sviatlana Tsikhanouskaya about the arrest.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210523152132-raman-pratasevich-screengrab-for-video-large-169.jpg”,”title”:”World leaders condemn arrest of Belarusian opposition activist”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/23/belarus-activist-emergency-landing-whitfield-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/23/belarus-activist-emergency-landing-whitfield-sot-nr-vpx.cnn”,”videoId”:”world/2021/05/23/belarus-activist-emergency-landing-whitfield-sot-nr-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/23/belarus-activist-emergency-landing-whitfield-sot-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_106279E4-D947-B7AC-5395-9AA3D880ECEF”},{“descriptionPlainText”:”21 ultra-marathon runners have died after extreme weather conditions hit a 100-kilometer (62-mile) mountain race in northwest China. The Huanghe Shilin Mountain Marathon began in sunny conditions but soon freezing rain, hail stones and gale winds lashed runners.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210522224431-01-china-marathon-extreme-weather-0522-large-169.jpg”,”title”:”Extreme weather kills 21 ultra-marathon runners”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/23/china-ultra-marathon-runners-dead-huanghe-shilin-mountain-marathon-cnni-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/23/china-ultra-marathon-runners-dead-huanghe-shilin-mountain-marathon-cnni-nr-vpx.cnn”,”videoId”:”world/2021/05/23/china-ultra-marathon-runners-dead-huanghe-shilin-mountain-marathon-cnni-nr-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/23/china-ultra-marathon-runners-dead-huanghe-shilin-mountain-marathon-cnni-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_226D3052-1BED-787A-4580-98DC23E5C016″},{“descriptionPlainText”:”The US military’s goal of withdrawing all troops from Afghanistan by September 11 is underway, but not everyone who served will be able to leave by then. CNN’s Michael Holmes reports on the Afghan translators who will be left behind due to a lengthy visa process.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210523082033-afghan-translators-holmes-vpx-large-169.jpg”,”title”:”Fears for Afghan translators’ safety as US troops withdraw”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/23/afghan-translators-fear-for-safety-us-troop-withdraw-cnni-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/23/afghan-translators-fear-for-safety-us-troop-withdraw-cnni-nr-vpx.cnn”,”videoId”:”world/2021/05/23/afghan-translators-fear-for-safety-us-troop-withdraw-cnni-nr-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/23/afghan-translators-fear-for-safety-us-troop-withdraw-cnni-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_710C8FB6-5B3E-9F80-C490-9912CC12D624″},{“descriptionPlainText”:”Hundreds of people have lost their lives in Gaza, the West Bank and Israel over the past couple of weeks. One of them is Yigal, an Israeli man whose legacy will continue to live on in others after donating his kidney to an Arab woman. CNN’s Hadas Gold reports from Jerusalem.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210522072015-arab-woman-receives-kidney-transplant-from-israeli-gold-pkg-vpx-00022423-large-169.png”,”title”:”Kidney donated by Israeli man killed in violence saves Arab woman’s life”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/22/arab-woman-receives-kidney-transplant-from-israeli-gold-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/22/arab-woman-receives-kidney-transplant-from-israeli-gold-pkg-vpx.cnn”,”videoId”:”world/2021/05/22/arab-woman-receives-kidney-transplant-from-israeli-gold-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/22/arab-woman-receives-kidney-transplant-from-israeli-gold-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_CEE3077D-DC8E-7F59-B2EC-93B241C4FEA0″},{“descriptionPlainText”:”The ceasefire between Israel and Hamas is holding and now the people of Gaza are able to see what the conflict has wrought. CNN’s Ben Wedeman reports”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210521184838-gaza-resident-wedeman-ceasefire-day-after-large-169.jpg”,”title”:”Life resumes amidst the rubble for Gaza residents”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/21/gaza-ceasefire-israel-hamas-wedeman-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/21/gaza-ceasefire-israel-hamas-wedeman-pkg-vpx.cnn”,”videoId”:”world/2021/05/21/gaza-ceasefire-israel-hamas-wedeman-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/21/gaza-ceasefire-israel-hamas-wedeman-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9513BEE4-6CF0-54FC-FC84-9110D157C10A”},{“descriptionPlainText”:”Prince William, the Duke of Cambridge, has lambasted the BBC for contributing to his mother Princess Diana’s “fear, paranoia and isolation” in the years before her death. It was a a rare emotionally charged statement by a British royal against the public broadcaster. CNN’s Max Foster reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210520231736-prince-william-bbc-response-large-169.jpg”,”title”:”Prince William slams BBC after report on methods used to secure Diana interview”,”videoCMSUrl”:”/video/data/3.0/video/intl_business/2021/05/21/prince-william-harry-princess-diana-bbc-response-martin-bashir-foster-intl-dlt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/intl_business/2021/05/21/prince-william-harry-princess-diana-bbc-response-martin-bashir-foster-intl-dlt-vpx.cnn”,”videoId”:”intl_business/2021/05/21/prince-william-harry-princess-diana-bbc-response-martin-bashir-foster-intl-dlt-vpx.cnn”,”videoUrl”:”/videos/intl_business/2021/05/21/prince-william-harry-princess-diana-bbc-response-martin-bashir-foster-intl-dlt-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_773F34C2-7EC0-E264-69CF-8CE532BC6DD3″},{“descriptionPlainText”:”CNN’s Arwa Damon reports on a 4-year-old girl who was injured by shrapnel in an airstrike in Gaza.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210521161651-girl-hospital-airstrike-gaza-damon-dnt-hgt-vpx-00013527-large-169.png”,”title”:”‘Why did they do this to me?’: 4-year-old injured in Gaza airstrike”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/21/girl-hospital-airstrike-gaza-damon-dnt-hgt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/21/girl-hospital-airstrike-gaza-damon-dnt-hgt-vpx.cnn”,”videoId”:”world/2021/05/21/girl-hospital-airstrike-gaza-damon-dnt-hgt-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/21/girl-hospital-airstrike-gaza-damon-dnt-hgt-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_94D6C8DA-3426-0DA7-BBE6-9076F707DB0C”}],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/2021/05/24/kenya-wildlife-census-larry-madowo-pkg-intl-ldn-vpx.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-15wi290’,videoDescriptionDivId: ‘js-video_description-15wi290’,videoDurationDivId: ‘js-video_duration-15wi290’,videoTitleDivId: ‘js-leaf-video_headline-15wi290’,videoSourceDivId: ‘js-video_sourceName-15wi290’});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(‘

Kenya’s wildlife is facing a decline but officials hope a census of animals might help

Leave a Reply