Netanyahu says he'll annex parts of West Bank if re-elected

0
7

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2019/09/10/netanyahu-pledges-new-annexation-over-jordan-valley-liebermann-ctw-vpx.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/190910072457-benjamin-netanyahu-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190910072457-benjamin-netanyahu-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190910072457-benjamin-netanyahu-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190910072457-benjamin-netanyahu-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190910072457-benjamin-netanyahu-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190910072457-benjamin-netanyahu-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190910072457-benjamin-netanyahu-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Israel’s Prime Minister Benjamin Netanyahu says if he’s re-elected and able to form a coalition, he’ll apply Israeli sovereignty over the Jordan Valley and the northern Dead Sea.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190910072457-benjamin-netanyahu-large-169.jpg”,”title”:”Netanyahu says he’ll annex parts of West Bank if re-elected”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/10/netanyahu-pledges-new-annexation-over-jordan-valley-liebermann-ctw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/10/netanyahu-pledges-new-annexation-over-jordan-valley-liebermann-ctw-vpx.cnn”,”videoId”:”world/2019/09/10/netanyahu-pledges-new-annexation-over-jordan-valley-liebermann-ctw-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/10/netanyahu-pledges-new-annexation-over-jordan-valley-liebermann-ctw-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_A525FE8F-2B7C-FDD8-2C5A-1C3CAC66F827″},{“descriptionPlainText”:”One of the longest sessions in the history of the British Parliament ended in pandemonium, with opposition lawmakers furious at the five-week suspension.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190910102303-02-house-of-commons-0909-large-169.jpg”,”title”:”Watch the chaos unfold as the UK’s parliament is suspended”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/10/uk-parliament-suspension-chaos-brexit-na-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/10/uk-parliament-suspension-chaos-brexit-na-lon-orig.cnn”,”videoId”:”world/2019/09/10/uk-parliament-suspension-chaos-brexit-na-lon-orig.cnn”,”videoUrl”:”/videos/world/2019/09/10/uk-parliament-suspension-chaos-brexit-na-lon-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_A525FE8F-2B7C-FDD8-2C5A-1C3CAC66F827″},{“descriptionPlainText”:”Audrey Eliza Lorber was arrested on charges of transporting cannabis into Russia from the United States, after marijuana was found during a search of her possessions at St. Petersburg’s Pulkovo Airport, a courts press service representative told CNN.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190910074744-audrey-lorber-large-169.jpg”,”title”:”Woman arrested in Russia for allegedly bringing marijuana”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/10/woman-arrested-in-russia-for-allegedly-bringing-marijuana-meade-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/10/woman-arrested-in-russia-for-allegedly-bringing-marijuana-meade-mxp-vpx.hln”,”videoId”:”world/2019/09/10/woman-arrested-in-russia-for-allegedly-bringing-marijuana-meade-mxp-vpx.hln”,”videoUrl”:”/videos/world/2019/09/10/woman-arrested-in-russia-for-allegedly-bringing-marijuana-meade-mxp-vpx.hln/video/playlists/around-the-world/”,”surrogateKey”:”video_8B45E28A-F80B-1906-2AD8-1B6A822D1122″},{“descriptionPlainText”:”The two elephants were participating in an annual Buddhist parade in Sri Lanka when they became agitated and ran through the crowd.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190909235428-people-trampled-by-elephants-sri-lanka-ya-orig-00000000-large-169.jpg”,”title”:”17 injured as elephants trample through crowd in Sri Lanka”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/09/people-trampled-by-elephants-sri-lanka-ya-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/09/people-trampled-by-elephants-sri-lanka-ya-orig.cnn”,”videoId”:”world/2019/09/09/people-trampled-by-elephants-sri-lanka-ya-orig.cnn”,”videoUrl”:”/videos/world/2019/09/09/people-trampled-by-elephants-sri-lanka-ya-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_24A56C72-60BA-B1DB-C664-1B638061CC84″},{“descriptionPlainText”:”UK opposition leader Jeremy Corbyn responds to Prime Minister Boris Johnson’s comments over a no-deal Brexit.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190909175431-boris-johnson-brexit-screengrab-large-169.jpg”,”title”:”UK leaders battle it out after bid for early election fails”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/10/uk-brexit-boris-johnson-jeremy-corbyn-snap-election-rejected-parliament-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/10/uk-brexit-boris-johnson-jeremy-corbyn-snap-election-rejected-parliament-vpx.cnn”,”videoId”:”world/2019/09/10/uk-brexit-boris-johnson-jeremy-corbyn-snap-election-rejected-parliament-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/10/uk-brexit-boris-johnson-jeremy-corbyn-snap-election-rejected-parliament-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5EA43120-3B18-A1E1-8DDA-17F5ED03AE38″},{“descriptionPlainText”:”Israel’s Prime Minister Benjamin Netanyahu has unveiled what he claims was a previously unknown site connected to Iran’s nuclear program from the early 2000s, in an announcement that political opponents have decried as election propaganda.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190711134658-01-benjamin-netanyahu-0707-large-169.jpg”,”title”:”Netanyahu claims Iran had secret nuclear weapons site”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/10/netanyahu-iran-nuclear-weapons-liebermann-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/10/netanyahu-iran-nuclear-weapons-liebermann-pkg-vpx.cnn”,”videoId”:”world/2019/09/10/netanyahu-iran-nuclear-weapons-liebermann-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/10/netanyahu-iran-nuclear-weapons-liebermann-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_60DCC1AB-CA92-0953-D447-1A3373F69A1E”},{“descriptionPlainText”:”Four remaining crew members who were trapped aboard The Golden Ray, which capsized off the Georgia coast, have been rescued.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190908150709-05-golden-ray-ship-large-169.jpg”,”title”:”Crew members of capsized cargo ship rescued”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/09/overturned-golden-ray-cargo-ship-crew-members-missing-kk-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/09/overturned-golden-ray-cargo-ship-crew-members-missing-kk-lon-orig.cnn”,”videoId”:”world/2019/09/09/overturned-golden-ray-cargo-ship-crew-members-missing-kk-lon-orig.cnn”,”videoUrl”:”/videos/world/2019/09/09/overturned-golden-ray-cargo-ship-crew-members-missing-kk-lon-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_CF9E3F46-3735-3C26-233B-19DAB81CDD12″},{“descriptionPlainText”:”British Airways says it was forced to cancel nearly all of their flights for Monday and Tuesday after the British pilots union went ahead with a strike.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190824100523-01-british-airways-file-large-169.jpg”,”title”:”Nearly all British Airways flights canceled due to strike”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/09/09/british-airways-cancels-flights-pilot-strike-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/09/09/british-airways-cancels-flights-pilot-strike-nr-vpx.cnn”,”videoId”:”business/2019/09/09/british-airways-cancels-flights-pilot-strike-nr-vpx.cnn”,”videoUrl”:”/videos/business/2019/09/09/british-airways-cancels-flights-pilot-strike-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_C4F80126-05BF-83DC-0706-16303A79D76C”},{“descriptionPlainText”:”Brexit’s thorniest issue is the border between Northern Ireland and the Republic of Ireland. CNN’s Nic Robertson reports on the impact a no-deal Brexit could have on daily life there.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190909122413-brexit-uncertainty-irish-border-fears-robertson-pkg-nr-vpx-00005915-large-169.jpg”,”title”:”How Brexit could make milk way more complicated”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/09/brexit-uncertainty-irish-border-fears-robertson-pkg-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/09/brexit-uncertainty-irish-border-fears-robertson-pkg-nr-vpx.cnn”,”videoId”:”world/2019/09/09/brexit-uncertainty-irish-border-fears-robertson-pkg-nr-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/09/brexit-uncertainty-irish-border-fears-robertson-pkg-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_BFA3F589-6A6D-B97B-0EF7-14D91DDD0EF1″},{“descriptionPlainText”:”Experts say the latest missile tests by Kim Jong Un’s regime show Pyongyang is, for the first time, actively testing weapons to target weak points in the advanced missile defense system that protects the US, Japan and South Korea. CNN’s David Culver has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190806031220-north-korea-missile-launch-0806-large-169.jpg”,”title”:”Experts warn N. Korea’s missiles are alarmingly advanced “,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/09/north-korea-sophisticated-missiles-culver-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/09/north-korea-sophisticated-missiles-culver-pkg-vpx.cnn”,”videoId”:”world/2019/09/09/north-korea-sophisticated-missiles-culver-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/09/north-korea-sophisticated-missiles-culver-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_21DF21C7-82D7-4C37-0E06-16C949FEE741″},{“descriptionPlainText”:”CNN’s Gustavo Valdes shares a heartbreaking story of the devastation caused by Hurricane Dorian at the Humane Society of Grand Bahama.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190908160840-animal-shelter-freeport-bahamas-valdes-pkg-vpx-00001407-large-169.jpg”,”title”:”Dorian leaves awful silence at Bahamas animal shelter “,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/08/animal-shelter-freeport-bahamas-valdes-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/08/animal-shelter-freeport-bahamas-valdes-pkg-vpx.cnn”,”videoId”:”world/2019/09/08/animal-shelter-freeport-bahamas-valdes-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/08/animal-shelter-freeport-bahamas-valdes-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_79C654B7-F823-0F0A-02FB-13857BEC49C4″},{“descriptionPlainText”:”The House Oversight Committee has been investigating for several months whether increased military expenditures benefiting the Trump Turnberry golf course and resort in Scotland represent a conflict of interest for the President, according to committee documents.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180714123000-turnberry-2-large-169.jpg”,”title”:”House probing military spending at Trump Turnberry”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/08/house-investigating-turnberry-scotland-trump-golf-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/08/house-investigating-turnberry-scotland-trump-golf-vpx.cnn”,”videoId”:”world/2019/09/08/house-investigating-turnberry-scotland-trump-golf-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/08/house-investigating-turnberry-scotland-trump-golf-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F7A80331-BD31-0C70-16E6-1273A2E0C596″},{“descriptionPlainText”:”Saudi Arabia fired its energy minister Khalid al-Falih and replaced him with Prince Abdulaziz bin Salman bin Abdulaziz al-Saud, state media said. CNN’s John Defterios reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190908080615-prince-abdulaziz-bin-salman-energy-minister-190701-large-169.jpg”,”title”:”Saudi Arabia replaces oil minister with Prince Abdulaziz”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/09/08/saudi-arabia-armaco-opec-leader-defterios-intl-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/09/08/saudi-arabia-armaco-opec-leader-defterios-intl-dnt-vpx.cnn”,”videoId”:”business/2019/09/08/saudi-arabia-armaco-opec-leader-defterios-intl-dnt-vpx.cnn”,”videoUrl”:”/videos/business/2019/09/08/saudi-arabia-armaco-opec-leader-defterios-intl-dnt-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1BE89972-0757-7B4E-0141-122FEFB218E6″},{“descriptionPlainText”:”Amber Rudd, the United Kingdom’s Secretary of State for Work and Pensions, resigned in a letter to Prime Minister Boris Johnson, saying she could not support his handling of Brexit or his treatment of Conservative Party members that amounted to an “act of political vandalism.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181116160148-01-amber-rudd-1001-large-169.jpg”,”title”:”Amber Rudd resigns from UK cabinet over Boris Johnson”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/08/uk-amber-rudd-resigns-parliament-boris-johnson-brexit-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/08/uk-amber-rudd-resigns-parliament-boris-johnson-brexit-vpx.cnn”,”videoId”:”world/2019/09/08/uk-amber-rudd-resigns-parliament-boris-johnson-brexit-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/08/uk-amber-rudd-resigns-parliament-boris-johnson-brexit-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_22300401-12FD-978C-2E06-117E615BDD4E”},{“descriptionPlainText”:”Thousands of Hong Kong protesters waving US flags are marching on the city’s US Consulate Sunday to call for help from the Trump administration in ending a three-month stand off with the government.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190908150731-02-hong-kong-us-flag-0908-large-169.jpg”,”title”:”Hong Kong protesters march to US consulate”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/08/hong-kong-protests-march-us-consulate-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/08/hong-kong-protests-march-us-consulate-vpx.cnn”,”videoId”:”world/2019/09/08/hong-kong-protests-march-us-consulate-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/08/hong-kong-protests-march-us-consulate-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_07094CC5-E941-0871-74D4-1003C081649C”}],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:”world/2019/09/10/netanyahu-pledges-new-annexation-over-jordan-valley-liebermann-ctw-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-xbxvo9’,videoDescriptionDivId: ‘js-video_description-xbxvo9’,videoDurationDivId: ‘js-video_duration-xbxvo9’,videoTitleDivId: ‘js-leaf-video_headline-xbxvo9’,videoSourceDivId: ‘js-video_sourceName-xbxvo9’});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

LEAVE A REPLY