Moment Iran-Iraq earthquake struck – CNN Video

Moment Iran-Iraq earthquake struck – CNN Video
‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2017/11/13/iraq-iran-border-deadly-earthquake-sdg-lon-orig.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”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171113092250-03-iraq-iran-earthquake-1113-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171113092250-03-iraq-iran-earthquake-1113-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171113092250-03-iraq-iran-earthquake-1113-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171113092250-03-iraq-iran-earthquake-1113-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171113092250-03-iraq-iran-earthquake-1113-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171113092250-03-iraq-iran-earthquake-1113-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171113092250-03-iraq-iran-earthquake-1113-small-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Hundreds of people are dead and thousands are injured after a powerful 7.3 magnitude earthquake struck the border region between Iran and Iraq.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171113092250-03-iraq-iran-earthquake-1113-large-169.jpg”,”title”:”Moment Iran-Iraq earthquake struck”,”videoCMSUrl”:”/videos/world/2017/11/13/iraq-iran-border-deadly-earthquake-sdg-lon-orig.cnn”,”videoId”:”world/2017/11/13/iraq-iran-border-deadly-earthquake-sdg-lon-orig.cnn”,”videoUrl”:”/videos/world/2017/11/13/iraq-iran-border-deadly-earthquake-sdg-lon-orig.cnn”},{“descriptionPlainText”:”CNN’s Jomana Karadsheh reports on the rising death toll from a 7.3 magnitude earthquake centered along the Iraq-Iran border.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171113092250-03-iraq-iran-earthquake-1113-large-169.jpg”,”title”:”Iran-Iraq earthquake devastates rural region”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/11/13/iran-iraq-earthquake-rising-death-toll.cnn/index.xml”,”videoId”:”world/2017/11/13/iran-iraq-earthquake-rising-death-toll.cnn”,”videoUrl”:”/videos/world/2017/11/13/iran-iraq-earthquake-rising-death-toll.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”A 7.3 magnitude earthquake along the Iraq-Iran border has killed dozens, and there have been at least two aftershocks. CNN’s Amara Walker and Julie Martin have the latest.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171112194203-earthquake-still-large-169.jpg”,”title”:”Earthquake aftershocks shake Iraq-Iran border”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/11/13/iraq-iran-earthquake-aftershocks.cnn/index.xml”,”videoId”:”world/2017/11/13/iraq-iran-earthquake-aftershocks.cnn”,”videoUrl”:”/videos/world/2017/11/13/iraq-iran-earthquake-aftershocks.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”Earthquakes can happen suddenly; here are the top five things you should know about them.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150430214524-nepal-drone-footage-earthquake-disaster-relief-orig-00011504-large-169.jpg”,”title”:”Five things you should know about earthquakes”,”videoCMSUrl”:”/video/data/3.0/video/weather/2017/01/27/weather-five-things-about-earthquakes-orig.cnn/index.xml”,”videoId”:”weather/2017/01/27/weather-five-things-about-earthquakes-orig.cnn”,”videoUrl”:”/videos/weather/2017/01/27/weather-five-things-about-earthquakes-orig.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”Chad Myers explains how earthquake warning systems work, and why we can’t predict seismic events earlier.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/140825223053-earthquake-early-warning-system-orig-mg-00002310-story-top.jpg”,”title”:”Why aren’t earthquake warnings better?”,”videoCMSUrl”:”/video/data/3.0/video/weather/2014/08/26/earthquake-early-warning-system-orig-mg.cnn/index.xml”,”videoId”:”weather/2014/08/26/earthquake-early-warning-system-orig-mg.cnn”,”videoUrl”:”/videos/weather/2014/08/26/earthquake-early-warning-system-orig-mg.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”Rescue crews were able to make contact with a girl trapped inside the rubble of a collapsed elementary school in Mexico City.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170920225746-03-mx-school-large-169.jpg”,”title”:”At school, digging brings hope, frustration”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/09/20/school-collapse-mexico-city-earthquake-sje-lon-orig.cnn/index.xml”,”videoId”:”world/2017/09/20/school-collapse-mexico-city-earthquake-sje-lon-orig.cnn”,”videoUrl”:”/videos/world/2017/09/20/school-collapse-mexico-city-earthquake-sje-lon-orig.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”Mexican President Enrique Pena Nieto called for a national emergency committee meeting after a devastating magnitude-7.1 earthquake struck central Mexico. CNN’s Miguel Marquez reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170919163811-12-mexico-earthquake-0919-large-169.jpg”,”title”:”Sides of building crumble after Mexican quake”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/09/19/mexico-city-earthquake-pena-nieto-marquez.cnn/index.xml”,”videoId”:”world/2017/09/19/mexico-city-earthquake-pena-nieto-marquez.cnn”,”videoUrl”:”/videos/world/2017/09/19/mexico-city-earthquake-pena-nieto-marquez.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”A magnitude-7.1 earthquake struck the central Mexican state of Puebla, leveling buildings as far away as the capital, about 75 miles away.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170919154909-06-mexico-earthquake-0919-large-169.jpg”,”title”:”7.1 earthquake hits central Mexico”,”videoCMSUrl”:”/video/data/3.0/video/weather/2017/09/19/earthquake-mexico-chinchar-sot.cnn/index.xml”,”videoId”:”weather/2017/09/19/earthquake-mexico-chinchar-sot.cnn”,”videoUrl”:”/videos/weather/2017/09/19/earthquake-mexico-chinchar-sot.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”Adrian Wilson, who experienced the magnitude-7.1 earthquake in Mexico firsthand, talks to Brooke Baldwin about the experience.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170919154913-05-mexico-earthquake-0919-large-169.jpg”,”title”:”Earthquake witness: Rumble kept increasing”,”videoCMSUrl”:”/video/data/3.0/video/weather/2017/09/19/earthquake-witness-adrian-wilson-sot.cnn/index.xml”,”videoId”:”weather/2017/09/19/earthquake-witness-adrian-wilson-sot.cnn”,”videoUrl”:”/videos/weather/2017/09/19/earthquake-witness-adrian-wilson-sot.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”This animation from NOAA uses USGS data to show all of the earthquakes the world has experienced in the first 15 years of the 21st century.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161220113218-weather-15-years-of-earthquakes-jj-nccorig-00004316-large-169.jpg”,”title”:”15 years of earthquakes in 45 seconds”,”videoCMSUrl”:”/video/data/3.0/video/weather/2016/12/20/weather-15-years-of-earthquakes-jj-nccorig.cnn/index.xml”,”videoId”:”weather/2016/12/20/weather-15-years-of-earthquakes-jj-nccorig.cnn”,”videoUrl”:”/videos/weather/2016/12/20/weather-15-years-of-earthquakes-jj-nccorig.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”This line of tectonic plates stretches across the globe, producing 90% of the world’s earthquakes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161207180459-ring-of-fire-chad-myers-weather-orig-00003221-large-169.jpg”,”title”:”What is the ‘Ring of Fire’?”,”videoCMSUrl”:”/video/data/3.0/video/world/2016/12/07/ring-of-fire-chad-myers-weather-orig.cnn/index.xml”,”videoId”:”world/2016/12/07/ring-of-fire-chad-myers-weather-orig.cnn”,”videoUrl”:”/videos/world/2016/12/07/ring-of-fire-chad-myers-weather-orig.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”CNN’s Isha Sesay talks with Paulina Gomez-Wulschner about the 8.1 magnitude earthquake that hit off the coast of Mexico.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170908022453-mexico-quake-rescue-large-169.jpg”,”title”:”Witness: Quake one of the strongest I’ve felt”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/09/08/mexico-earthquake-gomez-wulschner-bpr.cnn/index.xml”,”videoId”:”world/2017/09/08/mexico-earthquake-gomez-wulschner-bpr.cnn”,”videoUrl”:”/videos/world/2017/09/08/mexico-earthquake-gomez-wulschner-bpr.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”Rescue workers pulled a baby from the debris of a collapsed building after a deadly earthquake struck the Italian island of Ischia.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170822103533-05-naples-earthquake-0822-large-169.jpg”,”title”:”Cheers as baby pulled from quake rubble”,”videoCMSUrl”:”/video/data/3.0/video/health/2017/08/22/italy-earthquake-baby-rescued-ischia-sje-lon-orig.cnn/index.xml”,”videoId”:”health/2017/08/22/italy-earthquake-baby-rescued-ischia-sje-lon-orig.cnn”,”videoUrl”:”/videos/health/2017/08/22/italy-earthquake-baby-rescued-ischia-sje-lon-orig.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”Two have been killed and dozens injured after an earthquake struck in the Mediterranean between the Turkish city of Bodrum and the Greek island of Kos.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170721102618-greece-turkey-earthquake-cafe-grab-large-169.jpg”,”title”:”CCTV in café shows moment earthquake hit “,”videoCMSUrl”:”/video/data/3.0/video/world/2017/07/21/greece-turkey-earthquake-mxb-lon-orig.cnn/index.xml”,”videoId”:”world/2017/07/21/greece-turkey-earthquake-mxb-lon-orig.cnn”,”videoUrl”:”/videos/world/2017/07/21/greece-turkey-earthquake-mxb-lon-orig.cnn/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”Cows in New Zealand went viral on Twitter after being stranded amid collapsed earth from the 7.8 magnitude earthquake.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161114125313-these-cows-survived-the-powerful-earthquake-in-new-zealand-orig-00000612-large-169.jpg”,”title”:”These cows survived the powerful earthquake in New Zealand”,”videoCMSUrl”:”/video/data/3.0/video/world/2016/11/14/these-cows-survived-the-powerful-earthquake-in-new-zealand-orig.newshub/index.xml”,”videoId”:”world/2016/11/14/these-cows-survived-the-powerful-earthquake-in-new-zealand-orig.newshub”,”videoUrl”:”/videos/world/2016/11/14/these-cows-survived-the-powerful-earthquake-in-new-zealand-orig.newshub/video/playlists/earthquakes-and-tsunamis/”},{“descriptionPlainText”:”Italy was once again hit by strong earthquakes, causing damage to the towns of Campi and Visso.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161027095927-06-italy-earthquake-1027-large-169.jpg”,”title”:”Powerful earthquakes strike Italy”,”videoCMSUrl”:”/video/data/3.0/video/world/2016/10/27/italy-earthquakes-october-sfc-orig.cnn/index.xml”,”videoId”:”world/2016/10/27/italy-earthquakes-october-sfc-orig.cnn”,”videoUrl”:”/videos/world/2016/10/27/italy-earthquakes-october-sfc-orig.cnn/video/playlists/earthquakes-and-tsunamis/”}],currentVideoCollectionId = ”,isLivePlayer = false,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 = 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 = {videoCollection: this.videoCollection,autostart: false},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) {/* Remove videoobject metadata script.If the user click other than initial loaded video */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 is null that means it’s not initialized yet so* pass in the thumbnail, too.*/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) {/* Remove videoobject metadata script.If the user click other than initial loaded video */jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, videoId, overrides);}/* Video player isn’t autoplay, so init itif (shouldStartVideo && this.carouselClickAutostartsVideo) {try {videoPlayer.videoInstance.start();} catch (startError) {console.log(“error in initializing video player” + startError);}}*/}}}} 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:”world/2017/11/13/iraq-iran-border-deadly-earthquake-sdg-lon-orig.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-1u3ruwq’,videoDescriptionDivId: ‘js-video_description-1u3ruwq’,videoDurationDivId: ‘js-video_duration-1u3ruwq’,videoTitleDivId: ‘js-leaf-video_headline-1u3ruwq’,videoSourceDivId: ‘js-video_sourceName-1u3ruwq’});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(‘

Read more