A drop in travel helps the planet. But there’s a catch

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘travel/2020/08/31/pandemic-tourism-impact-project-planet-orig.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_specialreports_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200903075928-dubrovnik-02-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200903075928-dubrovnik-02-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200903075928-dubrovnik-02-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200903075928-dubrovnik-02-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200903075928-dubrovnik-02-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200903075928-dubrovnik-02-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200903075928-dubrovnik-02-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”With global travel largely on pause during the Covid-19 pandemic, some cities and companies see an opportunity to rethink tourism with the planet’s health in mind.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200903075928-dubrovnik-02-large-169.jpg”,”title”:”A drop in travel helps the planet. But there’s a catch”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/08/31/pandemic-tourism-impact-project-planet-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/08/31/pandemic-tourism-impact-project-planet-orig.cnn”,”videoId”:”travel/2020/08/31/pandemic-tourism-impact-project-planet-orig.cnn”,”videoUrl”:”/videos/travel/2020/08/31/pandemic-tourism-impact-project-planet-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_7FEA4A40-478E-82AF-11DD-4512C036C20B”},{“descriptionPlainText”:”Researchers at Georgia Tech have looked to an unlikely source for inspiration for a research robot: the humble sloth.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200701131028-slothbot-robot-actua-como-si-fuera-perezoso-vida-silvestre-large-169.jpg”,”title”:”Meet SlothBot: the cutest robot fighting climate change”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/08/14/slothbot-climate-change-robot-project-planet-nws-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/08/14/slothbot-climate-change-robot-project-planet-nws-orig.cnn”,”videoId”:”us/2020/08/14/slothbot-climate-change-robot-project-planet-nws-orig.cnn”,”videoUrl”:”/videos/us/2020/08/14/slothbot-climate-change-robot-project-planet-nws-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_7FEA4A40-478E-82AF-11DD-4512C036C20B”},{“descriptionPlainText”:”We all engage with clothes in some way but unfortunately the global fashion industry is one of the most polluting. Rather than ditching your wardrobe, here are some things you can change to help make a difference.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200831211748-sustainable-fashion-large-169.jpg”,”title”:”5 ways you can change your fashion habits to help the planet”,”videoCMSUrl”:”/video/data/3.0/video/fashion/2020/08/31/five-ways-to-change-your-fashion-habits-project-planet-sept-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/fashion/2020/08/31/five-ways-to-change-your-fashion-habits-project-planet-sept-lon-orig.cnn”,”videoId”:”fashion/2020/08/31/five-ways-to-change-your-fashion-habits-project-planet-sept-lon-orig.cnn”,”videoUrl”:”/videos/fashion/2020/08/31/five-ways-to-change-your-fashion-habits-project-planet-sept-lon-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_F7CCEE52-D1C9-C217-4433-EF09770B7F2D”},{“descriptionPlainText”:”In the United States, buildings consume approximately 70% of the country’s electricity. But a breakthrough in solar glass could offset that demand by converting the windows of every building into solar panels.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200323155307-solar-glass-thumb-1-large-169.jpg”,”title”:”This glass could turn skyscrapers into power generators”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/03/23/solar-glass-energy-project-planet-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/03/23/solar-glass-energy-project-planet-orig.cnn”,”videoId”:”business/2020/03/23/solar-glass-energy-project-planet-orig.cnn”,”videoUrl”:”/videos/business/2020/03/23/solar-glass-energy-project-planet-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_F2A3CEB4-3228-F126-DD81-4550164ACF29″},{“descriptionPlainText”:”Fibers from synthetic clothing are one of the biggest sources of microplastic pollution. Their effect on the marine environment may be devastating.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200605120624-02-newcastle-marine-biologists-large-169.jpg”,”title”:”Doing your laundry spills plastics into the ocean”,”videoCMSUrl”:”/video/data/3.0/video/fashion/2020/06/05/plastic-microfiber-laundry-solutions-oceans-project-planet-lon-orig.cnn-style/index.xml”,”videoLeafUrl”:”/videos/fashion/2020/06/05/plastic-microfiber-laundry-solutions-oceans-project-planet-lon-orig.cnn-style”,”videoId”:”fashion/2020/06/05/plastic-microfiber-laundry-solutions-oceans-project-planet-lon-orig.cnn-style”,”videoUrl”:”/videos/fashion/2020/06/05/plastic-microfiber-laundry-solutions-oceans-project-planet-lon-orig.cnn-style/video/playlists/project-planet/”,”surrogateKey”:”video_5C9CB33A-1D30-869B-67D2-08EB75D888CC”},{“descriptionPlainText”:”Safari operators say a lack of business has a secondary sinister affect on the animals in the African wilderness areas.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200411221005-07-brave-africa-safari-large-169.jpeg”,”title”:”How Covid-19 affects Africa’s wild animals”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/04/22/safaris-closed-poaching-increase-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/04/22/safaris-closed-poaching-increase-travel-orig.cnn”,”videoId”:”travel/2020/04/22/safaris-closed-poaching-increase-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/04/22/safaris-closed-poaching-increase-travel-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_EB90DAC5-67D7-8704-3310-851DA29D5E0F”},{“descriptionPlainText”:”Researchers at UC Davis have studied a way to potentially reduce the methane released by cows, lowering their contribution to the climate.​”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191007142322-clean-00-00-11-22-still002-large-169.jpg”,”title”:”This food could change a cow’s contribution to the climate crisis”,”videoCMSUrl”:”/video/data/3.0/video/weather/2019/10/07/climate-change-crisis-cow-methane-seaweed-study-beef-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2019/10/07/climate-change-crisis-cow-methane-seaweed-study-beef-orig.cnn”,”videoId”:”weather/2019/10/07/climate-change-crisis-cow-methane-seaweed-study-beef-orig.cnn”,”videoUrl”:”/videos/weather/2019/10/07/climate-change-crisis-cow-methane-seaweed-study-beef-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_1B826313-3D34-A95B-EE91-9F38AE5C635E”},{“descriptionPlainText”:”In the same week that Hurricane Laura made landfall and California battled wildfires, the Republican National Convention barely mentioned the environment or climate change. CNN’s Bill Weir reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200828154749-natural-disasters-climate-change-project-planet-weir-orig-00033302-large-169.jpg”,”title”:”The future of climate change is here, scientist warns”,”videoCMSUrl”:”/video/data/3.0/video/weather/2020/08/28/natural-disasters-climate-change-project-planet-weir-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2020/08/28/natural-disasters-climate-change-project-planet-weir-orig.cnn”,”videoId”:”weather/2020/08/28/natural-disasters-climate-change-project-planet-weir-orig.cnn”,”videoUrl”:”/videos/weather/2020/08/28/natural-disasters-climate-change-project-planet-weir-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_57235D82-58B8-6266-B8B4-A76E1BF2C343″},{“descriptionPlainText”:”CNN’s Bill Weir explores what we can learn from Covid-19 to better prepare for the impact of the climate crisis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200807162044-bill-weir-coronavirus-project-planet-climate-still-large-169.jpg”,”title”:”What we can learn from Covid-19 for the climate crisis”,”videoCMSUrl”:”/video/data/3.0/video/weather/2020/08/07/bill-weir-climate-covid-19-project-planet-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2020/08/07/bill-weir-climate-covid-19-project-planet-orig.cnn”,”videoId”:”weather/2020/08/07/bill-weir-climate-covid-19-project-planet-orig.cnn”,”videoUrl”:”/videos/weather/2020/08/07/bill-weir-climate-covid-19-project-planet-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_5EC3464E-FDCA-62DB-F47C-362932717F37″},{“descriptionPlainText”:”In the past five decades, we haven’t made as much progress on protecting the environment as you might think. See how our planet has changed in the climate crisis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200421131936-earth-day-50-project-planet-thumb-1-large-169.jpg”,”title”:”See how the climate crisis has impacted Earth”,”videoCMSUrl”:”/video/data/3.0/video/weather/2020/04/20/earth-day-50-project-planet-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2020/04/20/earth-day-50-project-planet-orig.cnn”,”videoId”:”weather/2020/04/20/earth-day-50-project-planet-orig.cnn”,”videoUrl”:”/videos/weather/2020/04/20/earth-day-50-project-planet-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_30A77D23-DE55-977F-440A-CAAFBDB807DF”},{“descriptionPlainText”:”CNN Correspondent Bill Weir shares video of the moment his son was born and reads a letter to him about the current state of the world.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200424112012-bill-weir-son-being-born-large-169.jpg”,”title”:”What a father tells his son born during a pandemic”,”videoCMSUrl”:”/video/data/3.0/video/opinions/2020/04/23/climate-change-environment-weir-son-opinion-orig-lr-dp.cnn/index.xml”,”videoLeafUrl”:”/videos/opinions/2020/04/23/climate-change-environment-weir-son-opinion-orig-lr-dp.cnn”,”videoId”:”opinions/2020/04/23/climate-change-environment-weir-son-opinion-orig-lr-dp.cnn”,”videoUrl”:”/videos/opinions/2020/04/23/climate-change-environment-weir-son-opinion-orig-lr-dp.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_844526E7-6DA1-0042-8A64-98ECC7692C7E”},{“descriptionPlainText”:”Meteorologist John Morales has used the trust he’s cultivated with Miami citizens to broach a topic many avoid: climate change. Since Hurricane Maria, he has made it his mission to warn citizens about the dangerous effects of the climate crisis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200326092824-florida-meteorologist-project-planet-orig-gbs-00022320-large-169.jpg”,”title”:”How this meteorologist discusses a topic many avoid”,”videoCMSUrl”:”/video/data/3.0/video/weather/2020/03/26/florida-meteorologist-project-planet-orig-gbs.great-big-story/index.xml”,”videoLeafUrl”:”/videos/weather/2020/03/26/florida-meteorologist-project-planet-orig-gbs.great-big-story”,”videoId”:”weather/2020/03/26/florida-meteorologist-project-planet-orig-gbs.great-big-story”,”videoUrl”:”/videos/weather/2020/03/26/florida-meteorologist-project-planet-orig-gbs.great-big-story/video/playlists/project-planet/”,”surrogateKey”:”video_9607528E-72BD-8E9D-1596-A85490AB84B9″},{“descriptionPlainText”:”A climate activist became the first person to swim through a supraglacial lake in order to raise awareness for climate change.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200205104411-man-swims-through-glacier-lake-large-169.jpg”,”title”:”See man become first to swim in a supraglacial lake “,”videoCMSUrl”:”/video/data/3.0/video/world/2020/02/05/man-swims-glacier-climate-change-activism-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/02/05/man-swims-glacier-climate-change-activism-orig.cnn”,”videoId”:”world/2020/02/05/man-swims-glacier-climate-change-activism-orig.cnn”,”videoUrl”:”/videos/world/2020/02/05/man-swims-glacier-climate-change-activism-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_4CFC690C-63CD-AB32-D84F-16F742E9227C”},{“descriptionPlainText”:”Harbour Air and MagniX, the two firms behind this electric plane, aim to have the first entirely electric seaplane fleet in the world.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191211103515-03-electric-plane-canada-1210-large-169.jpg”,”title”:”This seaplane is entirely electric “,”videoCMSUrl”:”/video/data/3.0/video/business/2019/12/11/electric-seaplane-canada-lon-orig-na.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/12/11/electric-seaplane-canada-lon-orig-na.cnn-business”,”videoId”:”business/2019/12/11/electric-seaplane-canada-lon-orig-na.cnn-business”,”videoUrl”:”/videos/business/2019/12/11/electric-seaplane-canada-lon-orig-na.cnn-business/video/playlists/project-planet/”,”surrogateKey”:”video_EE976C0D-9879-8C6F-CAB5-15FD56F77BC7″},{“descriptionPlainText”:”The new Futurecraft.loop shoe’s design is made with sustainability in mind. Once the shoes are worn out, they can be recycled to make new ones.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190419131739-adidas-recyclable-running-shoe-large-169.jpg”,”title”:”These Adidas running shoes are 100% recyclable”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/04/19/adidas-recyclable-running-shoes-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/04/19/adidas-recyclable-running-shoes-orig.cnn-business”,”videoId”:”business/2019/04/19/adidas-recyclable-running-shoes-orig.cnn-business”,”videoUrl”:”/videos/business/2019/04/19/adidas-recyclable-running-shoes-orig.cnn-business/video/playlists/project-planet/”,”surrogateKey”:”video_E122623D-57B7-5A9A-AE15-F4D77686B5CE”},{“descriptionPlainText”:”Heliogen, an energy startup backed by Bill Gates, says its solar technology can reduce carbon emissions and costs for manufacturers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191118132748-01-heliogen-solar-energy-large-169.jpg”,”title”:”This energy startup has made a solar breakthrough”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/19/heliogen-bill-gates-energy-solar-zw-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/19/heliogen-bill-gates-energy-solar-zw-orig.cnn-business”,”videoId”:”business/2019/11/19/heliogen-bill-gates-energy-solar-zw-orig.cnn-business”,”videoUrl”:”/videos/business/2019/11/19/heliogen-bill-gates-energy-solar-zw-orig.cnn-business/video/playlists/project-planet/”,”surrogateKey”:”video_F13F6792-77F4-447C-86CB-3696C580D589″},{“descriptionPlainText”:”These Brooklyn brownstones have been renovated to passive house standards, which allows them to virtually eliminate heating bills and street noise. Baxt Ingui Architects tells us how.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190617170147-brooklyn-passive-house-exterior-large-169.jpg”,”title”:”These 100-year-old homes are on the cutting edge of energy efficiency “,”videoCMSUrl”:”/video/data/3.0/video/business/2019/06/17/passive-house-brooklyn-new-york-energe-climate-change-urban-rennovation-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/06/17/passive-house-brooklyn-new-york-energe-climate-change-urban-rennovation-orig.cnn-business”,”videoId”:”business/2019/06/17/passive-house-brooklyn-new-york-energe-climate-change-urban-rennovation-orig.cnn-business”,”videoUrl”:”/videos/business/2019/06/17/passive-house-brooklyn-new-york-energe-climate-change-urban-rennovation-orig.cnn-business/video/playlists/project-planet/”,”surrogateKey”:”video_1DA98438-C43E-8B33-5647-814239ECCE6F”},{“descriptionPlainText”:”Swedish teenager Greta Thunberg is Time magazine’s Person of the Year for 2019. The 16-year-old activist is known for holding world leaders accountable for their role in the climate crisis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191211130116-02-greta-thunberg-file-large-169.jpg”,”title”:”Meet the teen changing the game for climate change”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/12/11/greta-thunberg-climate-activist-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/12/11/greta-thunberg-climate-activist-orig.cnn-business”,”videoId”:”business/2019/12/11/greta-thunberg-climate-activist-orig.cnn-business”,”videoUrl”:”/videos/business/2019/12/11/greta-thunberg-climate-activist-orig.cnn-business/video/playlists/project-planet/”,”surrogateKey”:”video_90E496F1-C0B3-DC23-A349-66A53A4B419F”},{“descriptionPlainText”:”Some items that may seem right for your recycling bin actually aren’t, and it’s doing more harm than you might realize. CNN’s Allison Chinchar explains.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160708145455-gettyimages-159316335-large-169.jpg”,”title”:”The recycling mistakes you’re likely making”,”videoCMSUrl”:”/video/data/3.0/video/weather/2019/04/22/most-common-recycling-mistakes-am-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2019/04/22/most-common-recycling-mistakes-am-orig.cnn”,”videoId”:”weather/2019/04/22/most-common-recycling-mistakes-am-orig.cnn”,”videoUrl”:”/videos/weather/2019/04/22/most-common-recycling-mistakes-am-orig.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_3ED36012-1C20-18C9-41A3-F51DD06A4882″},{“descriptionPlainText”:”Fifteen recently released Española tortoises are settling back in their natural habitat after they spent decades in a breeding program to save their species from extinction.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200630161741-galapagos-diego-tortoise-large-169.jpg”,”title”:”Recently released giant tortoises settle back on their island”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/06/30/tortoises-galapagos-espanola-breeding-program-lon-orig-mrg.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/06/30/tortoises-galapagos-espanola-breeding-program-lon-orig-mrg.cnn”,”videoId”:”travel/2020/06/30/tortoises-galapagos-espanola-breeding-program-lon-orig-mrg.cnn”,”videoUrl”:”/videos/travel/2020/06/30/tortoises-galapagos-espanola-breeding-program-lon-orig-mrg.cnn/video/playlists/project-planet/”,”surrogateKey”:”video_7739D245-3D8C-947A-0672-44D326EADE75″}],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/2020/08/31/pandemic-tourism-impact-project-planet-orig.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-pzuj5t’,videoDescriptionDivId: ‘js-video_description-pzuj5t’,videoDurationDivId: ‘js-video_duration-pzuj5t’,videoTitleDivId: ‘js-leaf-video_headline-pzuj5t’,videoSourceDivId: ‘js-video_sourceName-pzuj5t’});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(‘

A drop in travel helps the planet. But there’s a catch

Leave a Reply