' + descArr[i] + '
';}}$desc.html(descText);}$pageHeadLine.html(videocardContents.headlineText ? decodeURI(videocardContents.headlineText) : '');$dateCreated.html(videocardContents.dateCreated ? 'Added on ' + videocardContents.dateCreated : '');});});if (CNN.Utils.exists(videocardContents.showName)) {if (CNN.Utils.exists(videocardContents.showUrl)) {showDetailsSpanContent = '' + videocardContents.showName + ' | ';} else {showDetailsSpanContent = videocardContents.showName + ' | ';}}fastdom.read(function getShowInfo() {var $show = jQuery('.metadata__show'),$isShowDetailsSpanExists = $show.find('span').hasClass('metadata--show__name'),$showName = jQuery('.metadata--show__name');fastdom.write(function updateShowInfo() {if (!$isShowDetailsSpanExists) {$show.prepend('' + showDetailsSpanContent + '');} else {$showName.html(showDetailsSpanContent);}});});if (CNN.Utils.exists(videocardContents.sourceName)) {fastdom.read(function getSourceInfo() {var $source = jQuery('.metadata__source-name');fastdom.write(function updateSourceInfo() {if (CNN.Utils.exists(videocardContents.sourceLink)) {$source.html('Source: ' + videocardContents.sourceName + '');} else {$source.html('Source: ' + videocardContents.sourceName);}});});}if (typeof (history) !== 'undefined' && typeof (history.replaceState) !== 'undefined') {history.replaceState('', '', videocardContents.url);document.title = videocardContents.headlineText ? decodeURI(videocardContents.headlineText) : '';}CNN.share.reloadShareBar();}function getCurrentVideoCardContents(currentVideoId) {var containerContents = [{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","contentType":"","cta":"share","descriptionText":["Video posted to social media shows the moment a crane collapsed at Saudia Arabia's largest mosque and killed dozens of people. CNN's Isha Sesay reports."],"descriptionPlainText":"Video posted to social media shows the moment a crane collapsed at Saudia Arabia's largest mosque and killed dozens of people. CNN's Isha Sesay reports.","headlinePostText":"","headlinePreText":"","headlineText":"Video shows moment crane collapses in Mecca","headlinePlainText":"Video shows moment crane collapses in Mecca","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"MECCA, SAUDI ARABIA - SEPTEMBER 11: At least 52 worshippers are killed and others injured when storms caused a crane to fall in Mecca's Grand Mosque on Friday, September 11, 2015. Millions of Muslim converge on Mecca to perform the sacred pilgrimage. A huge construction crane buffeted by strong winds collapsed and crashed through the roof of the Grand Mosque in Mecca Friday, the Saudi Arabia Civil Defense reports. Search and rescue teams and medical workers from the Saudi Red Crescent have been sent to the scene. (Photo by Ozkan Bilgin/Anadolu Agency/Getty Images)","imageAlt":"MECCA, SAUDI ARABIA - SEPTEMBER 11: At least 52 worshippers are killed and others injured when storms caused a crane to fall in Mecca's Grand Mosque on Friday, September 11, 2015. Millions of Muslim converge on Mecca to perform the sacred pilgrimage. A huge construction crane buffeted by strong winds collapsed and crashed through the roof of the Grand Mosque in Mecca Friday, the Saudi Arabia Civil Defense reports. Search and rescue teams and medical workers from the Saudi Red Crescent have been sent to the scene. (Photo by Ozkan Bilgin/Anadolu Agency/Getty Images)","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911141425-tease-mecca-crane-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911141425-tease-mecca-crane-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911141425-tease-mecca-crane-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911141425-tease-mecca-crane-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911141425-tease-mecca-crane-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911141425-tease-mecca-crane-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911141425-tease-mecca-crane-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911141425-tease-mecca-crane-small-11.jpg"}},"responsiveImage":true},"duration":"1:48"},"overMediaText":"","sectionName":"video","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"2 h","lastModifiedState":"","type":"card","url":"/videos/world/2015/09/11/saudi-arabia-mecca-mosque-crane-collapse-video.cnn/video/playlists/mecca-crane-collapse/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/world/2015/09/11/saudi-arabia-mecca-mosque-crane-collapse-video.cnn/index.xml","videoId":"world/2015/09/11/saudi-arabia-mecca-mosque-crane-collapse-video.cnn","dateCreated":"2:08 PM ET, Fri September 11, 2015","sourceName":"CNN","sourceLink":"http://edition.cnn.com/","videoCollectionUrl":"/video/playlists/mecca-crane-collapse/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","contentType":"","cta":"share","descriptionText":["CNN meteorologist Brandon Miller looks at what the weather conditions were like at the time a crane collapsed at Saudi Arabia's largest mosque in Mecca."],"descriptionPlainText":"CNN meteorologist Brandon Miller looks at what the weather conditions were like at the time a crane collapsed at Saudi Arabia's largest mosque in Mecca.","headlinePostText":"","headlinePreText":"","headlineText":"Did storm cause crane to collapse in Mecca?","headlinePlainText":"Did storm cause crane to collapse in Mecca?","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"mecca mosque crane collapse live wolf _00002622.jpg","imageAlt":"mecca mosque crane collapse live wolf _00002622","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-small-11.jpg"}},"responsiveImage":true},"duration":"2:01"},"overMediaText":"","sectionName":"video","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"2 h","lastModifiedState":"","type":"card","url":"/videos/world/2015/09/11/saudi-arabia-mecca-mosque-crane-collapse-weather.cnn/video/playlists/mecca-crane-collapse/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/world/2015/09/11/saudi-arabia-mecca-mosque-crane-collapse-weather.cnn/index.xml","videoId":"world/2015/09/11/saudi-arabia-mecca-mosque-crane-collapse-weather.cnn","dateCreated":"2:26 PM ET, Fri September 11, 2015","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/mecca-crane-collapse/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","contentType":"","cta":"share","descriptionText":["A \u003ca href=\"http://www.cnn.com/2015/09/11/middleeast/saudi-arabia-mecca-crane-collapse/index.html\">crane collapse\u003c/a> at the Masjid al-Haram in Mecca killed dozens of people, Saudi Arabian authorities said."],"descriptionPlainText":"A crane collapse at the Masjid al-Haram in Mecca killed dozens of people, Saudi Arabian authorities said.","headlinePostText":"","headlinePreText":"","headlineText":"Officials: Crane collapse kills dozens in Mecca mosque","headlinePlainText":"Officials: Crane collapse kills dozens in Mecca mosque","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"mecca mosque crane collapse live wolf _00002622.jpg","imageAlt":"mecca mosque crane collapse live wolf _00002622","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911140240-mecca-mosque-crane-collapse-live-wolf-00002622-small-11.jpg"}},"responsiveImage":true},"duration":"0:45"},"overMediaText":"","sectionName":"video","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"3 h","lastModifiedState":"","type":"card","url":"/videos/world/2015/09/11/mecca-mosque-crane-collapse-live-wolf.cnn/video/playlists/mecca-crane-collapse/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/world/2015/09/11/mecca-mosque-crane-collapse-live-wolf.cnn/index.xml","videoId":"world/2015/09/11/mecca-mosque-crane-collapse-live-wolf.cnn","dateCreated":"1:29 PM ET, Fri September 11, 2015","sourceName":"CNN","sourceLink":"www.cnn.com ","showName":"Wolf","showUrl":"/shows/wolf","videoCollectionUrl":"/video/playlists/mecca-crane-collapse/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","contentType":"","cta":"share","descriptionText":["CNN's Hala Gorani speaks to Khaled al-Maeena about the deadly crane collapse near a Mecca mosque that left dozens dead and injured almost 200."],"descriptionPlainText":"CNN's Hala Gorani speaks to Khaled al-Maeena about the deadly crane collapse near a Mecca mosque that left dozens dead and injured almost 200.","headlinePostText":"","headlinePreText":"","headlineText":"Death toll in Mecca crane collapse jumps to 87","headlinePlainText":"Death toll in Mecca crane collapse jumps to 87","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"A crane collapsed Friday evening at one of Islam's most important mosques -- Mecca's Masjid al-Haram, or Grand Mosque -- killing at least 87 people and injuring 184 others, Saudi Arabia's civil defense authorities said Friday on Twitter.","imageAlt":"A crane collapsed Friday evening at one of Islam's most important mosques -- Mecca's Masjid al-Haram, or Grand Mosque -- killing at least 87 people and injuring 184 others, Saudi Arabia's civil defense authorities said Friday on Twitter.","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911155212-mecca-crane-collapse-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911155212-mecca-crane-collapse-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911155212-mecca-crane-collapse-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911155212-mecca-crane-collapse-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911155212-mecca-crane-collapse-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911155212-mecca-crane-collapse-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911155212-mecca-crane-collapse-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150911155212-mecca-crane-collapse-small-11.jpg"}},"responsiveImage":true},"duration":"2:35"},"overMediaText":"","sectionName":"video","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"51 m","lastModifiedState":"red","type":"card","url":"/videos/world/2015/09/11/saudi-arabia-mecca-mosque-crane-collapse-khaled-al-maeena-intv-wrn.cnn/video/playlists/mecca-crane-collapse/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/world/2015/09/11/saudi-arabia-mecca-mosque-crane-collapse-khaled-al-maeena-intv-wrn.cnn/index.xml","videoId":"world/2015/09/11/saudi-arabia-mecca-mosque-crane-collapse-khaled-al-maeena-intv-wrn.cnn","dateCreated":"3:35 PM ET, Fri September 11, 2015","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/mecca-crane-collapse/"},"contentType":"video","maximizedBanner":false,"type":"card"}],cardContents;for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {nextPlay = currentVideoCollection[getNextVideoIndex(currentVideoId)].videoId;if (nextPlay === undefined || nextPlay === null) {nextPlay = currentVideoCollection[0].videoId;}moveToNextTimeout = setTimeout(function () {CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, nextPlay, {videoCollection: currentVideoCollection});}, nextVideoPlayTimeout);}}callbackObj = {onPlayerReady: function (containerId) {CNN.VideoPlayer.reportLoadTime(containerId);CNN.VideoPlayer.hideThumbnail(containerId);},onContentEntryLoad: function(containerId, playerId, contentid, isQueue) {CNN.VideoPlayer.showSpinner(containerId);},onAdPlay: function (containerId, cvpId, token, mode, id, duration, blockId, adType) {clearTimeout(moveToNextTimeout);if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'adroll', configObj.video]);}if (blockId === 0) {(new Image()).src = "http://traffic.outbrain.com/network/trackpxl?advid=814&action=view";}CNN.VideoPlayer.hideSpinner(containerId);},onAdEnd: function (containerId, cvpId, token, mode, id, blockId, adType) {/* Add VisualRevenue event on video ad stop */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'adstop', configObj.video]);}},onContentPlay: function (containerId, cvpId, contentId) {/** When the video content starts playing, the companion ad* layout (if it was set when the ad played) should switch* back to epic ad layout. onContentPlay calls updateCompanionLayout* with 'restoreEpicAds' layout to make this switch and removes FW* with 'removeFreewheel' so you don't see double ads. If a user* clicks another video midway, onContentBegin will add FW back*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeFreewheel');CNN.companion.updateCompanionLayout('restoreEpicAds');}clearTimeout(moveToNextTimeout);CNN.VideoPlayer.hideSpinner(containerId);/* Add VisualRevenue event on video start */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'play', configObj.video]);}var idx,cvp = containerId && window.cnnVideoManager.getPlayerByContainer(containerId).videoInstance.cvp || null,prevVideoId = (window.jsmd && window.jsmd.v && (window.jsmd.v.eVar18 || window.jsmd.v.eVar4)) || '';if (cvp && typeof cvp.reportAnalytics === 'function') {if (prevVideoId.length === 0 && document.referrer && document.referrer.search(/\/videos\//) >= 0) {prevVideoId = document.referrer.replace(/^(?:http|https)\:\/\/[^\/]\/videos\/(.+\.\w+)(?:\/video\/playlists\/.*)?$/, '/video/$1');if (prevVideoId === document.referrer) {prevVideoId = '';}}if (jQuery.isArray(currentVideoCollection) && currentVideoCollection.length > 0) {idx = getNextVideoIndex(contentId);nextVideoId = currentVideoCollection[idx].videoId;nextVideoUrl = currentVideoCollection[idx].videoUrl;currentVideoCollectionId = (window.jsmd && window.jsmd.v && window.jsmd.v.eVar60) || nextVideoUrl.replace(/^.+\/video\/playlists\/(.+)\//, '$1');}cvp.reportAnalytics('videoPageData', {videoCollection: currentVideoCollectionId,videoBranding: CNN.omniture.branding_content_page,templateType: CNN.omniture.template_type,nextVideo: nextVideoId,previousVideo: prevVideoId,referrerType: '',referrerUrl: document.referrer});}},onContentMetadata: function (containerId, playerId, metadata, contentId, duration, width, height) {if (typeof metadata === 'string' && metadata.length > 0) {try {embedLinkHandler.show(JSON.parse(metadata));} catch (e) {console.log('Invalid video metadata JSON.');}}},onContentBegin: function (containerId, cvpId, contentId) {/** Before the video ad starts, the freewheel companion ad* html needs to be placed on the page so that it can be* triggered by Freewheel to display the companion ad.* onContentBegin triggers updateCompanionLayout which* handles the logic to switch from epic to companion ads*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeEpicAds');CNN.companion.updateCompanionLayout('restoreFreewheel');}clearTimeout(moveToNextTimeout);updateCurrentlyPlaying(contentId);},onContentComplete: function (containerId, cvpId, contentId) {navigateToNextVideo(contentId);},onContentEnd: function (containerId, cvpId, contentId) {/* Add VisualRevenue event on video end */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'stop', configObj.video]);}/** When the video content ends playing, remove the epic ad* and prepare the freewheel companion ad for the next video*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeEpicAds');CNN.companion.updateCompanionLayout('restoreFreewheel');}navigateToNextVideo(contentId);}};if (typeof configObj.context === 'undefined' || configObj.context === null) {configObj.context = 'world'.replace(/[\(\)-]/g, '');}if (CNN.VideoPlayer.apiInitialized) {window.cnnVideoManager.renderMultipleContainers({videoConfig:configObj, eventsCallback:callbackObj});try {/* Add the event listeners and callback for getting amazon key/value pairs*/CNN.AmazonVideoAds.Manager.getInstance().addAmazonCallback(callbackObj);} catch (error) {/** Do Nothing if an error occurs, just allow it to continue playing a regular ad* if an error occurs.*/}} else {CNN.VideoPlayer.addVideo(configObj, callbackObj);}});Mecca crane collapse (4 Videos)Find out more by searching for it!