‘Very shocking’: Man receives energy bill for nearly $7,000

‘);$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/02/20/energy-bill-griddy-texas-winter-storm-deandre-upshaw-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/210220145046-deandre-upshaw-energy-bill-texas-01-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210220145046-deandre-upshaw-energy-bill-texas-01-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210220145046-deandre-upshaw-energy-bill-texas-01-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210220145046-deandre-upshaw-energy-bill-texas-01-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210220145046-deandre-upshaw-energy-bill-texas-01-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210220145046-deandre-upshaw-energy-bill-texas-01-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210220145046-deandre-upshaw-energy-bill-texas-01-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Fredricka Whitfield speaks to DeAndre Upshaw, who is one of several Texas customers receiving sky-high energy bills as a result of the weather crisis throughout the state.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210220145046-deandre-upshaw-energy-bill-texas-01-large-169.jpg”,”title”:”‘Very shocking’: Texas man receives energy bill for nearly $7,000″,”videoCMSUrl”:”/videos/us/2021/02/20/energy-bill-griddy-texas-winter-storm-deandre-upshaw-nr-vpx.cnn”,”videoLeafUrl”:”/videos/us/2021/02/20/energy-bill-griddy-texas-winter-storm-deandre-upshaw-nr-vpx.cnn”,”videoId”:”us/2021/02/20/energy-bill-griddy-texas-winter-storm-deandre-upshaw-nr-vpx.cnn”,”videoUrl”:”/videos/us/2021/02/20/energy-bill-griddy-texas-winter-storm-deandre-upshaw-nr-vpx.cnn”,”surrogateKey”:”video_58FE19DA-AB36-7C0D-8601-C0F7C5DCA2CB”},{“descriptionPlainText”:”A United Airlines flight headed to Honolulu from Denver International Airport had to turn around due to an engine issue, a spokesperson for the airport told CNN. The FAA said the aircraft experienced right-engine failure shortly after takeoff, as CNN’s Pete Muntean reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210220164000-united-airlines-flight-engine-failure-airplane-debris-colorado-nr-vpx-00000327-large-169.jpg”,”title”:”Airplane debris falls in neighborhoods outside Denver”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/02/20/united-airlines-flight-engine-failure-airplane-debris-colorado-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/02/20/united-airlines-flight-engine-failure-airplane-debris-colorado-nr-vpx.cnn”,”videoId”:”us/2021/02/20/united-airlines-flight-engine-failure-airplane-debris-colorado-nr-vpx.cnn”,”videoUrl”:”/videos/us/2021/02/20/united-airlines-flight-engine-failure-airplane-debris-colorado-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_13AA9DD5-323C-6FD1-DB49-C150BCA0CEC7″},{“descriptionPlainText”:”Members of Congress, including Rep. Alexandria Ocasio-Cortez (D-NY), visited Texas after a winter storm left residents to deal with massive power outages and water shortages.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210220110708-alexandria-ocasio-cortez-texas-winter-storm-sot-nr-vpx-00002730-large-169.jpg”,”title”:”Alexandria Ocasio-Cortez visits Texas after winter storm”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/02/20/alexandria-ocasio-cortez-texas-winter-storm-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/02/20/alexandria-ocasio-cortez-texas-winter-storm-sot-nr-vpx.cnn”,”videoId”:”politics/2021/02/20/alexandria-ocasio-cortez-texas-winter-storm-sot-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/02/20/alexandria-ocasio-cortez-texas-winter-storm-sot-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_0DC77120-5EBF-0778-E858-C02A24A64E9B”},{“descriptionPlainText”:”CNN’s John Avlon and Van Jones react to a Georgia GOP bill intended to restrict voting by taking measures like eliminating Sunday voting and limiting the use of drop boxes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210219235352-avlon-van-split-large-169.jpg”,”title”:”Georgia GOP pushing new sweeping bill to restrict voting”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/02/20/john-avlon-van-jones-georgia-voting-restrictions-bill-sot-ctn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/02/20/john-avlon-van-jones-georgia-voting-restrictions-bill-sot-ctn-vpx.cnn”,”videoId”:”politics/2021/02/20/john-avlon-van-jones-georgia-voting-restrictions-bill-sot-ctn-vpx.cnn”,”videoUrl”:”/videos/politics/2021/02/20/john-avlon-van-jones-georgia-voting-restrictions-bill-sot-ctn-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_DD526F6B-D8FF-DE34-DDFE-BDC57B237AB0″},{“descriptionPlainText”:”The city of El Paso, Texas, has managed to avoid power outages and a water shortage during the brunt of the winter storm that affected the rest of the state. CNN’s Dianne Gallagher explains.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210219181621-el-paso-texas-avoid-storm-trouble-gallagher-dnt-large-169.jpg”,”title”:”How one Texas city avoided disaster during the storm”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/02/19/el-paso-texas-winter-weather-gallagher-pkg-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/02/19/el-paso-texas-winter-weather-gallagher-pkg-tsr-vpx.cnn”,”videoId”:”us/2021/02/19/el-paso-texas-winter-weather-gallagher-pkg-tsr-vpx.cnn”,”videoUrl”:”/videos/us/2021/02/19/el-paso-texas-winter-weather-gallagher-pkg-tsr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_C2F41EF7-1866-1A07-52D7-BC5FCE06EF04″},{“descriptionPlainText”:”President Joe Biden sought to explain why he can’t offer a more specific timeline on when every American who wants a coronavirus vaccine can get one, or when the country will be able to return to normal.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210219172618-biden-pfizer-coronavirus-vaccine-availability-timeline-bts-nr-vpx-00002730-large-169.jpg”,”title”:”Biden shares when he expects a return to normalcy”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/02/19/biden-pfizer-coronavirus-vaccine-availability-timeline-bts-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/02/19/biden-pfizer-coronavirus-vaccine-availability-timeline-bts-nr-vpx.cnn”,”videoId”:”politics/2021/02/19/biden-pfizer-coronavirus-vaccine-availability-timeline-bts-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/02/19/biden-pfizer-coronavirus-vaccine-availability-timeline-bts-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_D762D8B7-9DE8-B69F-7F1D-BC29F32F985A”},{“descriptionPlainText”:”CNN’s Christiane Amanpour talks to US National Security Adviser Jake Sullivan about the SolarWinds hack. Sullivan says that Biden’s White House is considering a range of responses to the suspected Russian spying campaign, not just sanctions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210219204617-jake-sullivan-christiane-amanpour-interview-large-169.jpg”,”title”:”US national security adviser on massive hack: We’re looking beyond sanctions”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/02/20/solarwinds-hack-response-us-national-security-adviser-jake-sullivan-amanpour-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/02/20/solarwinds-hack-response-us-national-security-adviser-jake-sullivan-amanpour-vpx.cnn”,”videoId”:”politics/2021/02/20/solarwinds-hack-response-us-national-security-adviser-jake-sullivan-amanpour-vpx.cnn”,”videoUrl”:”/videos/politics/2021/02/20/solarwinds-hack-response-us-national-security-adviser-jake-sullivan-amanpour-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_D0B05926-759A-2346-90B4-BD19075E173F”},{“descriptionPlainText”:”A newly released study in the Journal of American Medical Association finds that 30% of participants who had Covid-19 had symptoms lasting up to nine months. CNN’s Dr. Sanjay Gupta has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210219135901-covid-19-post-large-169.jpg”,”title”:”‘Bad brain fog’: Patients who had Covid-19 reveal new phenomenon”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/02/19/post-covid-symptoms-gupta-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/02/19/post-covid-symptoms-gupta-vpx.cnn”,”videoId”:”health/2021/02/19/post-covid-symptoms-gupta-vpx.cnn”,”videoUrl”:”/videos/health/2021/02/19/post-covid-symptoms-gupta-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_C015E1DF-1658-B4B8-FDC0-BBA193014285″},{“descriptionPlainText”:”CNN’s Stephanie Elam gets a look at a life-sized model of Mars rover Perseverance as NASA releases new images from its mission to Mars.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210219145349-mars-rover-perseverance-nasa-handout-february-19-2021-large-169.jpg”,”title”:”NASA shows new images from Mars rover”,”videoCMSUrl”:”/video/data/3.0/video/tech/2021/02/19/mars-perseverance-rover-pictures-nasa-elam-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/tech/2021/02/19/mars-perseverance-rover-pictures-nasa-elam-sot-vpx-nr.cnn”,”videoId”:”tech/2021/02/19/mars-perseverance-rover-pictures-nasa-elam-sot-vpx-nr.cnn”,”videoUrl”:”/videos/tech/2021/02/19/mars-perseverance-rover-pictures-nasa-elam-sot-vpx-nr.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_424AC3BD-5382-6329-A23C-BBD3167B9345″},{“descriptionPlainText”:”US District Court Judge Esther Salas said that a gunman who killed her son and wounded her husband in 2020 had also set his sights on Supreme Court Justice Sonia Sotomayor, according to a CBS News “60 Minutes” report airing Sunday. CNN’s Whitney Wild tells us more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210219165313-01-justice-sonia-sotomayor-0120-large-169.jpg”,”title”:”Federal judge reveals Justice Sotomayor was targeted by gunman”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/02/19/sotomayor-salas-supreme-court-security-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/02/19/sotomayor-salas-supreme-court-security-nr-vpx.cnn”,”videoId”:”politics/2021/02/19/sotomayor-salas-supreme-court-security-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/02/19/sotomayor-salas-supreme-court-security-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_3BFAF744-CB14-0C89-1B85-BB8C29BBDAD5″},{“descriptionPlainText”:”Sen. Ted Cruz (R-TX), in an exclusive interview with KTRK ABC13 Houston, admits that his trip to Cancun, Mexico, was a mistake. CNN’s Abby Phillip reacts to Cruz’s statements.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210219134712-ted-cruz-ktrk-exclusive-intv-brighter-large-169.jpg”,”title”:”Reporter to Ted Cruz: What were you thinking?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/02/19/ted-cruz-cancun-trip-mistake-ktrk-phillip-king-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/02/19/ted-cruz-cancun-trip-mistake-ktrk-phillip-king-ip-vpx.cnn”,”videoId”:”politics/2021/02/19/ted-cruz-cancun-trip-mistake-ktrk-phillip-king-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/02/19/ted-cruz-cancun-trip-mistake-ktrk-phillip-king-ip-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_01677F34-724F-1DBA-E2CF-BB7DDE92E971″},{“descriptionPlainText”:”Bitterly cold morning temperatures are still predicted for Texas through Saturday but warmer air is finally on the horizon. CNN meteorologist Jennifer Gray details when the temperatures will moderate.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210219171543-daily-weather-forecast-texas-hard-freeze-warning-pipes-burst-cold-temperatures-northeast-snow-rain-00000813-large-169.jpg”,”title”:”Cold temperatures to recede for Texas this weekend”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/02/19/daily-weather-forecast-texas-hard-freeze-warning-pipes-burst-cold-temperatures-northeast-snow-rain.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/02/19/daily-weather-forecast-texas-hard-freeze-warning-pipes-burst-cold-temperatures-northeast-snow-rain.cnn”,”videoId”:”weather/2021/02/19/daily-weather-forecast-texas-hard-freeze-warning-pipes-burst-cold-temperatures-northeast-snow-rain.cnn”,”videoUrl”:”/videos/weather/2021/02/19/daily-weather-forecast-texas-hard-freeze-warning-pipes-burst-cold-temperatures-northeast-snow-rain.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_BFA27D1E-19C8-991A-4F38-B94EABE722B1″},{“descriptionPlainText”:”Israeli Prime Minister Benjamin Netanyahu likes to talk about Israel’s thriving gay scene as a sign of the country’s tolerance on social issues but, as the country faces another election in March, is aligning himself with far-right parties, some with explicitly homophobic platforms. CNN’s Sam Kiley reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210219121438-screengrab-israel-benjamin-netanyahu-kiley-pkg-large-169.jpg”,”title”:”Israeli opposition horrified by Netanyahu deal with homophobic party”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/19/israel-netanyahu-likud-lgbtq-kiley-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/19/israel-netanyahu-likud-lgbtq-kiley-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/02/19/israel-netanyahu-likud-lgbtq-kiley-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/19/israel-netanyahu-likud-lgbtq-kiley-pkg-intl-ldn-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_F36A102D-CB6A-88DD-CBD8-BA24C7B56595″},{“descriptionPlainText”:”New York Governor Andrew Cuomo is being challenged on his handling of nursing home-related deaths during the pandemic. CNN’s Brian Todd explains.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210215153549-gov-andrew-cuomo-02152021-large-169.jpg”,”title”:”NY Gov. under increasing attack for Covid-related nursing home deaths”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/02/18/ny-gov-cuomo-pressure-todd-tsr-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/02/18/ny-gov-cuomo-pressure-todd-tsr-pkg-vpx.cnn”,”videoId”:”politics/2021/02/18/ny-gov-cuomo-pressure-todd-tsr-pkg-vpx.cnn”,”videoUrl”:”/videos/politics/2021/02/18/ny-gov-cuomo-pressure-todd-tsr-pkg-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_A518950C-999D-78A4-6692-B72FE08B7C31″},{“descriptionPlainText”:”During President Joe Biden’s CNN town hall, he made several false statistical claims. Here’s what you need to know.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210216230847-05-biden-town-hall-selects-large-169.jpg”,”title”:”Biden used 3 key stats to make a point. Except they weren’t true”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/02/19/fact-check-minimum-wage-immigration-china-joe-biden-orig-me.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/02/19/fact-check-minimum-wage-immigration-china-joe-biden-orig-me.cnn”,”videoId”:”politics/2021/02/19/fact-check-minimum-wage-immigration-china-joe-biden-orig-me.cnn”,”videoUrl”:”/videos/politics/2021/02/19/fact-check-minimum-wage-immigration-china-joe-biden-orig-me.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_EA92F2D1-5E9C-216C-C094-BBB21E25198F”},{“descriptionPlainText”:”A former teacher and ex-detainee allege gang rape and torture of women inside China’s vast network of detention camps. CNN’s Ivan Watson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210218151118-01-qelbinur-sidik-large-169.jpg”,”title”:”Beijing faces new abuse claims from Xinjiang”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/18/china-xinjiang-abuse-allegations-watson-pkg-lead-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/18/china-xinjiang-abuse-allegations-watson-pkg-lead-intl-vpx.cnn”,”videoId”:”world/2021/02/18/china-xinjiang-abuse-allegations-watson-pkg-lead-intl-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/18/china-xinjiang-abuse-allegations-watson-pkg-lead-intl-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_FF495B89-3619-8E1C-F305-B6F8D9B33959″},{“descriptionPlainText”:”Sen. Richard Burr (R-NC), who is planning to retire next year, is facing a growing backlash in North Carolina after his vote to convict former President Donald Trump at his second impeachment trial.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210218201618-nobles-dnt-nc-possible-candidates-large-169.jpg”,”title”:”Meet the candidates who could replace Sen. Burr in 2022″,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/02/19/burr-impeachment-vote-backlash-replacement-candidates-nobles-pkg-ebpf-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/02/19/burr-impeachment-vote-backlash-replacement-candidates-nobles-pkg-ebpf-vpx.cnn”,”videoId”:”politics/2021/02/19/burr-impeachment-vote-backlash-replacement-candidates-nobles-pkg-ebpf-vpx.cnn”,”videoUrl”:”/videos/politics/2021/02/19/burr-impeachment-vote-backlash-replacement-candidates-nobles-pkg-ebpf-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_E0A64288-4728-6387-4161-B7CDC7595F1F”}],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/02/20/energy-bill-griddy-texas-winter-storm-deandre-upshaw-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-216p1jx’,videoDescriptionDivId: ‘js-video_description-216p1jx’,videoDurationDivId: ‘js-video_duration-216p1jx’,videoTitleDivId: ‘js-leaf-video_headline-216p1jx’,videoSourceDivId: ‘js-video_sourceName-216p1jx’});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