‘It’s like we don’t matter’: Green energy 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 on community”,”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”:”CNN Business breaks down the price hikes customers are seeing at the grocery store, the gas tank, the car lot, and more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210624173304-20210623-inflation-gfx-large-169.jpg”,”title”:”Prices are going up on almost everything. Here’s why”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/09/inflation-price-expensive-covid-recovery-gas-energy-cars-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/09/inflation-price-expensive-covid-recovery-gas-energy-cars-orig.cnn-business”,”videoId”:”business/2021/07/09/inflation-price-expensive-covid-recovery-gas-energy-cars-orig.cnn-business”,”videoUrl”:”/videos/business/2021/07/09/inflation-price-expensive-covid-recovery-gas-energy-cars-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F0F6F355-4070-0BBD-5FB7-8C43DD887355″},{“descriptionPlainText”:”Public sector employees taking part in two large trials between 2015 and 2019 worked 35-36 hours per week, with no reduction in pay. CNN’s Clare Sebastian spoke with one of the people behind the study.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210706053524-work-office-stock-large-169.jpg”,”title”:” Iceland’s shorter work week trials deemed a success”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/09/iceland-shorter-working-week-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/09/iceland-shorter-working-week-vpx.cnnbusiness”,”videoId”:”business/2021/07/09/iceland-shorter-working-week-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/09/iceland-shorter-working-week-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_AB573AC3-4DE2-1CC2-CAFC-8C4D4FE84462″},{“descriptionPlainText”:”Amtrak CEO Bill Flynn discusses how Amtrak plans to redesign, manufacture and replace aging trains as President Biden promises support for a $66 million rail investment.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210430153220-amtrak-1-1-large-169.jpg”,”title”:”See how Amtrak plans to replace 50-year-old rail cars”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/08/amtrak-ceo-bill-flynn-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/08/amtrak-ceo-bill-flynn-qmb-vpx.cnnbusiness”,”videoId”:”business/2021/07/08/amtrak-ceo-bill-flynn-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/08/amtrak-ceo-bill-flynn-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_9A6DF134-8F4B-4461-ADF4-87B1F7AF05DF”},{“descriptionPlainText”:”A Florida man was mystified when he received two replica right hands via FedEx. CNN’s Jeanne Moos says you gotta hand it to Joe Jonas.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210708194416-expedia-hands-moos-pkg-vpx-large-169.jpg”,”title”:”Florida man finds mystery replica hands in mail”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/08/mystery-hands-expedia-joe-jonas-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/08/mystery-hands-expedia-joe-jonas-pkg-vpx.cnn”,”videoId”:”business/2021/07/08/mystery-hands-expedia-joe-jonas-pkg-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/08/mystery-hands-expedia-joe-jonas-pkg-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_CE4F82D1-B845-CB60-B25E-8867D9A3BCE1″},{“descriptionPlainText”:”People are traveling more but oil supply hasn’t caught up with demand. CNN’s Matt Egan explains why the BIden administration needs to focus on energy diplomacy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210310085115-us-gas-prices-0303-large-169.jpg”,”title”:”Gas prices are high. Here’s why”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/08/gas-prices-opec-biden.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/08/gas-prices-opec-biden.cnnbusiness”,”videoId”:”business/2021/07/08/gas-prices-opec-biden.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/08/gas-prices-opec-biden.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A52FD956-710B-4F4E-B0CA-863FB9603AD8″},{“descriptionPlainText”:”As a result of the pandemic, studios started releasing movies in theaters and on streaming on the same day. But is that really a good thing? CNN Business’ Frank Pallotta explains why that strategy may not become the solution for your favorite blockbusters.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210527152347-amc-theater-0315-large-169.jpg”,”title”:”Here’s why straight-to-streaming blockbusters might never work”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/08/straight-to-streaming-blockbusters-box-office-mc-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/08/straight-to-streaming-blockbusters-box-office-mc-orig.cnn-business”,”videoId”:”business/2021/07/08/straight-to-streaming-blockbusters-box-office-mc-orig.cnn-business”,”videoUrl”:”/videos/business/2021/07/08/straight-to-streaming-blockbusters-box-office-mc-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_4D8604D8-2034-3758-1071-8766047B6AFF”},{“descriptionPlainText”:”Wells Fargo is shutting down all of its existing personal lines of credit, sparking outrage from consumers and advocates.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210708175125-wells-fargo-bank-file-large-169.jpg”,”title”:”Wells Fargo is closing all personal lines of credit”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/09/wells-fargo-shutting-credit-lines.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/09/wells-fargo-shutting-credit-lines.cnnbusiness”,”videoId”:”business/2021/07/09/wells-fargo-shutting-credit-lines.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/09/wells-fargo-shutting-credit-lines.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C1E8E4BF-B3F9-BA44-A711-8AFC05539178″},{“descriptionPlainText”:”ESPN removed Rachel Nichols from her role as the sideline reporter for the NBA Finals after the New York Times published an audio recording of Nichols making disparaging comments about colleague Maria Taylor.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150106164121-rachel-nichols-court-large-169.jpg”,”title”:”ESPN removes reporter from NBA Finals sideline role after leaked call”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/06/rachel-nichols-reporter-espn-nba-finals-sot-vpx-nr-new.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/06/rachel-nichols-reporter-espn-nba-finals-sot-vpx-nr-new.cnn”,”videoId”:”media/2021/07/06/rachel-nichols-reporter-espn-nba-finals-sot-vpx-nr-new.cnn”,”videoUrl”:”/videos/media/2021/07/06/rachel-nichols-reporter-espn-nba-finals-sot-vpx-nr-new.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_EA917021-6747-8326-0419-7D95F6E1A934″},{“descriptionPlainText”:”China’s popular social media and messaging app WeChat is accused of wiping almost all public LGBTQ accounts run by Chinese university students. The sweeping move has sparked worries that there’s a wider crackdown on online gay content underway. CNN’s David Culver examines why there might be a broader effort at play to target LGBTQ freedoms in China and how some are pushing back.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210709120835-china-wechat-lgbtq-crackdown-culver-pkg-intl-hnk-vpx-00023723-large-169.png”,”title”:”China widens crackdown on LGBTQ groups and content “,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/09/china-wechat-lgbtq-crackdown-culver-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/09/china-wechat-lgbtq-crackdown-culver-pkg-intl-hnk-vpx.cnn”,”videoId”:”business/2021/07/09/china-wechat-lgbtq-crackdown-culver-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/09/china-wechat-lgbtq-crackdown-culver-pkg-intl-hnk-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_2F9146EB-B211-E986-F027-892BB3DB462D”},{“descriptionPlainText”:”San Francisco police are trying to identify suspects In yet another brazen robbery caught on video. Thieves were caught on camera taking handbags from a high end department store. CNN affiliate KGO reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210706164347-neiman-marcus-theft-large-169.jpg”,”title”:”Shocking video shows 9 escaping after brazen theft at luxury store”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/06/neiman-marcus-theft-san-francisco-pkg-vpx.kgo/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/06/neiman-marcus-theft-san-francisco-pkg-vpx.kgo”,”videoId”:”business/2021/07/06/neiman-marcus-theft-san-francisco-pkg-vpx.kgo”,”videoUrl”:”/videos/business/2021/07/06/neiman-marcus-theft-san-francisco-pkg-vpx.kgo/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_956DAE5D-BAEE-FA7A-57E4-7D44ED4AB7CA”},{“descriptionPlainText”:”Didi shares plunged as much as 22% in premarket trading as fallout continued over news of the company’s troubles in China. CNN’s David Culver reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210705003651-china-cybersecurity-ban-apps-intl-hnk-large-169.jpg”,”title”:”Didi shares plummet after China bans it from app stores “,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/06/didi-stock-china-bans-app-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/06/didi-stock-china-bans-app-vpx.cnnbusiness”,”videoId”:”business/2021/07/06/didi-stock-china-bans-app-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/06/didi-stock-china-bans-app-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_374337E5-78AA-99EA-4776-7BECF9E55111″},{“descriptionPlainText”:”Author J.D. Vance has joined the race for an Ohio Senate seat. The author of ‘Hillbilly Elegy’ has gone from criticizing Donald Trump to praising him, and deleting any negative tweets about the former President. CNN’s Michael Smerconish comes on New Day to discuss.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210706082802-j-d-vance-large-169.jpg”,”title”:”J.D. Vance apologizes for saying anything bad about Trump”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/06/j-d-vance-donald-trump-smerconish-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/06/j-d-vance-donald-trump-smerconish-newday-vpx.cnn”,”videoId”:”business/2021/07/06/j-d-vance-donald-trump-smerconish-newday-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/06/j-d-vance-donald-trump-smerconish-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C1B02002-6AF0-F7A4-11B5-7BA99EC29016″},{“descriptionPlainText”:”CNN’s John Avlon and Christine Romans discuss the video Facebook CEO Mark Zuckerberg posted on July 4th, showing Zuckerberg waving the American flag while riding an electric surfboard.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210705065610-mark-zuckerberg-july-4-large-169.jpg”,”title”:”Zuckerberg posts flag-waving video on electric surfboard”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/05/mark-zuckerberg-july-4-flag-surfboard-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/05/mark-zuckerberg-july-4-flag-surfboard-newday-vpx.cnn”,”videoId”:”business/2021/07/05/mark-zuckerberg-july-4-flag-surfboard-newday-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/05/mark-zuckerberg-july-4-flag-surfboard-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_4BBBAF34-BC0D-3F8D-2C48-765F6E63A8D1″},{“descriptionPlainText”:”British billionaire Richard Branson plans to beat fellow billionaire and rival Jeff Bezos to space. Branson’s company, Virgin Galactic, made a surprise announcement that he will attempt to fly in Virgin’s rocket-powered plane on July 11 — nine days before Bezos’s planned July 20th launch.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210702101539-richard-branson-rachel-crane-interview-large-169.jpg”,”title”:”Richard Branson: ‘Really doesn’t matter’ if I beat Jeff Bezos to space”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/02/richard-branson-going-to-space-crane-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/02/richard-branson-going-to-space-crane-vpx.cnn”,”videoId”:”business/2021/07/02/richard-branson-going-to-space-crane-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/02/richard-branson-going-to-space-crane-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B353DA54-CEEA-8538-7D22-66D47C1C6C91″},{“descriptionPlainText”:”During a trip to Michigan, President Joe Biden addressed the latest ransomware attack by the same group that hit meat supplier JBS Foods last spring, this time impacting a key software vendor known as Kaseya whose products are widely used by IT management companies. CNN’s Arlette Saenz has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210703182113-biden-traverse-city-michigan-0703-large-169.jpg”,”title”:”Biden: US government unsure who staged latest cyberattack”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/03/biden-ransomware-attack-saenz-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/03/biden-ransomware-attack-saenz-sot-nr-vpx.cnn”,”videoId”:”business/2021/07/03/biden-ransomware-attack-saenz-sot-nr-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/03/biden-ransomware-attack-saenz-sot-nr-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_1217E354-DF96-D1E0-6A43-6E6DF51529C1″}],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-alrzxr’,videoDescriptionDivId: ‘js-video_description-alrzxr’,videoDurationDivId: ‘js-video_duration-alrzxr’,videoTitleDivId: ‘js-leaf-video_headline-alrzxr’,videoSourceDivId: ‘js-video_sourceName-alrzxr’});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