‘It’s like we don’t matter’: EU loophole has devastating impact on community

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘us/2021/07/07/american-south-biomass-energy-mg-dp-nws-orig.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/210706104634-andrea-macklin-biomass-cnn-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210706104634-andrea-macklin-biomass-cnn-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210706104634-andrea-macklin-biomass-cnn-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210706104634-andrea-macklin-biomass-cnn-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210706104634-andrea-macklin-biomass-cnn-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210706104634-andrea-macklin-biomass-cnn-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210706104634-andrea-macklin-biomass-cnn-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”The European Union pledged to curb carbon emissions — but a loophole in the directive leaves companies to pollute Black communities and devastate ecosystems in the American South.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210706104634-andrea-macklin-biomass-cnn-large-169.jpg”,”title”:”‘It’s like we don’t matter’: Green energy loophole has devastating impact”,”videoCMSUrl”:”/videos/us/2021/07/07/american-south-biomass-energy-mg-dp-nws-orig.cnn”,”videoLeafUrl”:”/videos/us/2021/07/07/american-south-biomass-energy-mg-dp-nws-orig.cnn”,”videoId”:”us/2021/07/07/american-south-biomass-energy-mg-dp-nws-orig.cnn”,”videoUrl”:”/videos/us/2021/07/07/american-south-biomass-energy-mg-dp-nws-orig.cnn”,”surrogateKey”:”video_2AD28159-B522-5D55-5AD1-82381ADE8264″},{“descriptionPlainText”:”DC Metropolitan police officer Michael Fanone, who was beaten during the Capitol attack, responds to Fox News host Laura Ingraham after she mocked his testimony on her show.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210728192813-michael-fanone-laura-ingraham-split-large-169.jpg”,”title”:”Fox News host mocked officer with fake trophy. See his response”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/28/michael-fanone-laura-ingraham-award-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/28/michael-fanone-laura-ingraham-award-newday-vpx.cnn”,”videoId”:”media/2021/07/28/michael-fanone-laura-ingraham-award-newday-vpx.cnn”,”videoUrl”:”/videos/media/2021/07/28/michael-fanone-laura-ingraham-award-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6A9220D6-BBE9-C162-696D-EF65F72E9035″},{“descriptionPlainText”:”An Atlanta restaurant owner defends his decision to impose a vaccine mandate for customers and employees after Rep. Marjorie Taylor Greene attacked the establishment on her personal Twitter account. CNN’s Brianna Keilar reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210728064945-armando-celentano-large-169.jpg”,”title”:”See why this restaurant owner has been targeted by Marjorie Taylor Greene”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/28/marjorie-taylor-greene-twitter-restaurant-vaccination-policy-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/28/marjorie-taylor-greene-twitter-restaurant-vaccination-policy-newday-vpx.cnn”,”videoId”:”business/2021/07/28/marjorie-taylor-greene-twitter-restaurant-vaccination-policy-newday-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/28/marjorie-taylor-greene-twitter-restaurant-vaccination-policy-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D47533FB-936D-7834-A1B1-ECB5C04736A3″},{“descriptionPlainText”:”CNN’s Brian Stelter takes a look at how One America News and other conservative outlets covered the January 6th hearing on the attack at the Capitol.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727102529-13-jan-6-committee-hearing-0727-large-169.jpg”,”title”:”See how right-wing networks covered January 6th hearing”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/28/conservative-media-jan-6-hearings-stelter-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/28/conservative-media-jan-6-hearings-stelter-pkg-vpx.cnn”,”videoId”:”media/2021/07/28/conservative-media-jan-6-hearings-stelter-pkg-vpx.cnn”,”videoUrl”:”/videos/media/2021/07/28/conservative-media-jan-6-hearings-stelter-pkg-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_30EBAECF-8709-8274-555D-EA7DCFC69782″},{“descriptionPlainText”:”The Senate Intelligence Committee’s report into unidentified aerial phenomena — or UFOs — highlights what could be possible threats to US airspace. Former intelligence and security officials help break down how UFOs pose a national security risk.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210702212534-ufo-report-what-our-questions-reveal-large-169.jpg”,”title”:” The ‘baffling’ thing about UFO tech that has security experts worried”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/23/ufo-report-national-security-threat-jm-gr-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/23/ufo-report-national-security-threat-jm-gr-orig.cnn”,”videoId”:”business/2021/07/23/ufo-report-national-security-threat-jm-gr-orig.cnn”,”videoUrl”:”/videos/business/2021/07/23/ufo-report-national-security-threat-jm-gr-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D93AC091-19A3-BBBF-1B48-D4C3EC5D5CB2″},{“descriptionPlainText”:”Don Lemon and political commentators Ana Navarro and Scott Jennings discuss video of Fox News host Tucker Carlson being confronted by a man who later posted the footage to his Instagram account.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727005918-lemon-tucker-carlson-0726-large-169.jpg”,”title”:”Don Lemon defends Tucker Carlson after confrontation with stranger”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/27/tucker-carlson-confrontation-lemon-navarro-jennings-dlt-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/27/tucker-carlson-confrontation-lemon-navarro-jennings-dlt-sot-vpx.cnn”,”videoId”:”media/2021/07/27/tucker-carlson-confrontation-lemon-navarro-jennings-dlt-sot-vpx.cnn”,”videoUrl”:”/videos/media/2021/07/27/tucker-carlson-confrontation-lemon-navarro-jennings-dlt-sot-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6880027A-F8B2-5F6A-C30A-E60358C2191F”},{“descriptionPlainText”:”Rapper Snoop Dogg and actor Kevin Hart have joined forces on Peacock TV to offer their hilarious take on the Tokyo Olympics.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727114027-kevin-hart-snoop-dogg-olympics-show-2-large-169.jpg”,”title”:”Snoop Dogg, Kevin Hart have ideas for new Olympic sports”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/27/snoop-dogg-kevin-hart-olympics-show-orig-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/27/snoop-dogg-kevin-hart-olympics-show-orig-bdk.cnn”,”videoId”:”media/2021/07/27/snoop-dogg-kevin-hart-olympics-show-orig-bdk.cnn”,”videoUrl”:”/videos/media/2021/07/27/snoop-dogg-kevin-hart-olympics-show-orig-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_E0ACA043-00C5-5A30-B397-E87D226BE104″},{“descriptionPlainText”:”Jeff Bezos is offering NASA up to $2 billion in a bid to reignite the battle for space between his rocket company Blue Origin and Elon Musk’s SpaceX. CNN’s Kristin Fisher reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727083824-jeff-bezos-blue-origin-presser-0720-large-169.jpg”,”title”:”Jeff Bezos reignites battle for NASA moon contract”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/27/jeff-bezos-nasa-contract-moon.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/27/jeff-bezos-nasa-contract-moon.cnnbusiness”,”videoId”:”business/2021/07/27/jeff-bezos-nasa-contract-moon.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/27/jeff-bezos-nasa-contract-moon.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_5C5245FE-ABB6-A97A-FCCC-E7D8C1F249E3″},{“descriptionPlainText”:”New footage showing the events at the Capitol on January 6 was shown during a House select committee hearing investigating the riot.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727101720-capitol-riot-new-footage-large-169.jpg”,”title”:”New video of Capitol riot shown at insurrection hearing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/27/insurrection-hearing-new-riot-footage-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/27/insurrection-hearing-new-riot-footage-vpx.cnn”,”videoId”:”politics/2021/07/27/insurrection-hearing-new-riot-footage-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/27/insurrection-hearing-new-riot-footage-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_278BD363-6361-C4E7-7DA7-E84C21C00D67″},{“descriptionPlainText”:”Capitol Officer Michael Fanone describes the danger he encountered at the hands of the Pro-Trump mob that breached the US Capitol on January 6 during the House select committee hearing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210727104929-capitol-officer-michael-fanone-insurrection-hearing-testimony-vpx-large-169.jpg”,”title”:”‘Disgraceful!’: Capitol officer confronts lawmakers downplaying riot”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/27/officer-fanone-testimony-capitol-rioters-gun-insurrection-hearing-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/27/officer-fanone-testimony-capitol-rioters-gun-insurrection-hearing-vpx.cnn”,”videoId”:”politics/2021/07/27/officer-fanone-testimony-capitol-rioters-gun-insurrection-hearing-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/27/officer-fanone-testimony-capitol-rioters-gun-insurrection-hearing-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B7DB8114-7945-775F-F646-E8307AA92A39″},{“descriptionPlainText”:”During the 1984 Olympic Games, CNN went inside the Olympic Village in Los Angeles to see what life was like for the greatest athletes of their day. See how the technology — and security — has changed in this video from the CNN archives.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210719174623-olympic-village-1984-cnn-vault-1-large-169.jpg”,”title”:”See what life was like in the Olympic Village in 1984″,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/19/1984-olympic-village-los-angeles-vault-zw-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/19/1984-olympic-village-los-angeles-vault-zw-orig.cnn-business”,”videoId”:”business/2021/07/19/1984-olympic-village-los-angeles-vault-zw-orig.cnn-business”,”videoUrl”:”/videos/business/2021/07/19/1984-olympic-village-los-angeles-vault-zw-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C50DD634-2980-5532-9401-C0B61D7FD96B”},{“descriptionPlainText”:”Actress Emilia Clarke impressed Jimmy Fallon on The Tonight Show by reciting lyrics from Olivia Rodrigo’s “good 4 u” in eight different accents.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210722171134-emilia-clarke-tonight-show-good-4-u-accents-orig-ah-00000000-large-169.png”,”title”:”Emilia Clarke’s rapid-fire accents blow away Jimmy Fallon”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/22/emilia-clarke-tonight-show-good-4-u-accents-orig-ah.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/22/emilia-clarke-tonight-show-good-4-u-accents-orig-ah.cnn”,”videoId”:”media/2021/07/22/emilia-clarke-tonight-show-good-4-u-accents-orig-ah.cnn”,”videoUrl”:”/videos/media/2021/07/22/emilia-clarke-tonight-show-good-4-u-accents-orig-ah.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C769744F-F008-A468-AD7A-D0952815A17C”},{“descriptionPlainText”:”Fox News host Tucker Carlson attacked Capitol police officer Harry Dunn, who defended the Capitol during the January 6th attack.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210722152232-tucker-carlson-harry-dunn-attack-large-169.jpg”,”title”:”Tucker Carlson insults Capitol police officer”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/22/tucker-carlson-harry-dunn-capitol-police-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/22/tucker-carlson-harry-dunn-capitol-police-nr-vpx.cnn”,”videoId”:”media/2021/07/22/tucker-carlson-harry-dunn-capitol-police-nr-vpx.cnn”,”videoUrl”:”/videos/media/2021/07/22/tucker-carlson-harry-dunn-capitol-police-nr-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D6EBD692-C4F6-9333-C0FA-CFA7E967FBA0″},{“descriptionPlainText”:”Consumer prices were up 5.4% in June, the biggest jump in annual inflation in nearly 13 years. CNN’s Vanessa Yurkevich visits President Biden’s home town of Scranton, PA, where residents and businesses are feeling the impact of inflation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210722092054-auto-auction-pennsylvania-large-169.jpg”,”title”:”‘Outrageous’ used car prices amid highest inflation in 13 years”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/22/inflation-prices-used-cars-gas-groceries.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/22/inflation-prices-used-cars-gas-groceries.cnnbusiness”,”videoId”:”business/2021/07/22/inflation-prices-used-cars-gas-groceries.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/22/inflation-prices-used-cars-gas-groceries.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_65C2118B-59F9-4A54-C4A3-CE177A48346C”},{“descriptionPlainText”:”As prescription drug costs continue to skyrocket in the US, these startup companies are using new strategies to tackle the high prices. Even Mark Cuban is getting in on the action.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210721085837-mission-ahead-drug-startups-03-large-169.jpg”,”title”:”How these startups are tackling high drug costs in the US”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/21/us-prescription-drug-costs-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/21/us-prescription-drug-costs-orig.cnn-business”,”videoId”:”business/2021/07/21/us-prescription-drug-costs-orig.cnn-business”,”videoUrl”:”/videos/business/2021/07/21/us-prescription-drug-costs-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_266F2757-F4C7-A208-0CDF-CAA954B1B2F7″},{“descriptionPlainText”:”You might not see it, but it sees you. CNN’s Jon Sarlin explores the brave new world of facial recognition technology.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200228162112-facial-recognition-sarlin-large-169.jpg”,”title”:”How facial recognition went from bad TV to Big Brother”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/02/28/facial-recognition-from-tv-to-big-brother-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/02/28/facial-recognition-from-tv-to-big-brother-orig.cnn-business”,”videoId”:”business/2020/02/28/facial-recognition-from-tv-to-big-brother-orig.cnn-business”,”videoUrl”:”/videos/business/2020/02/28/facial-recognition-from-tv-to-big-brother-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6A9C049D-5EBA-525E-A48B-8D85D61CAD94″}],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:”us/2021/07/07/american-south-biomass-energy-mg-dp-nws-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-mu2uhz’,videoDescriptionDivId: ‘js-video_description-mu2uhz’,videoDurationDivId: ‘js-video_duration-mu2uhz’,videoTitleDivId: ‘js-leaf-video_headline-mu2uhz’,videoSourceDivId: ‘js-video_sourceName-mu2uhz’});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