Drama del cuidado de la salud del senado: Actualizaciones en vivo

'); $ vidEndSlate.removeClass (' video__end-slate – inactive '); addClass (' video__end-slate – active); CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true)? True: false; CNN.goActiveUntil = (typeof CNN.goActiveUntil === 'número')? CNN.goActiveUntil: 0; var configObj = {thumb: 'none', video: 'cvplive / cvpstream3', ancho: '100%', altura: '100% CvpContext: 'watch_live', isLive: true, red: 'cnn', markupId: 'large-media_0', adsection: 'const-article-pagetop', frameWidth: '100%', posterImageOverride: {"Mini": {"height": 124, "width": 220, "type": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170725143204-senate -floor-health-care-vote-small-169.jpg "}," xsmall ": {" altura ": 173," anchura ": 307," tipo ":" jpg "," uri ":" // i2 .cdn.cnn.com / cnnnext / dam / assets / 170725143204-senado-piso-salud-cuidado-voto-medio-más-169.jpg "}," small ": {" height ": 259, 460, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170725143204-senate-floor-health-care-vote-large-169.jpg"} , "Medium": {"height": 438, "width": 780, "tipo": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170725143204-senate -floor-health-care-vote-exlarge-169.jpg "}," grande ": 619," anchura ": 1100," tipo ":" jpg "," uri ":" // i2 .cdn.cnn.c Om / cnnnext / dam / assets / 170725143204-senate-floor-health-care-vote-super-169.jpg "}," full16x9 ": {" height ": 900, Jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170725143204-senate-floor-health-care-vote-full-169.jpg "}," mini1x1 ": {" Altura ": 120," anchura ": 120," tipo ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170725143204-senate-floor-health-care- Vote-small-11.jpg "}}, autoStartVideo = false, callbackObj, containerEl, currentVideoCollection = []currentVideoCollectionId = '', isLivePlayer = false, moveToNextTimeout, mutePlayerEnabled = false, nextVideoId = '', nextVideoUrl = '' , TurnOnFlashMessaging = false, videoPinner, videoEndSlateImpl; si (! CNN.VideoPlayer.isFaveLiveEnabled (configObj.video) && Modernizr &&! Modernizr.phone &&! Modernizr.mobile &&! Modernizr.tablet &&! CNN.VideoPlayer.isFlashInstalled ()) { {CNN.geoCheckStream = function geoCheckStream (contenedor, startCallback, configObj, callbackObj)} {CNN.geoCheckStream = {JQuery (documento) .onGeoCheckReady (function doGeoChecking () {var $ endSlate; if (CNN.GeoCheck.inTarget ([«*»,»-#AF»,»-JP»,»-MY»,»-SH»,»-TH»,»-YT»])) {if (turnOnFlashMessaging) {CNN.VideoPlayer.showFlashSlate } {If (typeof configObj === 'objeto') {startCallback (configObj, callbackObj);} else {startCallback ();}}}} else {if (tipo de contenedor === ' String ') {$ endSlate = jQuery (document.getElementById (container)). Parent (). Find (' .js-video__end-slate '). Eq (0);} else {$ endSlate = container.parent (). Buscar ('.js-video__end-slate') eq (0);} si ($ endSlate.length> 0) {$ endSlate.find ('.l-container'). Html ('

'); $ endSlate.find ('. Video__end-slate__tertiary-title '). Hide (); $ endSlate.find ('. Video__end-slate__tertiary '). Hide (); videoEndSlateImpl.showEndSlateForContainer ();}} If (autoPerfil = false) {autoStartVideo = false; si (autoStartVideo === true) {if (turnOnFlashMessaging === true) {autoStartVideo = false; containerEl = j Consulta (document.getElementById (configObj.markupId)); CNN.VideoPlayer.showFlashSlate (containerEl);} else {CNN.autoPlayVideoExist = true;}}} configObj.autostart = autoStartVideo; CNN.VideoPlayer.setPlayerProperties (configObj.markupId, autoStartVideo , IsLivePlayer, mutePlayerEnabled); CNN.VideoPlayer.setFirstVideoInCollection (currentVideoCollection, configObj.markupId); videoEndSlateImpl = new CNN.VideoEndSlate ('large-media_0'); / *** Busca el siguiente ID de video y la URL en la colección actual, si Disponible. * @param currentVideoId El video que se está reproduciendo actualmente * @param containerId El Id del contenedor principal del elemento de video * / function findNextVideo (currentVideoId) {var i, vidObj; if (currentVideoId && jQuery.isArray (currentVideoCollection) && currentVideoCollection. Longitud> 0) {para (i = 0; I 0) {videoEndSlateImpl.showEndSlateForContainer ();}}} callbackObj = {onPlayerReady: function (containerId) {CNN.VideoPlayer.reportLoadTime (containerId); CNN.VideoPlayer.handleInitialExpandableVideoState (containerId); CNN.VideoPlayer.handleAdOnCVPVisibilityChange (containerId, CNN (JQuery (containerClassId) .parents ('.js- (jQuery (containerClassId) ) {VideoPinner = nuevo CNN.VideoPinner (containerClassId); videoPinner.init ();} else {CNN.VideoPlayer.hideThumbnail (containerId);}}}, / ** Escuche los metadatos (pg-rail-tall__head) Evento que se activa justo después de que el anuncio termina y comienza la reproducción de vídeo real * / onContentEntryLoad: function (containerId, playerId, contentid, isQueue) {CNN.VideoPlayer.showSpinner (containerId);}, onContentMetadata: function (containerId, playerId, metadata, ContentId, duration, width, height) {var endSlateLen = jQuery (document.getElementById (cont () () () () () () () () () () () () () () () > 0) {videoEndSlateImpl.fetchAndShowRecommendedVideos (metadatos);}}, onAdPlay: function (containerId, cvpId, token, mode, id, duration, blockId, adType) {clearTimeout (moveToNextTimeout); CNN.VideoPlayer.setManualUnmute (containerId) (BlockId === 0) {(nueva imagen ()). Src = "http://traffic.outbrain.com/network/trackpxl?advid=814&action=view";}CNN.VideoPlayer.hideSpinner(containerId);if (Modernizr &&! Modernizr.phone &&! Modernizr.mobile &&! Modernizr.tablet) {if (tipo de videoPinner! == 'undefined' && videoPinner! == null) {videoPinner.setIsPlaying (true); videoPinner.animateDown (); } Cuando el contenido de video comienza a reproducirse, inyecte datos analíticos * para Aspen (si está habilitado) y el diseño del anuncio complementario * (si se ha activado) Establecido cuando se reproduce el anuncio) Debe volver al * diseño épico del anuncio. OnContentPlay llama a updateCompanionLayout * con el diseño 'restoreEpicAds' para hacer este cambio * / if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout ('restoreEpicAds');} clearTimeout MoveToNextTimeout); CNN.VideoPlayer.hideSpinner (containerId); if (CNN.VideoPlayer.getLibraryName (containerId) === 'fave') {playerInstance = FAVE.player.getInstance (containerId) || Null;} else {playerInstance = containerId && window.cnnVideoManager.getPlayerByContainer (containerId) .videoInstance.cvp || Null;} prevVideoId = (window.jsmd && window.jsmd.v && (window.jsmd.v.eVar18 || window.jsmd.v.eVar4)) || '' If (playerInstance && typeof playerInstance.reportAnalytics === 'función') {if (prevVideoId.length === 0 && document.referrer && document.referrer.search (/ / videos //)> = 0 ) {PrevVideoId = document.referrer.replace (/ ^ (?: Http | https) : / / [^/] / videos / (. + . W +) (?: / Video / playlists {/ Video / $ 1 '); si (prevVideoId === document.referrer) {prevVideoId =' ';}} playerInstance.reportAnalytics (' videoPageData ', {videoCollection: currentVideoCollectionId, videoBranding: CNN.omniture.branding_content_page, templateType: CNN.omniture.template_type, nextVideo: nextVideoId, previousVideo: prevVideoId, referrerType: '', referrerUrl: document.referrer});} if (Modernizr &&! Modernizr.phone &&! Modernizr.mobile && ! () ()), OnContentReplayRequest: function (containerId, cvpId, contentId) ) {If (Modernizr &&! Modernizr.phone &&! Modernizr.mobile &&! Modernizr.table T) {if (typeof videoPinner! == 'undefined' && videoPinner! == null) {videoPinner.setIsPlaying (true); var $ endSlate = jQuery (document.getElementById (containerId)). Js-video__end-slate '). Eq (0); if ($ endSlate.length> 0) {$ endSlate.removeClass (' video__end-slate – activo '). AddClass (' video__end-slate – inactivo '); }, OnContentBegin: function (containerId, cvpId, contentId) {CNN.VideoPlayer.mutePlayer (containerId); if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout ('RemoveEpicAds');) CNN.VideoPlayer.hideSpinner (containerId); clearTimeout (moveToNextTimeout); CNN.VideoSourceUtils.clearSource (containerId); CNN.goActiveUntil = 360; if (CNN.goActiveUntil> 0) CNN.goActiveUntil = CNN.goActiveUntil * 60000) + Date.now ();} jQuery (documento) .triggerVideoContentStarted ();}, onContentComplete: function (containerId, cvpId, contentId) {if (CNN.companion && typeof CNN.companion.updateCompanionLayout == = 'Function') {CNN.companion.upda TeCompanionLayout ('restoreFreewheel');} navegarToNextVideo (contentId, containerId);}, onContentEnd: function (containerId, cvpId, contentId) {if (Modernizr &&! Modernizr.phone &&! Modernizr.mobile &&! CNN.goActiveUntil = 0;}, onTrackingMuted: function (containerId, cvpId, dataObj, dataObjFave) {if (CNN. VideoPlayer.getLibraryName (containerId) == 'fave') {if (dataObjFave && dataObjFave.contentId) {CNN.VideoPlayer.handleUnmutePlayer (containerId, dataObjFave);}} else {if (dataObj && dataObj.contentId) {CNN.VideoPlayer .controller (containerId, dataObj);}}}, onCVPVisibilityChange: function (containerId, cvpId, visible) {CNN.VideoPlayer.handleAdOnCVPVisibilityChange (containerId, visible); | ConfigObj.context.length 0) {configObj.adsection = window.ssid;} CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true)? / * Videodemanddust es una característica por defecto del inyector * / CNN.INJECTOR.scriptComplete ('videodemanddust');

Fuente CNN