‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2018/01/02/iran-anti-government-protests-provocateurs-targeted-npw.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/180101084001-cnnee-iran-protestas-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180101084001-cnnee-iran-protestas-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180101084001-cnnee-iran-protestas-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180101084001-cnnee-iran-protestas-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180101084001-cnnee-iran-protestas-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180101084001-cnnee-iran-protestas-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180101084001-cnnee-iran-protestas-small-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Iran’s intelligence ministry says so-called “provocateurs” will be targeted if anti-government protesters return to the streets. CNN’s Nick Paton Walsh reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180101084001-cnnee-iran-protestas-large-169.jpg”,”title”:”Iranian officials: ‘Provocateurs’ to be targeted”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/01/02/iran-anti-government-protests-provocateurs-targeted-npw.cnn/index.xml”,”videoId”:”world/2018/01/02/iran-anti-government-protests-provocateurs-targeted-npw.cnn”,”videoUrl”:”/videos/world/2018/01/02/iran-anti-government-protests-provocateurs-targeted-npw.cnn/video/playlists/iran-in-the-news/”},{“descriptionPlainText”:”Iran’s President Hassan Rouhani is warning protesters that violence won’t be tolerated after massive anti-government protests turned deadly over the weekend. CNN’s Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171230172246-04-iranian-student-protests-large-169.jpg”,”title”:”Protesters angry over economy, corruption”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/01/01/iran-tehran-protests-roberston-lklv.cnn/index.xml”,”videoId”:”world/2018/01/01/iran-tehran-protests-roberston-lklv.cnn”,”videoUrl”:”/videos/world/2018/01/01/iran-tehran-protests-roberston-lklv.cnn/video/playlists/iran-in-the-news/”},{“descriptionPlainText”:”Anti-government protests have spread into several cities in Iran and President Trump is vocally supporting the protesters.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171230123643-iran-protests-mashhad-youtube-large-169.jpg”,”title”:”Why are citizens protesting in Iran?”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/12/30/iran-protests-rouhani-ayatollah-khamenei-damon-newday.cnn/index.xml”,”videoId”:”world/2017/12/30/iran-protests-rouhani-ayatollah-khamenei-damon-newday.cnn”,”videoUrl”:”/videos/world/2017/12/30/iran-protests-rouhani-ayatollah-khamenei-damon-newday.cnn/video/playlists/iran-in-the-news/”},{“descriptionPlainText”:”President Trump tweeted about the recent protest in Iran and said the “Iranian govt should respect their people’s rights”. CNN’s George Howell reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171230044528-02-iran-protests-youtube-large-169.jpg”,”title”:”Trump applauds Iran’s anti-government protest”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/12/30/iran-protests-trump-tweets-sot.cnn/index.xml”,”videoId”:”world/2017/12/30/iran-protests-trump-tweets-sot.cnn”,”videoUrl”:”/videos/world/2017/12/30/iran-protests-trump-tweets-sot.cnn/video/playlists/iran-in-the-news/”},{“descriptionPlainText”:”Iran and Saudi Arabia: Two regional superpowers going head-to-head across the Middle East. CNN’s Becky Anderson explains the tense relationship between the two countries.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171228161652-iran-and-saudia-arabia-flag-split-large-169.jpg”,”title”:”Why are Iran and Saudi Arabia so at odds?”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/12/22/iran-saudi-relationship-anderson-expl-mkd-lon-orig.cnn/index.xml”,”videoId”:”world/2017/12/22/iran-saudi-relationship-anderson-expl-mkd-lon-orig.cnn”,”videoUrl”:”/videos/world/2017/12/22/iran-saudi-relationship-anderson-expl-mkd-lon-orig.cnn/video/playlists/iran-in-the-news/”},{“descriptionPlainText”:”US Ambassador to the U.N. Nikki Haley presented what she called “concrete evidence” of Iran’s weapons proliferation and called on the international community to join “a united front in resisting this global threat.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171214133446-nikki-haley-us-evidence-against-iran-weapons-sot-00013621-large-169.jpg”,”title”:”Haley: This is concrete evidence against Iran “,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/12/14/nikki-haley-us-evidence-against-iran-weapons-sot.cnn/index.xml”,”videoId”:”politics/2017/12/14/nikki-haley-us-evidence-against-iran-weapons-sot.cnn”,”videoUrl”:”/videos/politics/2017/12/14/nikki-haley-us-evidence-against-iran-weapons-sot.cnn/video/playlists/iran-in-the-news/”},{“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”:”/video/data/3.0/video/world/2017/11/13/iraq-iran-border-deadly-earthquake-sdg-lon-orig.cnn/index.xml”,”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/video/playlists/iran-in-the-news/”},{“descriptionPlainText”:”President Trump’s latest comments regarding the nuclear deal have offended many Iranians. CNN’s Frederik Pleitgen reports”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171015155813-iranians-offended-by-trump-pleitgen-pkg-00001715-large-169.jpg”,”title”:”Trump’s remarks on Iran nuclear deal draw ire”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/10/15/iranians-offended-by-trump-pleitgen-pkg.cnn/index.xml”,”videoId”:”world/2017/10/15/iranians-offended-by-trump-pleitgen-pkg.cnn”,”videoUrl”:”/videos/world/2017/10/15/iranians-offended-by-trump-pleitgen-pkg.cnn/video/playlists/iran-in-the-news/”},{“descriptionPlainText”:”Iran leaders say they will stay in the nuclear deal if both the US and European countries stay in as well. CNN’s Frederik Pleitgen reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171019024550-khamenei-1-large-169.jpg”,”title”:”Iran leader’s critical words on nuclear deal”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/10/19/pleitgen-tehran-nuclear-deal.cnn/index.xml”,”videoId”:”world/2017/10/19/pleitgen-tehran-nuclear-deal.cnn”,”videoUrl”:”/videos/world/2017/10/19/pleitgen-tehran-nuclear-deal.cnn/video/playlists/iran-in-the-news/”},{“descriptionPlainText”:”Iranian President Hassan Rouhani reacts to the decertification of the Iranian deal by telling President Trump to re-read his history books.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171013150017-iranian-president-tells-trump-to-read-history-books-rouhani-sot-00000630-large-169.jpg”,”title”:”Rouhani to Trump: Re-read your history books”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/10/13/iranian-president-tells-trump-to-read-history-books-rouhani-sot.cnn/index.xml”,”videoId”:”world/2017/10/13/iranian-president-tells-trump-to-read-history-books-rouhani-sot.cnn”,”videoUrl”:”/videos/world/2017/10/13/iranian-president-tells-trump-to-read-history-books-rouhani-sot.cnn/video/playlists/iran-in-the-news/”}],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) {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:”world/2018/01/02/iran-anti-government-protests-provocateurs-targeted-npw.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-1zjdrpm’,videoDescriptionDivId: ‘js-video_description-1zjdrpm’,videoDurationDivId: ‘js-video_duration-1zjdrpm’,videoTitleDivId: ‘js-leaf-video_headline-1zjdrpm’,videoSourceDivId: ‘js-video_sourceName-1zjdrpm’});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

NO COMMENTS