A quarter of all the electricity in this county is powering Bitcoin mining – CNN

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘business/2022/04/25/watt-dnt-bitcoin-mining-electricity-washington-nr-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/220424205458-bitcoin-mining-washington-watt-dnt-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220424205458-bitcoin-mining-washington-watt-dnt-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220424205458-bitcoin-mining-washington-watt-dnt-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220424205458-bitcoin-mining-washington-watt-dnt-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220424205458-bitcoin-mining-washington-watt-dnt-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220424205458-bitcoin-mining-washington-watt-dnt-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220424205458-bitcoin-mining-washington-watt-dnt-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”As the Bitcoin industry grows, CNN’s Nick Watt visits a Washington state county where a quarter of all electricity generated is powering Bitcoin mining.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220424205458-bitcoin-mining-washington-watt-dnt-large-169.jpg”,”title”:”A quarter of all the electricity in this county is powering Bitcoin mining”,”videoCMSUrl”:”/videos/business/2022/04/25/watt-dnt-bitcoin-mining-electricity-washington-nr-vpx.cnn”,”videoLeafUrl”:”/videos/business/2022/04/25/watt-dnt-bitcoin-mining-electricity-washington-nr-vpx.cnn”,”videoId”:”business/2022/04/25/watt-dnt-bitcoin-mining-electricity-washington-nr-vpx.cnn”,”videoUrl”:”/videos/business/2022/04/25/watt-dnt-bitcoin-mining-electricity-washington-nr-vpx.cnn”,”surrogateKey”:”video_B1191703-B73F-AEDE-CA98-5E30CB4EAE32″},{“descriptionPlainText”:”Home prices are up 15% year to year, amid strong demand and low supply. Mortgage rates and rental prices, meanwhile are also up. CNN’s Vanessa Yurkevich reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220413151907-us-home-mortgage-rates-large-169.jpg”,”title”:”Why mortgage rates will likely continue to rise”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/21/home-prices-mortgage-rates-rising-yurkevich-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/21/home-prices-mortgage-rates-rising-yurkevich-vpx.cnnbusiness”,”videoId”:”business/2022/04/21/home-prices-mortgage-rates-rising-yurkevich-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/04/21/home-prices-mortgage-rates-rising-yurkevich-vpx.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_4A0F292D-66B0-A659-64EC-4D48F1B84A8E”},{“descriptionPlainText”:”Russian business tycoon Oleg Tinkov has blasted the war in Ukraine, criticizing Russian President Vladimir Putin and other Kremlin officials while calling the war “insane.” CNN’s Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220420062100-oleg-tinkov-file-06062019-large-169.jpg”,”title”:”Russian tycoon stands against war calling Russia ‘riddled with corruption'”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/20/russian-billionaire-oleg-tinkov-russia-ukraine-invasion-first-move-robertson-sot-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/20/russian-billionaire-oleg-tinkov-russia-ukraine-invasion-first-move-robertson-sot-vpx.cnnbusiness”,”videoId”:”business/2022/04/20/russian-billionaire-oleg-tinkov-russia-ukraine-invasion-first-move-robertson-sot-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/04/20/russian-billionaire-oleg-tinkov-russia-ukraine-invasion-first-move-robertson-sot-vpx.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_9EB1BB4C-00E5-8C8B-C2E8-47544CB1BE40″},{“descriptionPlainText”:”Netflix suffers as it sees a drop in quarterly subscriptions amid a crackdown on password sharing and inflation. CNN’s Paul R. La Monica reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200424200142-pba-ranking-large-169.jpg”,”title”:”Future of Netflix looks grim as company value drops”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/20/netflix-loses-subscribers-shares-fall-lamonica-sot-first-move-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/20/netflix-loses-subscribers-shares-fall-lamonica-sot-first-move-vpx.cnnbusiness”,”videoId”:”business/2022/04/20/netflix-loses-subscribers-shares-fall-lamonica-sot-first-move-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/04/20/netflix-loses-subscribers-shares-fall-lamonica-sot-first-move-vpx.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_8A57CF02-DE4A-386A-C361-478EA5312336″},{“descriptionPlainText”:”US Treasury Secretary Janet Yellen says the war in Ukraine poses an economic threat that’s contributing to inflation and hurting recovery from the pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220406093912-01-janet-yellen-file-large-169.jpg”,”title”:”US Treasury Secretary: This is what’s hurting pandemic recovery”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/19/ukraine-war-food-insecurity-economy-pandemic-recovery-janet-yellen-sot-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/19/ukraine-war-food-insecurity-economy-pandemic-recovery-janet-yellen-sot-qmb-vpx.cnnbusiness”,”videoId”:”business/2022/04/19/ukraine-war-food-insecurity-economy-pandemic-recovery-janet-yellen-sot-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/04/19/ukraine-war-food-insecurity-economy-pandemic-recovery-janet-yellen-sot-qmb-vpx.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_6B3A1B10-8683-D300-2B18-436BA06FB54C”},{“descriptionPlainText”:”The International Monetary Fund has cut its global growth forecast in half, citing the war in Ukraine. The economies of Russia, Ukraine and China are all expected to shrink, adding to the global economic setback. CNN’s Anna Stewart reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220412103124-us-recession-threat-large-169.jpg”,”title”:”IMF cuts global growth forecast as war in Ukraine continues”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/19/imf-cuts-global-growth-forecast-stewart-sot-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/19/imf-cuts-global-growth-forecast-stewart-sot-vpx.cnnbusiness”,”videoId”:”business/2022/04/19/imf-cuts-global-growth-forecast-stewart-sot-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/04/19/imf-cuts-global-growth-forecast-stewart-sot-vpx.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_A2587956-1F03-A2E8-9B6F-429A43041C1C”},{“descriptionPlainText”:”Airline passengers react after a federal judge struck down the CDC’s mask mandate on public transportation. CNN’s Pete Muntean reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220419081448-mask-mandate-removal-airline-large-169.jpg”,”title”:”See airline passengers throw away masks as mandate is revoked”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/19/mask-mandate-removal-airlines-muntean-sot-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/19/mask-mandate-removal-airlines-muntean-sot-vpx.cnnbusiness”,”videoId”:”business/2022/04/19/mask-mandate-removal-airlines-muntean-sot-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/04/19/mask-mandate-removal-airlines-muntean-sot-vpx.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_65DE0F02-15D6-5B52-9741-422BDD33C6E3″},{“descriptionPlainText”:”China’s economy is worsening as Shanghai reports three Covid deaths amid strict lockdown measures. CNN’s Steven Jiang reports how the recent deaths may be putting authorities in a bind amid the country’s zero Covid policy and how the lockdown is starting to dampen the city’s economic growth.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220131130425-china-economy-pandemic-large-169.jpg”,”title”:”China’s economy headed downward as lockdowns tighten”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/18/china-economy-gdp-covid-lockdowns-jiang-first-move-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/18/china-economy-gdp-covid-lockdowns-jiang-first-move-vpx.cnnbusiness”,”videoId”:”business/2022/04/18/china-economy-gdp-covid-lockdowns-jiang-first-move-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/04/18/china-economy-gdp-covid-lockdowns-jiang-first-move-vpx.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_623135FF-4A2F-3E32-CC1A-3D13F3F7BD6B”},{“descriptionPlainText”:”Germany has seized what is believed to be the world’s largest yacht, worth over $700 million, allegedly belonging to the sister of a sanctioned ally of Russian President Vladimir Putin. CNN’s Matt Egan details assets targeted by countries across Europe.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211112104539-12-superyacht-dilbar-lurssen-large-169.jpg”,”title”:”Germany seizes world’s largest yacht tied to family of Russian oligarch”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/15/europe-seizes-yacht-russian-oligarch-putin-circle-egan-sot-newsroom-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/15/europe-seizes-yacht-russian-oligarch-putin-circle-egan-sot-newsroom-vpx.cnnbusiness”,”videoId”:”business/2022/04/15/europe-seizes-yacht-russian-oligarch-putin-circle-egan-sot-newsroom-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/04/15/europe-seizes-yacht-russian-oligarch-putin-circle-egan-sot-newsroom-vpx.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_2C125278-7379-E42A-3646-2E7720430C10″},{“descriptionPlainText”:”Amazon is instituting a fuel and inflation surcharge to deal with high costs. CNN’s Matt Egan reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220117093051-amazon-fulfillment-center-uk-1213-file-large-169.jpg”,”title”:”Amazon responds to inflation with surcharges”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/14/amazon-fuel-inflation-surcharge-egan-sot-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/14/amazon-fuel-inflation-surcharge-egan-sot-vpx.cnnbusiness”,”videoId”:”business/2022/04/14/amazon-fuel-inflation-surcharge-egan-sot-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/04/14/amazon-fuel-inflation-surcharge-egan-sot-vpx.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_C143BB52-2E03-8523-F0B8-28AB2E00A314″},{“descriptionPlainText”:”Tesla CEO Elon Musk offered to buy Twitter for $43 billion and wants to take the company private. The next anticipated step is for Twitter’s board to make a decision. CNN’s Christine Romans reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220413121601-03-elon-musk-0309-file-large-169.jpg”,”title”:”Twitter must decide on Elon Musk’s $43 billion offer “,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/14/twitter-elon-musk-offer-acquisition-romans-sot-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/14/twitter-elon-musk-offer-acquisition-romans-sot-vpx.cnnbusiness”,”videoId”:”business/2022/04/14/twitter-elon-musk-offer-acquisition-romans-sot-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/04/14/twitter-elon-musk-offer-acquisition-romans-sot-vpx.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_3BFFFF55-81A6-C321-06A3-285EE1CD42DB”},{“descriptionPlainText”:”David Broockman and Joshua Kalla paid Fox viewers to watch CNN for one month, and then asked them a series of questions about world news. Those answers were compiled into a newly released study. Broockman and Kalla share their findings with CNN’s Brian Stelter.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220401142318-fox-news-ny-0118-large-169.jpg”,”title”:”Researchers paid Fox viewers to watch CNN for one month. Here’s what they found”,”videoCMSUrl”:”/video/data/3.0/video/media/2022/04/10/fox-viewers-study-media-stelter-rs-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2022/04/10/fox-viewers-study-media-stelter-rs-vpx.cnn”,”videoId”:”media/2022/04/10/fox-viewers-study-media-stelter-rs-vpx.cnn”,”videoUrl”:”/videos/media/2022/04/10/fox-viewers-study-media-stelter-rs-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_4A778623-DCBE-36F9-D535-142FC03DAD07″},{“descriptionPlainText”:”Abigail Disney, whose grandfather Roy Disney was a co-founder of the Walt Disney Company, responds to right-wing media personalities and politicians claiming the company is trying to indoctrinate children.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220410120749-abigail-disney-large-169.jpeg”,”title”:”Abigail Disney responds to right-wing media attacks on company”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/10/abigail-disney-right-wing-media-attacks-sot-rs-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/10/abigail-disney-right-wing-media-attacks-sot-rs-vpx.cnn”,”videoId”:”business/2022/04/10/abigail-disney-right-wing-media-attacks-sot-rs-vpx.cnn”,”videoUrl”:”/videos/business/2022/04/10/abigail-disney-right-wing-media-attacks-sot-rs-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_E13B7D20-0DF9-7464-C081-14393008F372″},{“descriptionPlainText”:”Elon Musk, Tesla’s CEO who just became the largest shareholder in Twitter, has been tweeting about possible changes to the company.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220410113526-elon-musk-twitter-board-tweet-large-169.jpg”,”title”:”See Elon Musk’s unusual tweets after becoming largest Twitter shareholder”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/10/elon-musk-twitter-rs-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/10/elon-musk-twitter-rs-vpx.cnn”,”videoId”:”business/2022/04/10/elon-musk-twitter-rs-vpx.cnn”,”videoUrl”:”/videos/business/2022/04/10/elon-musk-twitter-rs-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_175825D0-8FEE-4FC8-185F-1412D5217BDE”},{“descriptionPlainText”:”Aboard a SpaceX rocket, commercial spaceflight company Axiom Space has sent the first fully civilian crew climbing towards the International Space Station – for a reported $55 million a seat.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220409103848-19-axiom-mission-ax-1-spacex-iss-hatch-opening-welcome-ceremony-0409-screenshot-large-169.jpg”,”title”:”Watch SpaceX and Axiom dock first civilian crew at ISS for 10 days”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/08/axiom-spacex-iss-mission-mc-scn-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/08/axiom-spacex-iss-mission-mc-scn-orig.cnn-business”,”videoId”:”business/2022/04/08/axiom-spacex-iss-mission-mc-scn-orig.cnn-business”,”videoUrl”:”/videos/business/2022/04/08/axiom-spacex-iss-mission-mc-scn-orig.cnn-business/video/playlists/business-news/”,”surrogateKey”:”video_B59FFC31-2468-459C-3A31-097EF607C06E”},{“descriptionPlainText”:”CNN’s Vanessa Yurkevich reports on middle class Americans struggling to pay for rising medical costs caused by record-high inflation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220408063410-mcgarity-interview-still-rising-medical-costs-yurkevich-pkg-large-169.jpg”,”title”:”‘We will be destitute’: Middle class hit with rising medical costs”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/04/08/rising-medical-costs-inflation-impact-on-middle-class-america-newday-yurkevich-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/04/08/rising-medical-costs-inflation-impact-on-middle-class-america-newday-yurkevich-vpx.cnn”,”videoId”:”business/2022/04/08/rising-medical-costs-inflation-impact-on-middle-class-america-newday-yurkevich-vpx.cnn”,”videoUrl”:”/videos/business/2022/04/08/rising-medical-costs-inflation-impact-on-middle-class-america-newday-yurkevich-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_CAB1A04C-1998-946D-2664-0959676F33BC”}],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:”business/2022/04/25/watt-dnt-bitcoin-mining-electricity-washington-nr-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-22n1vnt’,videoDescriptionDivId: ‘js-video_description-22n1vnt’,videoDurationDivId: ‘js-video_duration-22n1vnt’,videoTitleDivId: ‘js-leaf-video_headline-22n1vnt’,videoSourceDivId: ‘js-video_sourceName-22n1vnt’});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(‘

Leave a comment

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