Russia and China ahead of US in key warfare tech. Here’s why

‘);$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/31/hypersonic-missiles-russia-china-us-warfare-technology-ebof-fisher-pkg-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/220321225851-misiles-hipersonicos-rusia-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220321225851-misiles-hipersonicos-rusia-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220321225851-misiles-hipersonicos-rusia-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220321225851-misiles-hipersonicos-rusia-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220321225851-misiles-hipersonicos-rusia-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220321225851-misiles-hipersonicos-rusia-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220321225851-misiles-hipersonicos-rusia-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“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_9301A253-0573-BD12-693F-178CA97720F3″},{“descriptionPlainText”:”Russian strikes in Lysychansk have increased with maximum ferocity. CNN’s Nick Paton Walsh reports from the eastern Ukrainian city, where residents must decide between staying in their homes or fleeing for their lives.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220530181454-lysychansky-shelling-large-169.jpg”,”title”:”‘It’s a catastrophe’: Russians strike Lysychansk with maximum intensity”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/30/ukraine-lysychansk-battle-pkg-tsr-npw-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/30/ukraine-lysychansk-battle-pkg-tsr-npw-intl-vpx.cnn”,”videoId”:”world/2022/05/30/ukraine-lysychansk-battle-pkg-tsr-npw-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/30/ukraine-lysychansk-battle-pkg-tsr-npw-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_9301A253-0573-BD12-693F-178CA97720F3″},{“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_94DEB1FA-BE9A-A7C5-9A2E-16F9AE2822A4″},{“descriptionPlainText”:”In southern Ukraine, Russian forces continue to shell towns and villages in the Mykolaiv region. CNN’s Sara Sidner met with residents, including one woman who says her husband was killed by Russian soldiers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220530140409-screengrab-mykolaiv-woman-large-169.jpg”,”title”:”Woman describes atrocities Russian soldiers conducted on her husband”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/30/ukraine-russia-mykolaiv-trenches-part-2-sidner-pkg-intl-hnk-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/30/ukraine-russia-mykolaiv-trenches-part-2-sidner-pkg-intl-hnk-nr-vpx.cnn”,”videoId”:”world/2022/05/30/ukraine-russia-mykolaiv-trenches-part-2-sidner-pkg-intl-hnk-nr-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/30/ukraine-russia-mykolaiv-trenches-part-2-sidner-pkg-intl-hnk-nr-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_B0B89CEE-B74F-A5E7-44AF-14AA0EA03315″},{“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_D5C025E8-3316-69AB-56B9-132D86049924″},{“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″},{“descriptionPlainText”:”CNN’s Nick Paton Walsh goes to the Ukrainian front lines as local soldiers test new weapons delivered from the West.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220526185341-npw-ukraine-soldier-vpx-large-169.jpeg”,”title”:”Inside the trenches: CNN joins Ukraine’s army on the front lines”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/26/ukraine-army-front-lines-western-weapons-lead-npw-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/26/ukraine-army-front-lines-western-weapons-lead-npw-pkg-vpx.cnn”,”videoId”:”world/2022/05/26/ukraine-army-front-lines-western-weapons-lead-npw-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/26/ukraine-army-front-lines-western-weapons-lead-npw-pkg-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_D7F3CB99-CD8D-C07A-E2CD-13E674BB3431″},{“descriptionPlainText”:”Ukrainian President Volodymyr Zelensky tells CNN’s Fareed Zakaria how much territory Ukraine would be willing to cede to Russia and what he thinks Russian President Vladimir Putin does not realize about the situation on the ground.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220529115746-volodymyr-zelensky-gps-interview-0529-large-169.jpg”,”title”:”Ukraine will fight until it gains all its territory back: President Zelensky”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/29/volodymyr-zelensky-ukraine-russia-territories-gps-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/29/volodymyr-zelensky-ukraine-russia-territories-gps-vpx.cnn”,”videoId”:”world/2022/05/29/volodymyr-zelensky-ukraine-russia-territories-gps-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/29/volodymyr-zelensky-ukraine-russia-territories-gps-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_16346533-FC93-49E2-BC1A-0288556F88DA”},{“descriptionPlainText”:”Mariupol has been at the center of a ferocious, months-long battle between Ukrainian government forces and Russian soldiers and pro-Russian fighters. CNN’s Melissa Bell reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220526183732-mariupol-bell-pkg-vpx-large-169.jpg”,”title”:”‘City of ghosts’: What’s become of Mariupol after Russian occupation”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/26/mariupol-city-of-ghosts-ukraine-russia-bell-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/26/mariupol-city-of-ghosts-ukraine-russia-bell-pkg-lead-vpx.cnn”,”videoId”:”world/2022/05/26/mariupol-city-of-ghosts-ukraine-russia-bell-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/26/mariupol-city-of-ghosts-ukraine-russia-bell-pkg-lead-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_86CC6949-3467-74BC-A3E2-106FC7F52D6A”},{“descriptionPlainText”:”On day 90 of Russia’s invasion of Ukraine, CNN’s Nick Paton Walsh is on the front lines near Kharkiv, where active shelling is taking place meters away.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220524172503-damaged-villages-near-kharkiv-large-169.jpg”,”title”:”‘They’re afraid of us’: Ukrainian soldier describes taking down Russian helicopter”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/24/cnn-on-front-lines-near-kharkiv-day-90-of-ukraine-invasion-npw-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/24/cnn-on-front-lines-near-kharkiv-day-90-of-ukraine-invasion-npw-pkg-lead-vpx.cnn”,”videoId”:”world/2022/05/24/cnn-on-front-lines-near-kharkiv-day-90-of-ukraine-invasion-npw-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/24/cnn-on-front-lines-near-kharkiv-day-90-of-ukraine-invasion-npw-pkg-lead-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_4866238A-590A-0D70-E20A-027297CEC319″},{“descriptionPlainText”:”In the new video released by the Ukraine Armed Forces, cutting-edge, foreign-made drones are used to fight against Russian troops. A ‘kamikaze’ drone’s point of view is shown moments before it strikes a Russian tank. CNN’s Melissa Bell has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220524103730-ukraine-russia-kamikaze-drone-large-169.jpg”,”title”:”Video shows ‘kamikaze’ drone’s POV moments before striking Russian tank”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/24/ukraine-russia-kamikaze-drone-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/24/ukraine-russia-kamikaze-drone-nr-vpx.cnn”,”videoId”:”world/2022/05/24/ukraine-russia-kamikaze-drone-nr-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/24/ukraine-russia-kamikaze-drone-nr-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_757861CA-89D5-F22E-035A-F7EF24730280″},{“descriptionPlainText”:”CNN military analyst Col. Cedric Leighton (Ret.) explains why Russian forces are targeting Ukraine’s railway infrastructure in the Dnipro region.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220524002030-cedric-leighton-05232022-large-169.jpg”,”title”:”Retired Col.: It’s game over here if Russians do this”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/24/russia-ukraine-railroads-dnipro-leighton-dlt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/24/russia-ukraine-railroads-dnipro-leighton-dlt-vpx.cnn”,”videoId”:”world/2022/05/24/russia-ukraine-railroads-dnipro-leighton-dlt-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/24/russia-ukraine-railroads-dnipro-leighton-dlt-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_0C22892C-5E40-FC27-9CD5-F6504B0F28B9″},{“descriptionPlainText”:”Audience members at a Кис-Киc (Kis-Kis) concert in St. Petersburg, Russia, were seen chanting “F**k the war!” according to a video shared online, which was verified by CNN.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220523151937-russia-concert-chant-large-169.jpg”,”title”:”Concertgoers in Russia chant “F**k the war!””,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/23/russia-crowd-chant-lyons-analysis-nr-cabrera-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/23/russia-crowd-chant-lyons-analysis-nr-cabrera-vpx.cnn”,”videoId”:”world/2022/05/23/russia-crowd-chant-lyons-analysis-nr-cabrera-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/23/russia-crowd-chant-lyons-analysis-nr-cabrera-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_9ABF55EF-2BF6-F00E-7BE1-F438133E9C10″},{“descriptionPlainText”:”CNN’s Sam Kiley speaks to a team of elite special forces veterans who have traveled to Ukraine to join the fight against Russia.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220523160221-us-soldier-ukraine-kevin-large-169.jpg”,”title”:”Special forces vet in Ukraine: ‘It really comes down to good vs. evil'”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/23/us-british-special-forces-veterans-ukraine-kiley-lead-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/23/us-british-special-forces-veterans-ukraine-kiley-lead-pkg-vpx.cnn”,”videoId”:”world/2022/05/23/us-british-special-forces-veterans-ukraine-kiley-lead-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/23/us-british-special-forces-veterans-ukraine-kiley-lead-pkg-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_77F22470-45EB-13E5-1FC6-F25427D732CF”},{“descriptionPlainText”:”Exclusive satellite images from US company Maxar Technologies appear to show Russian forces stealing grain from ports in Ukraine. CNN’s Alex Marquardt reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220523172756-satellite-image-russia-stealing-ukraine-grain-large-169.jpg”,”title”:”Satellite images appear to show Russia stealing Ukraine’s grain”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/23/russia-steals-grain-from-ukraine-maxar-satellite-images-marquardt-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/23/russia-steals-grain-from-ukraine-maxar-satellite-images-marquardt-dnt-lead-vpx.cnn”,”videoId”:”world/2022/05/23/russia-steals-grain-from-ukraine-maxar-satellite-images-marquardt-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/23/russia-steals-grain-from-ukraine-maxar-satellite-images-marquardt-dnt-lead-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_C26199C3-1CCF-53D2-FCA9-F27FB0AEC9A2″},{“descriptionPlainText”:”CNN’s Suzanne Malveaux speaks to Natalia, whose husband was one of the Ukrainian soldiers trapped under fire in the Azovstal steel plant, as she’s unsure if he will live or die in Russian custody.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220523123552-natalia-zarytska-with-husband-azovstal-soldier-wife-malveaux-large-169.jpeg”,”title”:”Wife of Azovstal soldier describes fears after his surrender “,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/23/azovstal-soldier-surrender-wife-waits-ukraine-russia-malveaux-intl-nr-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/23/azovstal-soldier-surrender-wife-waits-ukraine-russia-malveaux-intl-nr-dnt-vpx.cnn”,”videoId”:”world/2022/05/23/azovstal-soldier-surrender-wife-waits-ukraine-russia-malveaux-intl-nr-dnt-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/23/azovstal-soldier-surrender-wife-waits-ukraine-russia-malveaux-intl-nr-dnt-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_C8BAE98C-6AB6-A5BC-DD1B-F2CA1DE66517″}],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/31/hypersonic-missiles-russia-china-us-warfare-technology-ebof-fisher-pkg-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-1uils1f’,videoDescriptionDivId: ‘js-video_description-1uils1f’,videoDurationDivId: ‘js-video_duration-1uils1f’,videoTitleDivId: ‘js-leaf-video_headline-1uils1f’,videoSourceDivId: ‘js-video_sourceName-1uils1f’});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