Images show aftermath of explosion in Farmington, Maine – CNN

Images show aftermath of explosion in Farmington, Maine – CNN ‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘us/2019/09/16/maine-farmington-explosion-sot-nr-vpx.cnn’,width: ‘100%’,height: ‘100%’,section: ‘international’,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/190916101849-03-maine-explosion-0916-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190916101849-03-maine-explosion-0916-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190916101849-03-maine-explosion-0916-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190916101849-03-maine-explosion-0916-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190916101849-03-maine-explosion-0916-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190916101849-03-maine-explosion-0916-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190916101849-03-maine-explosion-0916-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Multiple people are injured after a building exploded in Farmington, Maine, town officials confirmed.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190916101849-03-maine-explosion-0916-large-169.jpg”,”title”:”Images show aftermath of explosion in Farmington, Maine “,”videoCMSUrl”:”/video/data/3.0/video/us/2019/09/16/maine-farmington-explosion-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/09/16/maine-farmington-explosion-sot-nr-vpx.cnn”,”videoId”:”us/2019/09/16/maine-farmington-explosion-sot-nr-vpx.cnn”,”videoUrl”:”/videos/us/2019/09/16/maine-farmington-explosion-sot-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_9CD1E185-A2B6-7C2E-CB47-3A6CEF88D98D”},{“descriptionPlainText”:”Nine-time NASCAR champion Mike Stefanik died while piloting a single-seat Aerolite 103 plane out of an airport in New England.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190916073828-01-mike-stefanik-file-large-169.jpg”,”title”:”Former NASCAR champion dies in plane crash”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/09/16/nascar-mike-stefanik-plane-crash-orig-vstop-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2019/09/16/nascar-mike-stefanik-plane-crash-orig-vstop-bdk.cnn”,”videoId”:”sports/2019/09/16/nascar-mike-stefanik-plane-crash-orig-vstop-bdk.cnn”,”videoUrl”:”/videos/sports/2019/09/16/nascar-mike-stefanik-plane-crash-orig-vstop-bdk.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_7E20B878-14A0-539A-0047-2C4D9F390ABC”},{“descriptionPlainText”:”Humberto strengthens overnight into a Category 1 storm as it moves away from the Bahamas. Elsewhere across the US, extreme heat extends up to the Canadian border where temperatures will be up to 20° above average. Pedram Javaheri has the forecast.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190916043248-daily-weather-forecast-hurricane-humberto-summer-heat-fire-threat-00000000-large-169.jpg”,”title”:”Humberto strengthens to a hurricane”,”videoCMSUrl”:”/video/data/3.0/video/weather/2019/09/16/daily-weather-forecast-hurricane-humberto-summer-heat-fire-threat.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2019/09/16/daily-weather-forecast-hurricane-humberto-summer-heat-fire-threat.cnn”,”videoId”:”weather/2019/09/16/daily-weather-forecast-hurricane-humberto-summer-heat-fire-threat.cnn”,”videoUrl”:”/videos/weather/2019/09/16/daily-weather-forecast-hurricane-humberto-summer-heat-fire-threat.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_84356AE4-2DE5-B68D-AFEC-3AF425CBC915″},{“descriptionPlainText”:”The United Auto Workers union went out on strike against General Motors Sunday night, the first work stoppage in the US auto industry in 12 years.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181031114940-20181031-general-motors-headquarters-large-169.jpg”,”title”:”United Auto Workers union goes on strike against GM”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/09/16/united-auto-workers-strike-general-motors-strike-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/09/16/united-auto-workers-strike-general-motors-strike-vpx.cnn”,”videoId”:”business/2019/09/16/united-auto-workers-strike-general-motors-strike-vpx.cnn”,”videoUrl”:”/videos/business/2019/09/16/united-auto-workers-strike-general-motors-strike-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_B321CCFB-C8F4-82B0-568E-3B79C2BFC31B”},{“descriptionPlainText”:”Purdue Pharma, the company at the center of the opioid crisis, has filed for bankruptcy as it faces more than 2,000 lawsuits.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170601100656-cnnmoney-oxycontin-large-169.jpg”,”title”:”Purdue Pharma files for bankruptcy”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/09/16/purdue-pharma-files-for-bankruptcy-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/09/16/purdue-pharma-files-for-bankruptcy-vpx.cnn”,”videoId”:”business/2019/09/16/purdue-pharma-files-for-bankruptcy-vpx.cnn”,”videoUrl”:”/videos/business/2019/09/16/purdue-pharma-files-for-bankruptcy-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_849251F6-FBDB-ED4A-0EDA-3B1FC21ABA03″},{“descriptionPlainText”:”The Cars were an American rock band that originated in Boston. They became hugely popular in the late 1970s and 80s.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190915231252-the-cars-band-pic-2-large-169.jpg”,”title”:”See The Cars’ greatest hits”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/09/16/the-cars-greatest-hits-mh-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/09/16/the-cars-greatest-hits-mh-orig.cnn”,”videoId”:”us/2019/09/16/the-cars-greatest-hits-mh-orig.cnn”,”videoUrl”:”/videos/us/2019/09/16/the-cars-greatest-hits-mh-orig.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_9CD1E185-A2B6-7C2E-CB47-3A6CEF88D98D”},{“descriptionPlainText”:”Oil prices are trading at their highest levels since May after Saturday’s attack on Saudi Arabian oil facilities disrupted the global supply of crude.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190915180704-06-saudi-refinery-attacks-large-169.jpg”,”title”:”Oil prices spike after Saudi attack disrupts global supply”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/09/16/oil-prices-spike-after-saudi-attack-disrupts-global-supply-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/09/16/oil-prices-spike-after-saudi-attack-disrupts-global-supply-vpx.cnn”,”videoId”:”business/2019/09/16/oil-prices-spike-after-saudi-attack-disrupts-global-supply-vpx.cnn”,”videoUrl”:”/videos/business/2019/09/16/oil-prices-spike-after-saudi-attack-disrupts-global-supply-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_23106FCD-ECCE-EF54-0CCD-3A5674EE9A96″},{“descriptionPlainText”:”President Donald Trump tweeted that the US has “reason to believe” that the United States knows who is responsible for an attack on a Saudi Arabian oil field and the country is “locked and loaded depending verification” following the crippling strike. Newly released satellite images show the targets that were struck in the attack, US officials claim.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190915081453-01-saudi-arabia-oil-field-satellite-large-169.jpg”,”title”:”Satellite images show targets hit in oil attack, US says”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/09/15/saudi-arabia-oil-supply-attack-trump-satellite-images-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/09/15/saudi-arabia-oil-supply-attack-trump-satellite-images-sot-nr-vpx.cnn”,”videoId”:”business/2019/09/15/saudi-arabia-oil-supply-attack-trump-satellite-images-sot-nr-vpx.cnn”,”videoUrl”:”/videos/business/2019/09/15/saudi-arabia-oil-supply-attack-trump-satellite-images-sot-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_A4AADB23-D992-F91E-0DAF-391E3694678E”},{“descriptionPlainText”:”Atlanta Braves outfielder Charlie Culberson was taken to the hospital after being hit in the face by a 90-mph fastball in a game against the Washington Nationals. Umpires called the play a strike, setting off Braves manager Brian Snitker, who came out to argue and yell at the umpires over the call. Afterward, the Braves scored four more runs and won the game 10-1, clinching a playoff berth.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190915113406-01-charlie-culberson-0914-large-169.jpg”,”title”:”Braves player hit in face by fastball, taken to hospital”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/09/15/charlie-culberson-hit-by-pitch-braves-nationals-snitker-sot-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/sports/2019/09/15/charlie-culberson-hit-by-pitch-braves-nationals-snitker-sot-mxp-vpx.hln”,”videoId”:”sports/2019/09/15/charlie-culberson-hit-by-pitch-braves-nationals-snitker-sot-mxp-vpx.hln”,”videoUrl”:”/videos/sports/2019/09/15/charlie-culberson-hit-by-pitch-braves-nationals-snitker-sot-mxp-vpx.hln/video/playlists/top-news-videos/”,”surrogateKey”:”video_D4C1E2F3-43B4-EB5C-8E65-390EAF696045″},{“descriptionPlainText”:”Houthi rebels in Yemen are claiming responsibility for the drone strikes on the world’s largest oil plant in Saudi Arabia. CNN’s Nick Paton Walsh has Iran’s reaction to Secretary of State Mike Pompeo’s claim, without proof, that Iran is behind the attacks.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170217155244-iran-javad-zarif-hp-large-169.jpg”,”title”:”Reporter: ‘Startlingly dangerous moment’ in Middle East”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/15/iran-reacts-pompeo-accusation-saudi-oil-drone-attacks-npw-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/15/iran-reacts-pompeo-accusation-saudi-oil-drone-attacks-npw-ndwknd-vpx.cnn”,”videoId”:”politics/2019/09/15/iran-reacts-pompeo-accusation-saudi-oil-drone-attacks-npw-ndwknd-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/15/iran-reacts-pompeo-accusation-saudi-oil-drone-attacks-npw-ndwknd-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_F0CFB11D-4785-609E-5BEC-38664F920C7D”},{“descriptionPlainText”:”CNN’s Gary Tuchman watched the third Democratic presidential debate with eight Iowa voters, all undecided about who to support in February’s Iowa caucuses. Voters in this battleground state shared their reactions to the remaining presidential candidates.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190915062320-iowa-voters-debates-tuchman-dnt-newday-vpx-00011830-large-169.jpg”,”title”:”Undecided voter: It seems like Bernie is yelling at us”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/13/iowa-voters-debates-tuchman-dnt-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/13/iowa-voters-debates-tuchman-dnt-newday-vpx.cnn”,”videoId”:”politics/2019/09/13/iowa-voters-debates-tuchman-dnt-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/13/iowa-voters-debates-tuchman-dnt-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_D4577652-072B-0823-140F-380AE7EBE07B”},{“descriptionPlainText”:”Hong Kong protesters take to the streets in the fifteenth straight week of protest, prompting the deployment of a large number of riot police. CNN’s Ivan Watson reports from Hong Kong.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190915111052-hong-kong-protests-tear-gas-economy-watson-lklv-vpx-00012408-large-169.jpg”,”title”:”Hong Kong protests continue for 15th straight week “,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/15/hong-kong-protests-tear-gas-economy-watson-lklv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/15/hong-kong-protests-tear-gas-economy-watson-lklv-vpx.cnn”,”videoId”:”world/2019/09/15/hong-kong-protests-tear-gas-economy-watson-lklv-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/15/hong-kong-protests-tear-gas-economy-watson-lklv-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_A4E1048D-BC05-83ED-E665-387E5521C659″},{“descriptionPlainText”:”Shane Gillis was fired from “Saturday Night Live” just days after he was hired, after videos of the comedian making bigoted comments surfaced.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190912211548-shane-gillis-large-169.jpg”,”title”:”Comedian fired from ‘SNL’ for making bigoted comments”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2019/09/13/shane-gillis-snl-offensive-remarks-dig-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2019/09/13/shane-gillis-snl-offensive-remarks-dig-orig-jk.cnn”,”videoId”:”entertainment/2019/09/13/shane-gillis-snl-offensive-remarks-dig-orig-jk.cnn”,”videoUrl”:”/videos/entertainment/2019/09/13/shane-gillis-snl-offensive-remarks-dig-orig-jk.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_6C339E8E-8F92-F18D-B4E6-37383D6271B2″},{“descriptionPlainText”:”Alan Valdes, senior partner at Silverbear Capital, discusses the consumer impact of the coordinated strikes on key Saudi Arabian oil facilities.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190916125020-alan-valdes-qmb-express-intv-large-169.jpg”,”title”:”Alan Valdes: Oil could go to $100 per barrel”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/09/16/saudi-arabia-strikes-oil-alan-valdes-qmb-kosik-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/09/16/saudi-arabia-strikes-oil-alan-valdes-qmb-kosik-vpx.cnn”,”videoId”:”business/2019/09/16/saudi-arabia-strikes-oil-alan-valdes-qmb-kosik-vpx.cnn”,”videoUrl”:”/videos/business/2019/09/16/saudi-arabia-strikes-oil-alan-valdes-qmb-kosik-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_55B1FC94-2F79-7614-0D5E-363A320870C8″},{“descriptionPlainText”:”New York County District Attorney Cyrus Vance’s office has subpoenaed eight years of President Donald Trump’s tax returns from Mazars USA, the longtime accounting firm to Trump and the Trump Organization, as part of its investigation into hush money payments, according to a person familiar with the matter.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190915183443-01-donald-trump-190912-large-169.jpg”,”title”:”Prosecutors subpoena 8 years of Trump tax returns”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/16/nyt-prosecutors-subpoena-trump-tax-returns-honig-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/16/nyt-prosecutors-subpoena-trump-tax-returns-honig-sot-nr-vpx.cnn”,”videoId”:”politics/2019/09/16/nyt-prosecutors-subpoena-trump-tax-returns-honig-sot-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/16/nyt-prosecutors-subpoena-trump-tax-returns-honig-sot-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_6B6CE84B-5DC6-0B84-249B-34ABFC441CF4″},{“descriptionPlainText”:”Prince Harry showed support for Gareth Thomas after the Welsh rugby star was forced to disclose his HIV-positive status.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190916161433-prince-harry-gareth-thomas-split-large-169.jpg”,”title”:”Prince Harry praises rugby star for disclosing HIV status”,”videoCMSUrl”:”/video/data/3.0/video/health/2019/09/16/prince-harry-gareth-thomas-hiv-orig-vstop-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2019/09/16/prince-harry-gareth-thomas-hiv-orig-vstop-bdk.cnn”,”videoId”:”health/2019/09/16/prince-harry-gareth-thomas-hiv-orig-vstop-bdk.cnn”,”videoUrl”:”/videos/health/2019/09/16/prince-harry-gareth-thomas-hiv-orig-vstop-bdk.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_F56FE35D-FFD6-8CE6-CE53-2B9D8923B6CB”}],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/2019/09/16/maine-farmington-explosion-sot-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-220p6vd’,videoDescriptionDivId: ‘js-video_description-220p6vd’,videoDurationDivId: ‘js-video_duration-220p6vd’,videoTitleDivId: ‘js-leaf-video_headline-220p6vd’,videoSourceDivId: ‘js-video_sourceName-220p6vd’});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(‘



Source : Link

Follow 3-www.NET
Follow
e-News.US
  
Share
e-News.Us



Category Latest Posts