New video shows Ukraine destroy Russian rocket launcher with US-provided weapon

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2022/06/09/us-weapons-ukrainian-troops-chance-dnt-ac360-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/220608210349-us-weapons-ukraine-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220608210349-us-weapons-ukraine-vpx-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220608210349-us-weapons-ukraine-vpx-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220608210349-us-weapons-ukraine-vpx-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220608210349-us-weapons-ukraine-vpx-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220608210349-us-weapons-ukraine-vpx-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220608210349-us-weapons-ukraine-vpx-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Ukrainian troops say weapons provided by the US are giving them an advantage because they are lighter and more precise than the ones used by Russia. CNN’s Matthew Chance reports from the front lines.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220608210349-us-weapons-ukraine-vpx-large-169.jpg”,”title”:”New video shows Ukraine destroy Russian rocket launcher with US-provided weapon”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/06/09/us-weapons-ukrainian-troops-chance-dnt-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/06/09/us-weapons-ukrainian-troops-chance-dnt-ac360-vpx.cnn”,”videoId”:”world/2022/06/09/us-weapons-ukrainian-troops-chance-dnt-ac360-vpx.cnn”,”videoUrl”:”/videos/world/2022/06/09/us-weapons-ukrainian-troops-chance-dnt-ac360-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_0D2FBF3A-B828-D8CD-566E-45EE41280718″},{“descriptionPlainText”:”As Russia remains focused on the battle in eastern Ukraine, Ukrainian forces are pushing back by reclaiming territories in the south. CNN’s Matthew Chance is on the front lines with an exclusive look into this battle.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220607170401-chance-south-vpx-large-169.jpg”,”title”:”See moment Ukrainian forces fire on Russian troops from secret location”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/06/07/ukraine-russia-front-lines-military-fire-lead-chance-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/06/07/ukraine-russia-front-lines-military-fire-lead-chance-dnt-vpx.cnn”,”videoId”:”world/2022/06/07/ukraine-russia-front-lines-military-fire-lead-chance-dnt-vpx.cnn”,”videoUrl”:”/videos/world/2022/06/07/ukraine-russia-front-lines-military-fire-lead-chance-dnt-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_0D2FBF3A-B828-D8CD-566E-45EE41280718″},{“descriptionPlainText”:”Mathias Cormann, Secretary-General of the Organization for Economic Co-operation and Development, speaks with CNN’s Julia Chatterley about the group’s latest report that projects the economic effects of Russia’s invasion of Ukraine and high inflation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220608105036-oecd-secretary-general-mathias-cormann-large-169.jpg”,”title”:”OECD secretary-general explains global cost of the Russian oil embargo”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/06/08/oecd-secretary-general-global-economic-report-russia-oil-embargo-inflation-firstmove-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/06/08/oecd-secretary-general-global-economic-report-russia-oil-embargo-inflation-firstmove-vpx.cnn”,”videoId”:”business/2022/06/08/oecd-secretary-general-global-economic-report-russia-oil-embargo-inflation-firstmove-vpx.cnn”,”videoUrl”:”/videos/business/2022/06/08/oecd-secretary-general-global-economic-report-russia-oil-embargo-inflation-firstmove-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_36785798-ABD6-6611-2374-3FF19EA8DB82″},{“descriptionPlainText”:”Residents in Sloviansk, Ukraine, must choose between staying behind or leaving their homes as war rages all around them. CNN’s Ben Wedeman reports on their difficult choice.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220607193225-wedeman-sloviansk-resident-large-169.jpg”,”title”:”‘We’re staying’: Why some in Sloviansk won’t leave their homes”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/06/07/ukraine-sloviansk-residents-staying-behind-dnt-tsr-vpx-wedeman.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/06/07/ukraine-sloviansk-residents-staying-behind-dnt-tsr-vpx-wedeman.cnn”,”videoId”:”world/2022/06/07/ukraine-sloviansk-residents-staying-behind-dnt-tsr-vpx-wedeman.cnn”,”videoUrl”:”/videos/world/2022/06/07/ukraine-sloviansk-residents-staying-behind-dnt-tsr-vpx-wedeman.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_530A59E5-3F0D-EE2E-CB90-439DF3792958″},{“descriptionPlainText”:”Workers at Kyiv’s central morgue examine 160 body bags containing the remains of Ukrainian soldiers, handed over by Russian forces as part of the agreement that ended the bloody two-month Russian siege of the port city of Mariupol. CNN’s Ben Wedeman has the exclusive report.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220606175802-wedeman-kyiv-morgue-pkg-vpx-large-169.jpg”,”title”:”Russia returns bodies of Ukrainian soldiers killed in Mariupol”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/06/06/kyiv-morgue-soldier-remains-identification-ukraine-russia-wedeman-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/06/06/kyiv-morgue-soldier-remains-identification-ukraine-russia-wedeman-pkg-lead-vpx.cnn”,”videoId”:”world/2022/06/06/kyiv-morgue-soldier-remains-identification-ukraine-russia-wedeman-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/world/2022/06/06/kyiv-morgue-soldier-remains-identification-ukraine-russia-wedeman-pkg-lead-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_28B4F56A-7773-11DB-08E6-4076BCE06B44″},{“descriptionPlainText”:”A Russian cruise missile flew “critically low” above a nuclear power plant in southern Ukraine, before striking a target in the port city of Mykolaiv and killing three people. CNN’s Matthew Chance reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220605132544-russian-missile-large-169.jpeg”,”title”:”Video shows Russian missile flying ‘critically low’ over Ukrainian nuclear power plant”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/06/05/russian-missile-near-ukrainian-power-plant-chance-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/06/05/russian-missile-near-ukrainian-power-plant-chance-nr-vpx.cnn”,”videoId”:”world/2022/06/05/russian-missile-near-ukrainian-power-plant-chance-nr-vpx.cnn”,”videoUrl”:”/videos/world/2022/06/05/russian-missile-near-ukrainian-power-plant-chance-nr-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_EF158231-8B40-E97C-74E6-3AE69EFFB7A2″},{“descriptionPlainText”:”Russia’s war in Ukraine has now gone on for 100 days. CNN’s Brian Todd and retired Army Gen. James “Spider” Marks look back at the evolving military strategies of Russia and what the state of the battlefield may be in the next few months.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220603185849-marks-todd-magic-wall-large-169.jpg”,”title”:”‘An inflection point’: How the next 100 days may look in Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/06/03/russia-ukraine-war-100-days-spider-marks-analysis-tsr-todd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/06/03/russia-ukraine-war-100-days-spider-marks-analysis-tsr-todd-vpx.cnn”,”videoId”:”world/2022/06/03/russia-ukraine-war-100-days-spider-marks-analysis-tsr-todd-vpx.cnn”,”videoUrl”:”/videos/world/2022/06/03/russia-ukraine-war-100-days-spider-marks-analysis-tsr-todd-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_1A09008C-6A2B-0534-B778-34EC9F94551E”},{“descriptionPlainText”:”Russian President Vladimir Putin warned that Moscow would strike new targets if the US supplied long-range missiles to Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220605135647-putin-warning-long-range-missiles-large-169.jpg”,”title”:”See Putin’s warning to US over long-range missiles”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/06/05/putin-warning-us-missiles-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/06/05/putin-warning-us-missiles-nr-vpx.cnn”,”videoId”:”world/2022/06/05/putin-warning-us-missiles-nr-vpx.cnn”,”videoUrl”:”/videos/world/2022/06/05/putin-warning-us-missiles-nr-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_3E1E812E-18E5-08C4-8FC2-2B573B9611FD”},{“descriptionPlainText”:”Russian forces are slowly gaining ground, and Congress is getting impatient with the flow of money and weapons to Ukraine. The Washington Post reports that Putin is expecting to win by attrition, while the unity of the West falls apart. Is he right?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220604100313-michael-smerconish-0604-large-169.jpg”,”title”:”Smerconish: Will Putin win war of attrition?”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/06/04/smerconish-war-of-attrition.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/06/04/smerconish-war-of-attrition.cnn”,”videoId”:”world/2022/06/04/smerconish-war-of-attrition.cnn”,”videoUrl”:”/videos/world/2022/06/04/smerconish-war-of-attrition.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_ED73DEB6-DB49-AF20-ED3C-350055FA48F7″},{“descriptionPlainText”:”CNN’s Matthew Chance joins a team of Ukrainian officials and police forensic experts who find the buried bodies of missing civilians a month after Russian forces left the region.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220601170421-ukraine-chance-pkg-vpx-large-169.jpg”,”title”:”Ukrainian villager: ‘I’ll never forgive Russians'”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/06/01/forensics-village-missing-civilians-ukraine-russia-chance-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/06/01/forensics-village-missing-civilians-ukraine-russia-chance-pkg-lead-vpx.cnn”,”videoId”:”world/2022/06/01/forensics-village-missing-civilians-ukraine-russia-chance-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/world/2022/06/01/forensics-village-missing-civilians-ukraine-russia-chance-pkg-lead-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_E9FBA030-09BF-1A07-0965-2E3479FF0CDA”},{“descriptionPlainText”:”In an open air exhibition in central Kyiv, Ukraine is showing off some of the Russian military weapons it has captured and destroyed in the last few months. CNN’s Matthew Chance reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220601164640-screengrab-russian-tank-large-169.jpeg”,”title”:”Ukraine puts destroyed Russian weaponry on display”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/06/01/ukraine-russia-weaponry-on-display-chance-lok-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/06/01/ukraine-russia-weaponry-on-display-chance-lok-intl-hnk-vpx.cnn”,”videoId”:”world/2022/06/01/ukraine-russia-weaponry-on-display-chance-lok-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2022/06/01/ukraine-russia-weaponry-on-display-chance-lok-intl-hnk-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_8CB4153E-FD85-8C9D-F753-21058B8B1812″},{“descriptionPlainText”:”Russia and China are ahead of the US in developing and testing hypersonic missile technology, especially when it comes to building wind tunnels. CNN’s Kristin Fisher has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220321225851-misiles-hipersonicos-rusia-large-169.jpg”,”title”:”Russia and China are ahead of US in hypersonic missile technology. Here’s why”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/31/hypersonic-missiles-russia-china-us-warfare-technology-ebof-fisher-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/31/hypersonic-missiles-russia-china-us-warfare-technology-ebof-fisher-pkg-vpx.cnn”,”videoId”:”world/2022/05/31/hypersonic-missiles-russia-china-us-warfare-technology-ebof-fisher-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/31/hypersonic-missiles-russia-china-us-warfare-technology-ebof-fisher-pkg-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_D9A2EFE5-1A4D-2773-9056-1E6B574EAD9F”},{“descriptionPlainText”:”Residents of Lviv, Ukraine, are rebuilding and reopening their businesses amid devastation in their city due to months of Russian bombardment. CNN’s Suzanne Malveaux reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220530124632-vid-thumb-lviv-2-large-169.jpg”,”title”:”He tried to open a sushi restaurant. Then Russia invaded”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/30/ukrainian-businesses-reopen-pkg-malveaux-es-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/30/ukrainian-businesses-reopen-pkg-malveaux-es-intl-ldn-vpx.cnn”,”videoId”:”world/2022/05/30/ukrainian-businesses-reopen-pkg-malveaux-es-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/30/ukrainian-businesses-reopen-pkg-malveaux-es-intl-ldn-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_9301A253-0573-BD12-693F-178CA97720F3″},{“descriptionPlainText”:”Ukrainian mother Olena Gnes has been keeping a video diary of what her family’s experience has been throughout the war. CNN’s Anderson Cooper reports on her rare perspective.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220529205423-olena-gnes-cnn-special-report-vpx-large-169.jpg”,”title”:”Ukrainian mother’s video diary shows her family’s life during wartime”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/30/mothers-diary-ukraine-russia-olena-gnes-ac360-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/30/mothers-diary-ukraine-russia-olena-gnes-ac360-nr-vpx.cnn”,”videoId”:”world/2022/05/30/mothers-diary-ukraine-russia-olena-gnes-ac360-nr-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/30/mothers-diary-ukraine-russia-olena-gnes-ac360-nr-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_B0B89CEE-B74F-A5E7-44AF-14AA0EA03315″},{“descriptionPlainText”:”CNN’s Sara Sidner travels to the Ukrainian front lines outside the Mykolaiv region where intense fighting is taking place between the Russian and Ukrainian troops.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220530163638-screengrab-sidner-in-the-trench-large-169.jpg”,”title”:”See where intense fighting with Russians is happening on Ukrainian front line”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/30/ukraine-russia-mykolaiv-trenches-part-1-sidner-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/30/ukraine-russia-mykolaiv-trenches-part-1-sidner-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2022/05/30/ukraine-russia-mykolaiv-trenches-part-1-sidner-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/30/ukraine-russia-mykolaiv-trenches-part-1-sidner-pkg-intl-hnk-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_5FD8F175-8CE1-8436-A374-12585D582A81″}],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/2022/06/09/us-weapons-ukrainian-troops-chance-dnt-ac360-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-22awyev’,videoDescriptionDivId: ‘js-video_description-22awyev’,videoDurationDivId: ‘js-video_duration-22awyev’,videoTitleDivId: ‘js-leaf-video_headline-22awyev’,videoSourceDivId: ‘js-video_sourceName-22awyev’});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