See fireworks display suddenly explode during setup

‘);$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/04/ocean-city-fireworks-explosion-accident-4th-of-july-orig-kj.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/210704145822-ocean-city-best-thumb-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210704145822-ocean-city-best-thumb-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210704145822-ocean-city-best-thumb-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210704145822-ocean-city-best-thumb-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210704145822-ocean-city-best-thumb-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210704145822-ocean-city-best-thumb-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210704145822-ocean-city-best-thumb-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Beachgoers in Ocean City, Maryland captured video of the town’s 4th of July fireworks gone rogue. The display exploded prematurely after the “unintentional discharge.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210704145822-ocean-city-best-thumb-large-169.jpg”,”title”:”Fireworks display suddenly explodes during setup on crowded beach”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/07/04/ocean-city-fireworks-explosion-accident-4th-of-july-orig-kj.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/07/04/ocean-city-fireworks-explosion-accident-4th-of-july-orig-kj.cnn”,”videoId”:”us/2021/07/04/ocean-city-fireworks-explosion-accident-4th-of-july-orig-kj.cnn”,”videoUrl”:”/videos/us/2021/07/04/ocean-city-fireworks-explosion-accident-4th-of-july-orig-kj.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_0691F7AB-9A67-CAD6-AA44-72D2C9C9D40D”},{“descriptionPlainText”:”CNN’s Don Lemon and Dana Bash discuss the grand finale of the New York City July 4th fireworks display during CNN’s “Fourth in America Special.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210704220850-nyc-fireworks-vpx-large-169.jpg”,”title”:”See grand finale of NYC July 4 fireworks show”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/07/05/new-york-city-fireworks-cnn-july-4-special-don-lemon-dana-bash-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/07/05/new-york-city-fireworks-cnn-july-4-special-don-lemon-dana-bash-vpx.cnn”,”videoId”:”us/2021/07/05/new-york-city-fireworks-cnn-july-4-special-don-lemon-dana-bash-vpx.cnn”,”videoUrl”:”/videos/us/2021/07/05/new-york-city-fireworks-cnn-july-4-special-don-lemon-dana-bash-vpx.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_1F9880DF-3893-3CEB-21F0-7468A32CF2F5″},{“descriptionPlainText”:”REO Speedwagon performs “Roll With the Changes” during CNN’s “Fourth in America Special.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210705121833-screen-reo-speedwagon-large-169.jpg”,”title”:”Missing the 70s? Let REO Speedwagon take you back “,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/07/04/cnn-july-4-special-reo-speedwagon-roll-with-the-changes-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-reo-speedwagon-roll-with-the-changes-vpx.cnn”,”videoId”:”entertainment/2021/07/04/cnn-july-4-special-reo-speedwagon-roll-with-the-changes-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-reo-speedwagon-roll-with-the-changes-vpx.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_FD455B71-E771-F80F-8887-739447351001″},{“descriptionPlainText”:”Singer Susanna Hoffs of the Bangles performs the band’s hit song “Manic Monday” during CNN’s “Fourth in America Special.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210705000307-susanna-hoffs-cnn-july-4-special-large-169.jpg”,”title”:”What Sunday Scaries? Susanna Hoffs performs ‘Manic Monday'”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/07/04/cnn-july-4-special-susanna-hoffs-manic-monday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-susanna-hoffs-manic-monday-vpx.cnn”,”videoId”:”entertainment/2021/07/04/cnn-july-4-special-susanna-hoffs-manic-monday-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-susanna-hoffs-manic-monday-vpx.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_8C496881-3F4F-35B9-2EE0-73A138A89F4D”},{“descriptionPlainText”:”Rapper Nelly performs “Hot in Herre” as San Diego celebrates Independence Day during CNN’s “Fourth in America Special.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210705050515-nelly-large-169.jpg”,”title”:”Nelly performs 2002’s song of the summer”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/07/04/cnn-july-4-special-nelly-hot-in-herre-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-nelly-hot-in-herre-vpx.cnn”,”videoId”:”entertainment/2021/07/04/cnn-july-4-special-nelly-hot-in-herre-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-nelly-hot-in-herre-vpx.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_41FD5E26-E060-2C4A-F57D-73A59B2CF0DA”},{“descriptionPlainText”:”Billy Ray Cyrus performs a cover of Neil Diamond’s “America” with the New York Youth Symphony during CNN’s “Fourth in America Special”.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210704201112-billy-ray-cyrus-america-cnn-july-4th-large-169.jpg”,”title”:”Hear Billy Ray Cyrus’ cover of Neil Diamond’s ‘America'”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/07/04/cnn-july-4-special-billy-ray-cyrus-america-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-billy-ray-cyrus-america-vpx.cnn”,”videoId”:”entertainment/2021/07/04/cnn-july-4-special-billy-ray-cyrus-america-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-billy-ray-cyrus-america-vpx.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_03775D0C-E160-EABE-9093-7368BAC5EF63″},{“descriptionPlainText”:”Washington, DC, celebrates the Fourth of July with a fireworks show during CNN’s “Fourth in America Special.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210704213450-washington-dc-fireworks-july-4-pink-washington-monument-large-169.jpg”,”title”:”Fireworks light up the sky in Washington, DC”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/07/04/cnn-july-4-special-washington-dc-fireworks-finale-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/07/04/cnn-july-4-special-washington-dc-fireworks-finale-vpx.cnn”,”videoId”:”us/2021/07/04/cnn-july-4-special-washington-dc-fireworks-finale-vpx.cnn”,”videoUrl”:”/videos/us/2021/07/04/cnn-july-4-special-washington-dc-fireworks-finale-vpx.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_4BA61AA9-2A48-FBF9-333F-73BE90DD60B8″},{“descriptionPlainText”:”Actor John Stamos joins the Beach Boys in a performance of the band’s 1966 hit “Wouldn’t It Be Nice” during CNN’s “Fourth in America Special.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210705093037-screengrab-the-beach-boy-2-large-169.jpg”,”title”:”John Stamos joins the Beach Boys for ‘Wouldn’t It Be Nice'”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/07/04/cnn-july-4-special-beach-boys-john-stamos-wouldnt-it-be-nice-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-beach-boys-john-stamos-wouldnt-it-be-nice-vpx.cnn”,”videoId”:”entertainment/2021/07/04/cnn-july-4-special-beach-boys-john-stamos-wouldnt-it-be-nice-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-beach-boys-john-stamos-wouldnt-it-be-nice-vpx.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_DF047E57-5CB5-08FD-607E-738DA30B7C0F”},{“descriptionPlainText”:”During the CNN July 4 special, President Joe Biden talked about the coronavirus pandemic and changes the country has seen since 2020, as many Americans gathered for the holiday.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210704195006-02-joe-biden-july-fourth-speech-large-169.jpg”,”title”:”‘Emerging from the darkness’: Biden highlights changes since July 4, 2020″,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/04/joe-biden-remarks-cnn-july-4-special-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/04/joe-biden-remarks-cnn-july-4-special-vpx.cnn”,”videoId”:”politics/2021/07/04/joe-biden-remarks-cnn-july-4-special-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/04/joe-biden-remarks-cnn-july-4-special-vpx.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_8F31DC5D-53CA-B6A1-8CB3-72CC0C436D8C”},{“descriptionPlainText”:”Billy Ray Cyrus performs his 1992 hit “Achy Breaky Heart” with the New York Youth Symphony during CNN’s “Fourth in America Special.” The musicians learned the tune in 10 minutes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210704201414-02-cnn-july-4-special-billy-ray-large-169.jpg”,”title”:”You’ve never heard ‘Achy Breaky Heart’ like this before”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/07/04/cnn-july-4-special-billy-ray-cyrus-achy-breaky-heart-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-billy-ray-cyrus-achy-breaky-heart-vpx.cnn”,”videoId”:”entertainment/2021/07/04/cnn-july-4-special-billy-ray-cyrus-achy-breaky-heart-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-billy-ray-cyrus-achy-breaky-heart-vpx.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_494A3394-54E1-67E7-D659-73646EF65BFF”},{“descriptionPlainText”:”Singer Ne-Yo opens CNN’s “Fourth in America Special” with a performance of “Let’s Go”.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210704192407-ne-yo-lets-go-cnn-july-4-special-large-169.jpg”,”title”:”Watch Ne-Yo kick off CNN’s July 4th celebration”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/07/04/cnn-july-4-special-ne-yo-lets-go-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-ne-yo-lets-go-vpx.cnn”,”videoId”:”entertainment/2021/07/04/cnn-july-4-special-ne-yo-lets-go-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/07/04/cnn-july-4-special-ne-yo-lets-go-vpx.cnn/video/playlists/the-fourth-in-america-highlights/”,”surrogateKey”:”video_E78C8A98-D5C5-0993-2441-72C5C2B9BE16″}],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/04/ocean-city-fireworks-explosion-accident-4th-of-july-orig-kj.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-d1udvx’,videoDescriptionDivId: ‘js-video_description-d1udvx’,videoDurationDivId: ‘js-video_duration-d1udvx’,videoTitleDivId: ‘js-leaf-video_headline-d1udvx’,videoSourceDivId: ‘js-video_sourceName-d1udvx’});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