Former defense secretary breaks down Putin’s ‘big mistake’

‘);$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/05/22/putin-russia-ukraine-military-generals-william-cohen-newsroom-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/220522152358-putin-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220522152358-putin-vpx-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220522152358-putin-vpx-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220522152358-putin-vpx-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220522152358-putin-vpx-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220522152358-putin-vpx-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220522152358-putin-vpx-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Former US Defense Secretary William Cohen reacts to reports that Russian President Vladimir Putin has taken on more tactical decision-making in the Russian invasion into Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220522152358-putin-vpx-large-169.jpg”,”title”:”Former defense secretary breaks down Putin’s ‘big mistake'”,”videoCMSUrl”:”/videos/world/2022/05/22/putin-russia-ukraine-military-generals-william-cohen-newsroom-vpx.cnn”,”videoLeafUrl”:”/videos/world/2022/05/22/putin-russia-ukraine-military-generals-william-cohen-newsroom-vpx.cnn”,”videoId”:”world/2022/05/22/putin-russia-ukraine-military-generals-william-cohen-newsroom-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/22/putin-russia-ukraine-military-generals-william-cohen-newsroom-vpx.cnn”,”surrogateKey”:”video_B1CA5CBD-AB63-717B-9719-ED2A8EF65469″},{“descriptionPlainText”:”Uliana Hileta is a graphic designer turned volunteer driver who drives refitted donated cars to the Ukrainian resistance forces fighting on the front lines. CNN’s Suzanne Malveaux reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220522065916-uliana-hileta-driving-malveaux-pkg-large-169.jpg”,”title”:”Woman drives truck to the front lines of Putin’s invasion”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/22/ukrainian-volunteer-driver-nr-malveaux-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/22/ukrainian-volunteer-driver-nr-malveaux-vpx.cnn”,”videoId”:”world/2022/05/22/ukrainian-volunteer-driver-nr-malveaux-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/22/ukrainian-volunteer-driver-nr-malveaux-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_10ACC99A-C216-ADBF-89F9-EB4DF80BB37C”},{“descriptionPlainText”:”Ukrainian President Volodymyr Zelensky called Russian airstrikes “absolute evil” after the destruction of a cultural center that injured at least seven people in Lazova, Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220521113755-russian-strike-cultural-center-large-169.jpg”,”title”:”Russian strike Zelensky called ‘absolute evil’ caught on camera”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/21/russian-strike-cultural-center-kharkiv-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/21/russian-strike-cultural-center-kharkiv-ebof-vpx.cnn”,”videoId”:”world/2022/05/21/russian-strike-cultural-center-kharkiv-ebof-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/21/russian-strike-cultural-center-kharkiv-ebof-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_CAAA6697-15D1-7B8F-5864-E73F28D4CCEE”},{“descriptionPlainText”:”A Russian missile strike on an apartment block in Odesa, Ukraine, killed a family, including a 3-month-old baby, on Easter weekend. CNN’s Sara Sidner reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220520142235-vid-thumb-odesa-1-large-169.jpg”,”title”:”Russian strike on Odesa apartment block kills family, including 3-month old”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/20/russian-strike-odesa-apartment-pkg-sidner-newday-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/20/russian-strike-odesa-apartment-pkg-sidner-newday-intl-ldn-vpx.cnn”,”videoId”:”world/2022/05/20/russian-strike-odesa-apartment-pkg-sidner-newday-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/20/russian-strike-odesa-apartment-pkg-sidner-newday-intl-ldn-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_4E13F813-51B3-3D26-4698-E1B70984A157″},{“descriptionPlainText”:”Ukrainian evacuees in Kharkiv remain sheltered in subway tunnels. CNN’s Nick Paton Walsh reports on how they continue to live underground more than two months after the war started.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220519165330-ukraine-kharkiv-subway-tunnel-large-169.jpg”,”title”:”How Ukrainian evacuees are staying hidden in subways”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/19/ukraine-kharkiv-subway-shelters-dnt-lead-npw-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/19/ukraine-kharkiv-subway-shelters-dnt-lead-npw-intl-vpx.cnn”,”videoId”:”world/2022/05/19/ukraine-kharkiv-subway-shelters-dnt-lead-npw-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/19/ukraine-kharkiv-subway-shelters-dnt-lead-npw-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_D9B42C78-8F51-A484-6495-DE0F67C84B1D”},{“descriptionPlainText”:”The first Russian soldier on trial for war crimes is back on the stand in Kyiv. The 21-year-old pleaded guilty to shooting a 62-year-old unarmed Ukrainian civilian. In court, he had a message for the victim’s widow. CNN’s Melissa Bell has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220519095448-russian-soldier-trial-widow-split-bell-0519-large-169.jpg”,”title”:”Widow confronts Russian soldier who killed husband”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/19/russian-soldier-trial-widow-exchange-bell-nr-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/19/russian-soldier-trial-widow-exchange-bell-nr-sot-vpx.cnn”,”videoId”:”world/2022/05/19/russian-soldier-trial-widow-exchange-bell-nr-sot-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/19/russian-soldier-trial-widow-exchange-bell-nr-sot-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_46303108-BB44-F5DD-B188-DC764B111C8A”},{“descriptionPlainText”:”Ireland is giving Ukrainian refugees fleeing war the royal treatment by housing them in a 15th century castle. CNN’s Donie O’Sullivan has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220519065522-irish-castle-large-169.jpeg”,”title”:”Some Ukrainians have found refuge at a 15th century Irish castle”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/19/ukrainian-refugees-ireland-castle-osullivan-pkg-ctw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/19/ukrainian-refugees-ireland-castle-osullivan-pkg-ctw-vpx.cnn”,”videoId”:”world/2022/05/19/ukrainian-refugees-ireland-castle-osullivan-pkg-ctw-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/19/ukrainian-refugees-ireland-castle-osullivan-pkg-ctw-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_7B65E1DE-1E6B-2A69-7688-DBE7F211B965″},{“descriptionPlainText”:”A food crisis looms in Ukraine as Russia continues to block Ukrainian grain exports, skyrocketing the price of grain to $400 per ton on the world market. President Volodymyr Zelensky calls this ‘food terrorism.’ CNN’s Isa Soares reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220519122646-vid-thumb-grain-1-large-169.jpg”,”title”:”See Russian merchant ship’s journey across Mediterranean with stolen grain “,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/19/ukrainian-food-grain-crisis-pkg-soares-newsroom-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/19/ukrainian-food-grain-crisis-pkg-soares-newsroom-intl-ldn-vpx.cnn”,”videoId”:”business/2022/05/19/ukrainian-food-grain-crisis-pkg-soares-newsroom-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/business/2022/05/19/ukrainian-food-grain-crisis-pkg-soares-newsroom-intl-ldn-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_8B7537B5-C8C2-E5BF-81D5-DBDAECA0C12D”},{“descriptionPlainText”:”CNN’s Nick Paton Walsh shadows a group of volunteers leading the defense against Russian troops in the small Ukrainian village of Ruska Lozova.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220518194055-npw-ruska-lozova-01-large-169.jpg”,”title”:”‘A homegrown defense’: How Ukrainian volunteers beat back Russian progression”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/18/ukraine-ruska-lozova-frontlines-volunteer-defense-tsr-npw-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/18/ukraine-ruska-lozova-frontlines-volunteer-defense-tsr-npw-intl-vpx.cnn”,”videoId”:”world/2022/05/18/ukraine-ruska-lozova-frontlines-volunteer-defense-tsr-npw-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/18/ukraine-ruska-lozova-frontlines-volunteer-defense-tsr-npw-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_A4A36CD0-AD3D-EC80-FF43-D97D3F953F63″},{“descriptionPlainText”:”CNN’s Sara Sidner speaks with Sergiy Demidov, a Ukrainian man who owns a hotel in Odesa that was just bombed by the Russians.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220518175701-odesa-hotel-bombing-vpx-large-169.jpg”,”title”:”Video captures moment Russian missile hit beach hotel”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/18/odesa-hotel-russia-missile-sidner-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/18/odesa-hotel-russia-missile-sidner-dnt-lead-vpx.cnn”,”videoId”:”world/2022/05/18/odesa-hotel-russia-missile-sidner-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/18/odesa-hotel-russia-missile-sidner-dnt-lead-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_3E2AF015-851E-AEA7-BA40-D925DCAE8EF5″},{“descriptionPlainText”:”Former Russian colonel, Mikhail Khodarenok, appeared on Russian state TV and gave rare public criticism on the conduct of Russia’s military operations in Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220517185621-mikhail-khodarenok-russian-tv-large-169.jpg”,”title”:”‘We need a way out’: Former Russian colonel criticizes war efforts in Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/media/2022/05/17/russia-former-colonel-criticizes-ukraine-war-efforts-orig-tp-aw.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2022/05/17/russia-former-colonel-criticizes-ukraine-war-efforts-orig-tp-aw.cnn”,”videoId”:”media/2022/05/17/russia-former-colonel-criticizes-ukraine-war-efforts-orig-tp-aw.cnn”,”videoUrl”:”/videos/media/2022/05/17/russia-former-colonel-criticizes-ukraine-war-efforts-orig-tp-aw.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_E43A977A-925F-B6A4-9214-D4490B6B99CF”},{“descriptionPlainText”:”While out getting supplies, 18-year-old Viacheslav Yalov and his mother were hit by Russian shelling. He tried to save her, but she succumbed to her injuries, leaving him as the sole caretaker of his four younger siblings. CNN’s Scott McLean reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220516183146-viacheslav-yalov-siblings-mclean-large-169.jpg”,”title”:”18-year-old Ukrainian raising four siblings after their mother was killed”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/16/viacheslav-yalov-orphan-ukraine-raising-siblings-mclean-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/16/viacheslav-yalov-orphan-ukraine-raising-siblings-mclean-pkg-vpx.cnn”,”videoId”:”world/2022/05/16/viacheslav-yalov-orphan-ukraine-raising-siblings-mclean-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/16/viacheslav-yalov-orphan-ukraine-raising-siblings-mclean-pkg-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_15A67F1F-9FF3-6EF2-0B42-CEF547586169″},{“descriptionPlainText”:”CNN’s Melissa Bell speaks with a Ukrainian who, along with his brothers, was beaten, shot and buried by Russian soldiers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220516192727-soldier-buried-alive-large-169.jpg”,”title”:”Russian troops buried him alive. He survived to tell you his story”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/17/ukrainian-buried-alive-bell-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/17/ukrainian-buried-alive-bell-dnt-lead-vpx.cnn”,”videoId”:”world/2022/05/17/ukrainian-buried-alive-bell-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/17/ukrainian-buried-alive-bell-dnt-lead-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_E86EAC3C-7AFC-CFC9-65E0-CFE39B6A76FA”},{“descriptionPlainText”:”In a CNN exclusive, Sam Kiley travels to the front lines in Bilohorivka, Ukraine, where Russian forces suffered a major defeat in the war.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220517182315-russian-defeat-bilohorivka-large-169.jpg”,”title”:”See the shattered Russian armor after Ukrainian soldiers stop advance”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/17/russian-forces-face-major-defeat-in-bilohorivka-ukraine-kiley-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/17/russian-forces-face-major-defeat-in-bilohorivka-ukraine-kiley-dnt-lead-vpx.cnn”,”videoId”:”world/2022/05/17/russian-forces-face-major-defeat-in-bilohorivka-ukraine-kiley-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/17/russian-forces-face-major-defeat-in-bilohorivka-ukraine-kiley-dnt-lead-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_19B098AF-AB6A-4FDA-D307-D44772C3A020″},{“descriptionPlainText”:”CNN’s Sam Kiley follows Ukraine’s secret police as they apprehend a suspected spy who allegedly provided Russian forces details about the Ukrainian military.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220516174823-ukraine-secret-police-vpx-large-169.jpg”,”title”:”CNN captures moment secret police find and arrest suspected spy”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/16/ukraine-secret-police-catches-suspected-spy-tgb-kiley-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/16/ukraine-secret-police-catches-suspected-spy-tgb-kiley-intl-vpx.cnn”,”videoId”:”world/2022/05/16/ukraine-secret-police-catches-suspected-spy-tgb-kiley-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/16/ukraine-secret-police-catches-suspected-spy-tgb-kiley-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_8DA5C176-FBD9-C9C6-F5AD-CEE61AEBDAE7″},{“descriptionPlainText”:”Reporters Egor Polyakov and Alexandra Miroshnikova speak to Anderson Cooper about why they chose to publish articles critical of Russian President Vladimir Putin’s invasion of Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220514080142-reporters-egor-polyakov-and-alexandra-miroshnikova-split-russia-putin-large-169.jpg”,”title”:”Russian journalists explain why they defied Putin”,”videoCMSUrl”:”/video/data/3.0/video/media/2022/05/14/russian-journalists-criticize-putin-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2022/05/14/russian-journalists-criticize-putin-ac360-vpx.cnn”,”videoId”:”media/2022/05/14/russian-journalists-criticize-putin-ac360-vpx.cnn”,”videoUrl”:”/videos/media/2022/05/14/russian-journalists-criticize-putin-ac360-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_22A43B86-B719-C953-DCBE-C269E4A3415C”}],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/05/22/putin-russia-ukraine-military-generals-william-cohen-newsroom-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-rqxlaq’,videoDescriptionDivId: ‘js-video_description-rqxlaq’,videoDurationDivId: ‘js-video_duration-rqxlaq’,videoTitleDivId: ‘js-leaf-video_headline-rqxlaq’,videoSourceDivId: ‘js-video_sourceName-rqxlaq’});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