Impulso de China para modernizar su ejército

'); $ vidEndSlate.removeClass (' video__end-slate – inactivo '). AddClass (' video__end-slate – active ');}}; CNN.autoPlayVideoExist = ( CNN.autoPlayVideoExist === cierto)? true: false; var configObj = {thumb: 'ninguno', video: 'world / 2017/10/17 / china-new-military-might-original-rivers.cnn', ancho: '100%', altura: ' 100% ', sección:' nacional ', perfil:' expansión ', red:' 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 /171017021141-china-new-military-might-original-rivers-00000806-small-169.jpg"},"xsmall":{"height":173,"width"307,"type":"jpg " "uri": "// cdn.cnn.com/cnnnext/dam/assets/171017021141-china-new-military-might-original-rivers-00000806-medium-plus-169.jpg"}, "small": { "altura": 259, "ancho": 460, "tipo": "jpg", "uri": "// cdn.cnn.com/cnnnext/dam/assets/171017021141-china-new-military-might-original -rivers-00000806-large-169.jpg "}," medium ": {" height ": 438," width ": 780," type ":" jpg "," uri ":" // cdn.cnn.com /cnnnext/dam/assets/171017021141-china-new-military-might-original-rivers-00000806-exlarge-169.jpg "}," large ": {" altura ": 619," ancho ": 1100," tipo ":" jpg "," uri ":" // cdn.cnn.com/cnnnext/dam/assets/171017021141-china-new-military-might-original- rivers-00000806-super-169.jpg "}," full16x9 ": {" height ": 900," width ": 1600," type ":" jpg "," uri ":" // cdn.cnn.com/ cnnnext / dam / assets / 171017021141-china-new-military-might-original-rivers-00000806-full-169.jpg "}," mini1x1 ": {" height ": 120," width ": 120," type " : "jpg", "uri": "// cdn.cnn.com/cnnnext/dam/assets/171017021141-china-new-military-might-original-rivers-00000806-small-11.jpg"}}}, autoStartVideo = false, callbackObj, containerEl, currentVideoCollection = [{«videoCMSUrl»:»/videos/world/2017/10/17/china-new-military-might-original-rivers.cnn»,»videoId»:»world/2017/10/17/china-new-military-might-original-rivers.cnn»,»videoUrl»:»/videos/world/2017/10/17/china-new-military-might-original-rivers.cnn»},{«videoCMSUrl»:»/video/data/3.0/video/world/2017/07/04/china-liaoning-aircraft-carrier-vo.cctv/index.xml»,»videoId»:»world/2017/07/04/china-liaoning-aircraft-carrier-vo.cctv»,»videoUrl»:»/videos/world/2017/07/04/china-liaoning-aircraft-carrier-vo.cctv/video/playlists/chinas-military/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2017/06/28/china-new-destroyer-mxb-lon-orig.cnn/index.xml»,»videoId»:»world/2017/06/28/china-new-destroyer-mxb-lon-orig.cnn»,»videoUrl»:»/videos/world/2017/06/28/china-new-destroyer-mxb-lon-orig.cnn/video/playlists/chinas-military/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2017/04/26/china-aircraft-carrier-launch-sje-orig.cnn/index.xml»,»videoId»:»world/2017/04/26/china-aircraft-carrier-launch-sje-orig.cnn»,»videoUrl»:»/videos/world/2017/04/26/china-aircraft-carrier-launch-sje-orig.cnn/video/playlists/chinas-military/»},{«videoCMSUrl»:»/video/data/3.0/video/politics/2017/05/26/chinese-fighter-jets-us-aircraft-starr-tsr.cnn/index.xml»,»videoId»:»politics/2017/05/26/chinese-fighter-jets-us-aircraft-starr-tsr.cnn»,»videoUrl»:»/videos/politics/2017/05/26/chinese-fighter-jets-us-aircraft-starr-tsr.cnn/video/playlists/chinas-military/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2016/12/17/china-seizes-us-underwater-drone-rivers-dnt.cnn/index.xml»,»videoId»:»world/2016/12/17/china-seizes-us-underwater-drone-rivers-dnt.cnn»,»videoUrl»:»/videos/world/2016/12/17/china-seizes-us-underwater-drone-rivers-dnt.cnn/video/playlists/chinas-military/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2016/11/14/china-first-female-fighter-pilot-dies-original.cnn/index.xml»,»videoId»:»world/2016/11/14/china-first-female-fighter-pilot-dies-original.cnn»,»videoUrl»:»/videos/world/2016/11/14/china-first-female-fighter-pilot-dies-original.cnn/video/playlists/chinas-military/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2015/12/31/china-new-aircraft-carrier-orig-vstop.cnn/index.xml»,»videoId»:»world/2015/12/31/china-new-aircraft-carrier-orig-vstop.cnn»,»videoUrl»:»/videos/world/2015/12/31/china-new-aircraft-carrier-orig-vstop.cnn/video/playlists/chinas-military/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2015/11/04/chinese-submarine-us-carrier-dnt-todd-tsr.cnn/index.xml»,»videoId»:»world/2015/11/04/chinese-submarine-us-carrier-dnt-todd-tsr.cnn»,»videoUrl»:»/videos/world/2015/11/04/chinese-submarine-us-carrier-dnt-todd-tsr.cnn/video/playlists/chinas-military/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2016/11/17/future-of-china-relations-with-us-after-trump-election-pkg-darlington.cnn/index.xml»,»videoId»:»world/2016/11/17/future-of-china-relations-with-us-after-trump-election-pkg-darlington.cnn»,»videoUrl»:»/videos/world/2016/11/17/future-of-china-relations-with-us-after-trump-election-pkg-darlington.cnn/video/playlists/chinas-military/»},{«videoCMSUrl»:»/video/data/3.0/video/world/2014/11/12/tsr-dnt-todd-china-stealth-fighter-jet.cnn/index.xml»,»videoId»:»world/2014/11/12/tsr-dnt-todd-china-stealth-fighter-jet.cnn»,»videoUrl»:»/videos/world/2014/11/12/tsr-dnt-todd-china-stealth-fighter-jet.cnn/video/playlists/chinas-military/»}]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.s howFlashSlate (containerEl);} else {CNN.autoPlayVideoExist = true;}}} configObj.autostart = autoStartVideo; CNN.VideoPlayer.setPlayerProperties (configObj.markupId, autoStartVideo, isLivePlayer, mutePlayerEnabled); CNN.VideoPlayer.setFirstVideoInCollection (currentVideoCollection, configObj. markupId); var embedLinkHandler = {}, videoPinner, embedCodeCopy; función onVideoCarouselItemClicked (evt) {'use strict'; var videoId, articleElem, videoPlayer, thumbImageElem, thumbImageLargeSource, invalida = {videoCollection: this.videoCollection, autostart: false}, shouldStartVideo = false, playerInstance; intente {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 === 'función '&& playerInstance.getVideoData (). id ! == videoId) {/ * Eliminar script de metadatos de videoobject. Si el usuario hace clic en otro video que no sea el inicial * / jQuery (articleElem) .closest ('. cn-carrusel-medium-strip'). parent (). find (' script [name=»metaScript»] '). remove (); playerInstance.play (videoId, overrides);}} else {videoPlayer = CNNVIDEOAPI.CNNVideoManager.getInstance (). getPlayerByContainer (configObj.markupId); if (videoPlayer && videoPlayer.videoInstance) { / ** si videoPlayer.videoInstance.cvp es nulo, significa que aún no se ha inicializado, así * pase también en la miniatura. * / if (! videoPlayer.videoInstance.cvp) {if (typeof thumbImageElem! == 'undefined' && thumbImageElem ! == nulo) {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) {/ * Elimina el script de metadatos de objetos de video. Si el usuario hace clic que no sea inicial video * / jQuery (articleElem) .closest ('. cn-carrusel-medium-strip'). parent (). find ('script [name=»metaScript»]'). remove (); CNNVIDEOAPI.CNNVideoManager.getInstance (). playVideo ( configObj.markupId, videoId, overrides);} / * El reproductor de video no es reproducción automática, por lo que init itif (shouldStartVideo && this.carouselClickAutostartsVideo) {try {videoPlayer.videoInstance.start ();} catch (startError) {console.log ( "error al inicializar reproductor de video" + startError);}} * /}}}} catch (error) {console.log ("error al inicializar reproductor de video" + 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 ('h ef '); jQuery (carrusel) .on (' clic ',' .cn__column.carousel__content__item ', enVideoCarouselItemClicked);}} 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 / 2017/10/17 / china-new-military-might-original-rivers.cnn", isEmbeddable: "yes"}; CNN.Videx.EmbedButton.updateCode (initMeta);} ) .fail (function () {throw 'No se puede obtener el paquete videx.';}); function updateCurrentlyPlaying (videoId) {var videoCollectionId = 'actual_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', documento. getElementById ('cn-current_video_collection')); gigyaShareElement = jQuery ('div.js-gigya-sharebar'); if (typeof gigyaShareElement! == 'undefined') {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.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', dominio + videocardContents.url || '');} if (carrusel && 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-as0bam' , videoDescriptionDivId: 'js-video_description-as0bam', videoDurationDivId: 'js-video_duration-as0bam', videoTitleDivId: 'js-leaf-video_headline-as0bam', videoSourceDivId: 'js-video_sourceName-as0bam'}); if (CNN.Utils (videocardContents.showUrl)) {showDetailsSpanContent = '' + videocardContents.showName + ' | ';} else {showDetailsSpanContent = videocardContents.showName +' | ';}} fastdom.measure (función getShowInfo () {var $ show = jQuery ('. metadata__show '), $ isShowDetailsSpanExists = $ show.find (' span '). hasClass (' metadata – show__name '), $ showName = jQuery ('. metadatos – show__name'); fastdom.mutate (function updateShowInfo () {if (! $ isShowDetailsSpanExists) {$ show.prepend ('

Fuente CNN