Watch: Senegal city also known as ‘Venice of Africa’ impacted by climate change

‘);$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/11/01/saint-louis-senegal-climate-pleitgen-pkg-newday-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/211101082102-senegal-pkg-2-small-169.jpeg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211101082102-senegal-pkg-2-medium-plus-169.jpeg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211101082102-senegal-pkg-2-large-169.jpeg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211101082102-senegal-pkg-2-exlarge-169.jpeg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211101082102-senegal-pkg-2-super-169.jpeg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211101082102-senegal-pkg-2-full-169.jpeg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211101082102-senegal-pkg-2-small-11.jpeg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Fred Pleitgen reports on how rising sea levels are impacting one coastal town in Senegal.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211101082102-senegal-pkg-2-large-169.jpeg”,”title”:”City known as ‘Venice of Africa’ impacted by climate change”,”videoCMSUrl”:”/videos/world/2021/11/01/saint-louis-senegal-climate-pleitgen-pkg-newday-vpx.cnn”,”videoLeafUrl”:”/videos/world/2021/11/01/saint-louis-senegal-climate-pleitgen-pkg-newday-vpx.cnn”,”videoId”:”world/2021/11/01/saint-louis-senegal-climate-pleitgen-pkg-newday-vpx.cnn”,”videoUrl”:”/videos/world/2021/11/01/saint-louis-senegal-climate-pleitgen-pkg-newday-vpx.cnn”,”surrogateKey”:”video_9BA0037C-1BDA-6946-95A4-DB5B72C31198″},{“descriptionPlainText”:”World leaders are gathering for a crucial climate summit known as COP26 in Glasgow, UK. COP stands for the “Conference of the Parties,” and, organized by the United Nations, there have been 25 of them since the first in 1995. Some have been productive, others bitterly disappointing. Here’s what you need to know.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211026121931-cop26-title-card-large-169.jpg”,”title”:”What is COP26 and can it avert a climate catastrophe?”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/26/cop26-glasgow-explainer-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/26/cop26-glasgow-explainer-lon-orig.cnn”,”videoId”:”world/2021/10/26/cop26-glasgow-explainer-lon-orig.cnn”,”videoUrl”:”/videos/world/2021/10/26/cop26-glasgow-explainer-lon-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_AF20D101-3CCC-1B2C-64B0-BC44A381324F”},{“descriptionPlainText”:”What we eat is one of the biggest ways we contribute to the climate crisis. From eating less beef to reducing your food waste, here are 5 tips to change your diet to be more sustainable.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211014144418-diet-burger-large-169.jpg”,”title”:”5 ways to help the planet by changing your diet”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/12/diet-change-save-planet-c2e-intl-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/12/diet-change-save-planet-c2e-intl-lon-orig.cnn”,”videoId”:”world/2021/10/12/diet-change-save-planet-c2e-intl-lon-orig.cnn”,”videoUrl”:”/videos/world/2021/10/12/diet-change-save-planet-c2e-intl-lon-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_0DF39D34-334C-BCA6-1656-742B595907E3″},{“descriptionPlainText”:”You might think that one person can’t make a difference but these five simple actions can reduce your carbon footprint and make a big impact.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191114161946-carboon-footprint-explainer-card-1-large-169.jpg”,”title”:”How to save the planet: Five simple things you can do”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/08/save-planet-reduce-carbon-emissions-call-to-earth-lon-orig-c2e.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/08/save-planet-reduce-carbon-emissions-call-to-earth-lon-orig-c2e.cnn”,”videoId”:”world/2019/11/08/save-planet-reduce-carbon-emissions-call-to-earth-lon-orig-c2e.cnn”,”videoUrl”:”/videos/world/2019/11/08/save-planet-reduce-carbon-emissions-call-to-earth-lon-orig-c2e.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_6CF5D186-79CF-EC42-36D2-4BA578F602D5″},{“descriptionPlainText”:”Carbon offsetting promises a way to rebalance greenhouse gas emissions through reforestation and renewable energy. But can it avert a climate catastrophe or is it actually doing more harm than good?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210923171437-carbon-offsets-dv-explainer-2-large-169.jpg”,”title”:”The complex world of carbon offsets explained”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/23/carbon-offsetting-climate-change-explainer-mxb-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/23/carbon-offsetting-climate-change-explainer-mxb-lon-orig.cnn”,”videoId”:”business/2021/09/23/carbon-offsetting-climate-change-explainer-mxb-lon-orig.cnn”,”videoUrl”:”/videos/business/2021/09/23/carbon-offsetting-climate-change-explainer-mxb-lon-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_7F8ABF75-39A2-694E-F534-136C4C2D8CA1″},{“descriptionPlainText”:”CNN’s Bianca Nobilo speaks with former British Prime Minister Gordon Brown, a longtime advocate for smart climate policy, on the ‘two sticking points’ facing world leaders at the upcoming UN climate conference.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211026155933-screengrab-gordon-brown-ex-uk-pm-large-169.jpg”,”title”:”Ex-UK PM: Boris Johnson’s COP26 success depends on finding these answers “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/26/gordon-brown-climate-change-cop26-sot-tgb-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/26/gordon-brown-climate-change-cop26-sot-tgb-intl-hnk-vpx.cnn”,”videoId”:”world/2021/10/26/gordon-brown-climate-change-cop26-sot-tgb-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/10/26/gordon-brown-climate-change-cop26-sot-tgb-intl-hnk-vpx.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_23E99A65-1BC0-622F-EF55-BB8E69F56CF6″},{“descriptionPlainText”:”People around the world are factoring the climate crisis into their reproductive decisions. Britt Wray and Jade Sasser sit down for an intimate conversation about how their personal experiences with climate change impact how their families look today.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211004165606-climate-parenting-thumb-1-large-169.jpg”,”title”:”She questioned having kids. Why she’s relieved she didn’t”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/10/04/climate-change-decision-have-children-orig-vf.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/10/04/climate-change-decision-have-children-orig-vf.cnn”,”videoId”:”politics/2021/10/04/climate-change-decision-have-children-orig-vf.cnn”,”videoUrl”:”/videos/politics/2021/10/04/climate-change-decision-have-children-orig-vf.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_449D77D7-12E8-BE2B-A93D-4CDB6ECC6839″},{“descriptionPlainText”:”A new UN report says fossil fuel usage is expected to be too high to limit global warming to 1.5 degrees Celsius by 2030. CNN’s Brandon Miller explains.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210809081046-climate-change-fossil-fuel-businesses-large-169.jpg”,”title”:”UN Report: World fossil fuel usage headed in the wrong direction”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/10/20/climate-cop26-putin-un-fossil-fuel-report.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/10/20/climate-cop26-putin-un-fossil-fuel-report.cnn”,”videoId”:”weather/2021/10/20/climate-cop26-putin-un-fossil-fuel-report.cnn”,”videoUrl”:”/videos/weather/2021/10/20/climate-cop26-putin-un-fossil-fuel-report.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_365B9C9E-9883-C2FA-62E6-9F586F735C40″},{“descriptionPlainText”:”Germany’s vast forest are more than the country’s green lungs — they are part of its cultural heart. This is the setting of the Grimm Brother’s famous Red Riding Hood and Sleeping Beauty tales. But with warmer temperatures and risk of draught, German forests are at a critical point.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210923175855-germany-forests-climate-change-lon-orig-sfc-na-large-169.jpg”,”title”:”Climate change is creeping up on this fairytale land”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/23/germany-forests-climate-change-lon-orig-sfc-na.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/23/germany-forests-climate-change-lon-orig-sfc-na.cnn”,”videoId”:”world/2021/09/23/germany-forests-climate-change-lon-orig-sfc-na.cnn”,”videoUrl”:”/videos/world/2021/09/23/germany-forests-climate-change-lon-orig-sfc-na.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_5EBD412B-FE88-5624-8BCD-13558D24097B”},{“descriptionPlainText”:”CNN gets a rare glimpse at the conservation work on Inner Farne Island, where rangers are trying to keep puffin populations afloat as global temperature rise disrupts their food chain and a growing frequency of extreme weather threatens their habitats. A new report from the WWF says Britain’s puffins could become more vulnerable to extinction unless world leaders take more action to meet the goal of limiting global temperature rise to 1.5°C. CNN’s Scott McLean reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210705163705-britain-puffin-mclean-pkg-2-large-169.jpg”,”title”:”Britain’s puffins could disappear if goal isn’t met”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/07/05/atlantic-puffins-uk-farne-islands-climate-change-mclean-pkg-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/07/05/atlantic-puffins-uk-farne-islands-climate-change-mclean-pkg-orig.cnn”,”videoId”:”weather/2021/07/05/atlantic-puffins-uk-farne-islands-climate-change-mclean-pkg-orig.cnn”,”videoUrl”:”/videos/weather/2021/07/05/atlantic-puffins-uk-farne-islands-climate-change-mclean-pkg-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_F8E1E138-115D-8E41-519B-7853A814B355″},{“descriptionPlainText”:”The Swedish climate activist danced to Rick Astley’s eighties hit “Never Gonna Give You Up” in front of a thrilled crowd.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211018062650-03-greta-thunberg-file-large-169.jpg”,”title”:”Greta Thunberg ‘rickrolls’ climate concert with dance moves”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/10/18/greta-thunberg-dance-climate-rickroll-lon-orig-mrg.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/10/18/greta-thunberg-dance-climate-rickroll-lon-orig-mrg.cnn”,”videoId”:”world/2021/10/18/greta-thunberg-dance-climate-rickroll-lon-orig-mrg.cnn”,”videoUrl”:”/videos/world/2021/10/18/greta-thunberg-dance-climate-rickroll-lon-orig-mrg.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_9EE6B1D6-3F66-42D6-2F5B-93BF077FE77E”},{“descriptionPlainText”:”During Covid-19 lockdowns, internet use has skyrocketed, driving up energy use. Some website designers are championing simpler, more streamlined websites to combat this growing environmental impact.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210426123037-video-thumbnail-90s-computers-large-169.jpg”,”title”:”Do the 1990s hold the key to sustainable websites?”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/22/environmental-impact-internet-project-planet-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/22/environmental-impact-internet-project-planet-orig.cnn”,”videoId”:”world/2021/04/22/environmental-impact-internet-project-planet-orig.cnn”,”videoUrl”:”/videos/world/2021/04/22/environmental-impact-internet-project-planet-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_230BD4C3-15A6-1758-ACD2-F9405F27B837″},{“descriptionPlainText”:”Seven late-night hosts focused their shows on climate change during Climate Week NYC, a summit to promote climate solutions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210923154543-late-night-comedy-large-169.jpg”,”title”:”US late-night hosts join forces to raise awareness to climate change”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/23/late-night-climate-change-lc-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/23/late-night-climate-change-lc-lon-orig.cnn”,”videoId”:”business/2021/09/23/late-night-climate-change-lc-lon-orig.cnn”,”videoUrl”:”/videos/business/2021/09/23/late-night-climate-change-lc-lon-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_2301D962-DC75-DEBD-B02A-131D03DAFFCF”},{“descriptionPlainText”:”The National Intelligence Estimate (NIE) on climate change has identified a link between climate change and migration. CNN meteorologist Derek Van Dam explains which disasters lead to more migration.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211026154017-derek-van-dam-10222021-large-169.jpg”,”title”:”CNN meteorologist explains how climate change threatens global security”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/10/22/climate-crisis-report-disaster-countries-change-india.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/10/22/climate-crisis-report-disaster-countries-change-india.cnn”,”videoId”:”weather/2021/10/22/climate-crisis-report-disaster-countries-change-india.cnn”,”videoUrl”:”/videos/weather/2021/10/22/climate-crisis-report-disaster-countries-change-india.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_12350D92-0D71-C6DF-16D7-A72CCEEE8659″},{“descriptionPlainText”:”A historic 20-year megadrought, fueled by the climate crisis, is reducing the supply of water for some Arizona farmers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210415155006-clean-00-01-36-15-still021-large-169.jpg”,”title”:”The climate crisis is taking these farmers’ most valuable resource”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/04/15/drought-impact-arizona-farmers-colorado-river-water-climate-crisis-project-planet-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/04/15/drought-impact-arizona-farmers-colorado-river-water-climate-crisis-project-planet-orig.cnn”,”videoId”:”weather/2021/04/15/drought-impact-arizona-farmers-colorado-river-water-climate-crisis-project-planet-orig.cnn”,”videoUrl”:”/videos/weather/2021/04/15/drought-impact-arizona-farmers-colorado-river-water-climate-crisis-project-planet-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_6D59D928-EA1F-4A3D-F3BB-D79ED41E6D7C”},{“descriptionPlainText”:”Watching Netflix, Amazon Prime and YouTube have exploded during the pandemic. But streaming video has a growing and significant environmental impact that goes far beyond your tv or phone.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210325152524-video-streaming-still-3-large-169.jpg”,”title”:”Our video streaming habits impact the planet. Here’s how”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/03/24/video-streaming-environmental-impact-project-planet-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/03/24/video-streaming-environmental-impact-project-planet-lon-orig.cnn”,”videoId”:”world/2021/03/24/video-streaming-environmental-impact-project-planet-lon-orig.cnn”,”videoUrl”:”/videos/world/2021/03/24/video-streaming-environmental-impact-project-planet-lon-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_4C7FFC84-8E4C-80E7-A3EE-659C3F0DAC7F”}],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/11/01/saint-louis-senegal-climate-pleitgen-pkg-newday-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-16dz7ye’,videoDescriptionDivId: ‘js-video_description-16dz7ye’,videoDurationDivId: ‘js-video_duration-16dz7ye’,videoTitleDivId: ‘js-leaf-video_headline-16dz7ye’,videoSourceDivId: ‘js-video_sourceName-16dz7ye’});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(‘

Watch: Senegal city also known as ‘Venice of Africa’ impacted by climate change

Leave a Reply