Striking oil here could be worth billions of dollars. Not everyone is happy

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2021/04/30/namibia-kavango-basin-david-mckenzie-pkg-intl-ldn-vpx.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/210503080530-video-thumbnail-namibia-kavango-basement-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503080530-video-thumbnail-namibia-kavango-basement-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503080530-video-thumbnail-namibia-kavango-basement-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503080530-video-thumbnail-namibia-kavango-basement-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503080530-video-thumbnail-namibia-kavango-basement-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503080530-video-thumbnail-namibia-kavango-basement-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503080530-video-thumbnail-namibia-kavango-basement-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s David McKenzie journeys to ReconAfrica’s remote exploratory wells in Namibia and speaks with local farmers who are afraid the rigs will poison their scarce water and kill their animals.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210503080530-video-thumbnail-namibia-kavango-basement-large-169.jpg”,”title”:”Striking oil here could be worth billions of dollars. Not everyone is happy”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/30/namibia-kavango-basin-david-mckenzie-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/30/namibia-kavango-basin-david-mckenzie-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/04/30/namibia-kavango-basin-david-mckenzie-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/30/namibia-kavango-basin-david-mckenzie-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9C458C07-7EDD-8099-32CE-2310D03F1437″},{“descriptionPlainText”:”Myanmar is rapidly becoming one of the most dangerous places on earth to be a journalist. Dozens of journalists are behind bars and many haven’t been heard from since their disappearance. CNN’s Paula Hancocks speaks to some of the journalists in hiding.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210503115440-screengrab-myanmar-journalist-large-169.jpg”,”title”:”Myanmar’s journalists face ‘humanitarian crisis’ as crackdown intensifies “,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/03/myanmar-media-press-freedom-under-attack-hancocks-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/03/myanmar-media-press-freedom-under-attack-hancocks-pkg-intl-hnk-vpx.cnn”,”videoId”:”media/2021/05/03/myanmar-media-press-freedom-under-attack-hancocks-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/media/2021/05/03/myanmar-media-press-freedom-under-attack-hancocks-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_883C5D37-A456-176D-F8CE-3034B8209CEA”},{“descriptionPlainText”:”Dozens of people have been killed in a crush at a mass religious gathering on Mount Meron in northern Israel, emergency responders say. CNN’s Hadas Gold reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210430094642-video-thumbnail-israel-stampede-large-169.jpg”,”title”:”Social media footage shows crush in Israel “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/30/israel-mount-meron-stampede-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/30/israel-mount-meron-stampede-intl-hnk-vpx.cnn”,”videoId”:”world/2021/04/30/israel-mount-meron-stampede-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/30/israel-mount-meron-stampede-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9C458C07-7EDD-8099-32CE-2310D03F1437″},{“descriptionPlainText”:”Fighting between Myanmar’s military and armed ethnic groups is moving so close to the border it can be seen from Thailand. While a leader from the Karen National Liberation Army says their small victories against the junta can help the country-wide push for democracy, it comes at a cost to people living near the border. CNN’s Paula Hancocks reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210430151201-screengrab-myanmar-thailand-border-large-169.jpg”,”title”:”Rare footage shows gun battle at Myanmar-Thailand border “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/30/myanmar-thailand-border-battles-hancocks-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/30/myanmar-thailand-border-battles-hancocks-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/04/30/myanmar-thailand-border-battles-hancocks-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/30/myanmar-thailand-border-battles-hancocks-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9EBF9164-99EC-5291-09BF-30044D71A4F2″},{“descriptionPlainText”:”China successfully launched the first module of its planned space station from the Wenchang launch site in the southern island of Hainan, according to the China National Space Administration.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210429155240-china-rocket-launch-module-planned-space-station-large-169.jpg”,”title”:”See Beijing launch key component of planned space station”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/29/china-module-space-station-launch-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/29/china-module-space-station-launch-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/04/29/china-module-space-station-launch-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/29/china-module-space-station-launch-ctw-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_415002E0-29F4-0620-C916-211A05B7C5CF”},{“descriptionPlainText”:”Jailed Kremlin critic Alexey Navalny appeared in court via videolink to appeal a defamation conviction in his first public appearance since he went on hunger strike. CNN’s Frederik Pleitgen reports from Moscow.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210429101027-01-navalny-court-hearing-0429-large-169.jpg”,”title”:”Images show Navalny appear in court virtually after hunger strike “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/29/alexey-navalny-appeal-court-russia-putin-pleitgen-newday-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/29/alexey-navalny-appeal-court-russia-putin-pleitgen-newday-intl-ldn-vpx.cnn”,”videoId”:”world/2021/04/29/alexey-navalny-appeal-court-russia-putin-pleitgen-newday-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/29/alexey-navalny-appeal-court-russia-putin-pleitgen-newday-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D7A59884-73E7-2CAC-3871-208874C89C56″},{“descriptionPlainText”:”Covid-19 cases in Asia are rising especially in India and its neighboring countries. CNN’s Kristie Lu Stout takes a look at the deteriorating situations in the hardest-hit regions in Asia.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210429110019-asia-india-sri-lanka-covid-19-surge-lu-stout-wall-segment-intl-hnk-vpx-00001104-large-169.png”,”title”:”India is not the only Covid-19 hotspot in Asia “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/29/asia-india-sri-lanka-covid-19-surge-lu-stout-wall-segment-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/29/asia-india-sri-lanka-covid-19-surge-lu-stout-wall-segment-intl-hnk-vpx.cnn”,”videoId”:”world/2021/04/29/asia-india-sri-lanka-covid-19-surge-lu-stout-wall-segment-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/29/asia-india-sri-lanka-covid-19-surge-lu-stout-wall-segment-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_7FF88F24-7921-5F4C-A9CE-1E0FE89EE3AC”},{“descriptionPlainText”:”CNN’s Clarissa Ward reports on the torture tactics, such as beatings with cable wires, the Myanmar military is using against pro-democracy protesters.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210426185713-myanmar-military-brutality-pro-democracy-protesters-large-169.jpg”,”title”:”Myanmar military uses torture tactics on protesters”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/26/myanmar-military-brutality-pro-democracy-protesters-ward-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/26/myanmar-military-brutality-pro-democracy-protesters-ward-dnt-vpx.cnn”,”videoId”:”world/2021/04/26/myanmar-military-brutality-pro-democracy-protesters-ward-dnt-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/26/myanmar-military-brutality-pro-democracy-protesters-ward-dnt-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_2E3120A4-0A96-AB46-1B15-1D412C2937B1″},{“descriptionPlainText”:”British Prime Minister Boris Johnson is facing a series of damaging allegations — including that he made a remark to “let the bodies pile high” when discussing lockdown last year. Despite his denials, a new poll shows only one third of Britons think Johnson is trustworthy. CNN’s Isa Soares reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210428163455-screengrab-bojo-media-large-169.jpg”,”title”:”Boris Johnson faces damaging allegations as he hits campaign trail”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/28/boris-johnson-bad-week-covid-19-campaign-soares-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/28/boris-johnson-bad-week-covid-19-campaign-soares-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/04/28/boris-johnson-bad-week-covid-19-campaign-soares-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/28/boris-johnson-bad-week-covid-19-campaign-soares-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_E8B4C543-A01B-8FA6-D7CB-1B6D090B9479″},{“descriptionPlainText”:”Ursula von der Leyen, the first female president of the European Commission, said she felt ‘hurt’ and ‘alone’ after being left without a chair by two male leaders at a summit in Turkey earlier this month.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210427155057-screengrab-eus-von-der-leyen-large-169.jpg”,”title”:”I felt hurt: EU chief slams sexist treatment in Turkey”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/27/eu-ursula-von-der-leyen-sexist-turkey-trip-sot-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/27/eu-ursula-von-der-leyen-sexist-turkey-trip-sot-intl-hnk-vpx.cnn”,”videoId”:”world/2021/04/27/eu-ursula-von-der-leyen-sexist-turkey-trip-sot-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/27/eu-ursula-von-der-leyen-sexist-turkey-trip-sot-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_0C6CFDE6-B30A-FC67-434E-10543B4081A3″},{“descriptionPlainText”:”China has been stepping up its military presence around Taiwan, which it claims sovereignty over. Taiwan’s Foreign Minister responded with a warning that the the self-ruled island could fight to the end if China attacks.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210427144825-screengrab-taiwan-joseph-wu-large-169.jpg”,”title”:”Taiwan responds to increasing China threat”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/08/china-taiwan-response-military-activity-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/08/china-taiwan-response-military-activity-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/04/08/china-taiwan-response-military-activity-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/08/china-taiwan-response-military-activity-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_A0397909-5CC2-96C8-A5E6-176E4722A8FE”},{“descriptionPlainText”:”Kidnap for ransom is on the rise in Nigeria with mass kidnappings from schools increasingly seen as lucrative endeavors by criminal gangs. CNN’s Stephanie Busari meets one teenage girl who was snatched from her school dorm and hears how her story took an extraordinary twist when she came face to face with family members in her kidnappers’ den.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210426094412-20210426-nigeria-family-kidnapping-large-169.jpg”,”title”:”Kidnappers snatched her from school. Here’s what happened next”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/26/nigeria-kidnapping-criminal-gangs-busari-pkg-ow-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/26/nigeria-kidnapping-criminal-gangs-busari-pkg-ow-intl-ldn-vpx.cnn”,”videoId”:”world/2021/04/26/nigeria-kidnapping-criminal-gangs-busari-pkg-ow-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/26/nigeria-kidnapping-criminal-gangs-busari-pkg-ow-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_7973F85E-599C-AD38-D897-124A2CF6BCD4″},{“descriptionPlainText”:”Australia is bracing for a new round of Chinese trade and political retaliation after the state of Victoria vetoed the “Belt and Road” deal with China. Journalist Angus Watson explains how the relationship between the once close neighbors has soured.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210422002739-marise-payne-0422-large-169.jpg”,”title”:”Australia braces for further backlash from China as it scraps Xi’s signature project “,”videoCMSUrl”:”/video/data/3.0/video/business/2021/04/26/australia-china-trade-belt-and-road-angus-watson-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/04/26/australia-china-trade-belt-and-road-angus-watson-pkg-intl-hnk-vpx.cnn”,”videoId”:”business/2021/04/26/australia-china-trade-belt-and-road-angus-watson-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/business/2021/04/26/australia-china-trade-belt-and-road-angus-watson-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D8E1FF43-AF50-E681-974C-B03D8C845098″},{“descriptionPlainText”:”At least 82 people died in a hospital fire in Iraq’s capital city of Baghdad, the Iraqi Interior Ministry said. The fire is believed to have started after oxygen tanks exploded, according to two health officials at the hospital. CNN’s Arwa Damon reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210426121221-iraq-baghadad-hospital-fire-damon-pkg-intl-hnk-vpx-00001703-large-169.png”,”title”:”Fire at Iraqi hospital kills dozens of Covid-19 patients “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/26/iraq-baghdad-hospital-fire-damon-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/26/iraq-baghdad-hospital-fire-damon-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/04/26/iraq-baghdad-hospital-fire-damon-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/26/iraq-baghdad-hospital-fire-damon-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9A9F6787-8B0D-3BDE-50B8-0E6A514F293F”},{“descriptionPlainText”:”An initiative called the “people’s pot” in Uruguay aims to feed those who have fallen on hard times amid Covid-19. CNN’s Rafael Romo reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210503151204-uruguay-peoples-pots-feed-hungry-coronavirus-pandemic-romo-pkg-vpx-00000109-large-169.png”,”title”:”This group of volunteers is on a noble mission amid pandemic”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/03/uruguay-peoples-pots-feed-hungry-coronavirus-pandemic-romo-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/03/uruguay-peoples-pots-feed-hungry-coronavirus-pandemic-romo-pkg-vpx.cnn”,”videoId”:”world/2021/05/03/uruguay-peoples-pots-feed-hungry-coronavirus-pandemic-romo-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/03/uruguay-peoples-pots-feed-hungry-coronavirus-pandemic-romo-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_33B603A8-8D43-EC75-47DD-0EEFA3AF1222″}],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/2021/04/30/namibia-kavango-basin-david-mckenzie-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-jh5651’,videoDescriptionDivId: ‘js-video_description-jh5651’,videoDurationDivId: ‘js-video_duration-jh5651’,videoTitleDivId: ‘js-leaf-video_headline-jh5651’,videoSourceDivId: ‘js-video_sourceName-jh5651’});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(‘

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow by Email
Pinterest
LinkedIn
Share