HEALTH COACH -
Perdue recalls the sausage of chicken on plastic parts
; $ VidEndSlate.removeClass (video__end-slate - inactive). AddClass (video__end-slate - active);}}; CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true)? True: false; Var configObj = {thumb: none, video: health / 2015/12/01 / food-record-explainer-elizabeth-cohen-mss-orig.cnn, width: 100% & # 39 ;, section: "Domestic", profile: & # 39; expanded & # 39; network # 39; cnn, markupId: wide-media_0, adsection: const-article-pagetop, frameWidth: 100% & frameFeature: 100%, posterImageOverride: {"mini": {"height": 124, "width": 220, "type": "jpg", "uri": "// i2.cdn. Cnn.com/cnnnext /dam/assets/170506212851-01-perdue-chicken-recall-small-169.jpg"},"xsmall":{"height":173,"width":307,"type ":" Jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170506212851-01-perdue-chicken-recall-medium-plus-169.jpg "}," small ": {" "," Url ":" // i2.cdn.cnn.com/cnnnext/dam/assets/170506212851-01-perdue-chicken-recall- "" Width ": 460," type " "," Width ": 780," type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/ dam / assets / 170506 212851 -01-lost-chicken-recall-exlarge-169.jpg "}," width ": {" height ": 619," width ": 1100," type ":" jpg " I2 .cnn.cnn.com / cnnnext / dam / a Ssets / 170506212851-01-lost-chicken-recall-super-169.jpg "," full16x9 " "Type": "jpg", "uri": "//i2.cdn.cnn.com/cnnnext/dam/assets/170506212851-01-perdue-chicken-recall-full-169.jpg"},"mini1x1" : "120", "width": 120, "Type": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170506212851-01-perdue-chicken AutoVideo = false, callbackObj, containerEl, currentVideoCollection = [] currentVideoCollectionId = isLivePlayer = false, moveToNextTimeout, mutePlayerEnabled = false, nextVideoId = & -recall-small-11.jpg , NextVideoUrl = & # 39; 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 = autoStartVideo; CNN.VideoPlayer.setPlayerProperties (ConfigObj.markupId, autoStartVideo, isLivePlayer, mutePlayerEnabled); CNN.VideoPlayer.setFirstVideoInCollection (currentVideoCollection, configObj.markupId); VideoEndSlateImpl = new CNN.VideoEndSlate (large-media_0); / *** Find the next video ID and URL in the current collection, if available. * @param currentVideoId The current video * @param containerId The parent container Id of the video element * / function findNextVideo (currentVideoId) {var i, vidObj; If (currentVideoId && jQuery.isArray) && currentVideoCollection.length> 0) {for (i = 0; I 0) {videoEndSlateImpl.showEndSlateForContainer ();}}} callbackObj = {onPlayerReady: function (containerId) {CNN. VideoPlayer.reportLoadTime (containerId); CNN.VideoPlayer.handleInitialExpandableVideoState (containerId); CNN.VideoPlayer.handleAdOnCVPVisibilityChange (containerId, CNN) .pageVis.isDocumentVisible ()); If (Modernizr &&. Modernizr.phone &&! Modernizr.mobile &&! Modernizr.tablet) {var containerClassId = "# + ContainerId; If (jQuery (containerClassId) .parents (Js- Pg-rail-tall__head) Length) {videoPinner = new CNN.VideoPinner (containerClassId); VideoPinner.init ();} else {CNN.VideoPlayer.hideThumbnail (containerId);}}}, / ** Listen to the metadata Event that triggers immediately after the end of the ad and the actual video play starts * OnContentEntryLoad: function (containerId, playerId, contentid, isQueue) {CNN.VideoPlayer.showSpinner (containerId);}, onContentMetadata: function (containerId, playerId, metadata, ContentId, duration, width, height) {var endSlateLen = jQuery GetElementById (cont. AinerId)). Parent (). Find (Js-video__end-slate). Eq (0) .length; CNN.VideoSourceUtils.updateSource (containerId, metadata); If (endSlateLen> 0) {videoEndSlateImpl.fetchAndShowRecommendedVideos (metadata);}}, OnAdPlay: function (containerId, cvpId, token, mode, id, duration, blockId, adType) {clearTimeout (moveToNextTimeout); If (blockId === 0) {(new Image ()). Src = "Http://traffic.outbrain.com/network/trackpxl?advid=814&action=view";}CNN.VideoPlayer.hideSpinner(containerId);if (Modernizr &&! Modernizr.phone &&! Modernizr.mobile &&! Modernizr .tablet) {If (typeof videoPinner! == & # 39; && videoPinner! == null) {videoPinner.setIsPlaying (true); VideoPinner.animateDown ();}}}, onContentPlay: function (containerId, cvpId, event) {var playerInstance, PrevVideoId; / ** When the video content begins to play, inject analytical data * for Aspen (if enabled) and the associated ad layout * (if it was set when the ad is played) Must return to the epic layout of the ad *. OnContentPlay calls updateCompanionLayout * with the restoreEpicAds layout & # 39; To make this switch * / 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)) || & # 39; & # 39 ;; If (playerInstance && typeof playerInstance.reportAnalytics === 'function') {if (prevVideoId.length === 0 && document.referrer && document.referrer.search (/ / videos //) = 0) {PrevVideoId = document.referrer.replace (/ ^ (?: Http | https) : / / [^/] / videos / Playlists /.*)? $ /, / # / Video / $ 1); If (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: & # 39 ;, referrerUrl: document.referrer})} if (Modernizr &&! Modernizr.phone &&! Modernizr.mobile && {ModernPlayer.Text) {if (typeof videoPinner! == & undefined & # 39; && videoPinner! == null) {videoPinner.setIsPlaying (true); VideoPinner.animateDown ();}}}, onContentReplayRequest: function (containerId, cvpId, contentId) {If (modernizr &&! Modernizr.phone & Undefined & videoPinner! == null) {videoPinner.setIsPlaying (true); Var $ endSlate = jQuery (document.getElementById (containerId)). Parent (). Find (Js-video__end-slate). Eq (0); If ($ endSlate.length> 0) {$ endSlate.removeClass (video_end-slate - active). AddClass (video__end-slate - inactive); }}}}, 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); JQuery (document) .triggerVideoContentStarted ();}, onContentComplete: function (containerId, cvpId, contentId)) {If (CNN.companion && typeof CNN.companion.updateCompanionLayout === function) {CNN. Companion.updateCompanionLayout (restoreFreewheel);} navigateToNextVideo (contentId, containerId);}, onContentEnd: function (conta) InerId, cvpId, contentId) Modernizr &&! Modernizr.phone & }}, OnCVPVisibilityChange: function (containerId, cvpId, visible) {} (typeof videoPinner! == undefined & videoPinner! == null) {videoPinner.setIsPlaying ) {CNN.VideoPlayer.handleAdOnCVPVisibilityChange (containerId, visible);}}; If (typeof configObj.context! == string) ConfigObj.context.length 0) {configObj.adsection = window.ssid;} CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true)? True: false; CNN.VideoPlayer.getLibrary (configObj, callbackObj, isLivePlayer);}); / * Videodemanddust is a default function of the injector * / CNN.INJECTOR.scriptComplete (& # 39; videodemanddust);
Comments
Post a Comment