HEALTH COACH - Wellness coaches: how they can change your mind and your life

HEALTH COACH -
 Wellness coaches: how they can change your mind and your life   
$ VidEndSlate.removeClass (video__end-slate - inactive). AddClass (video__end-slate-- Active);}}; CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true)? True: false; Var configObj = {thumb: none}, video: health / 2017/04/25 / sw-wellness-coach.cnn, width: & 100% & # 39 ;, height: & # 39; 100% & # 39; section: & # 39; Domestic, profile: & # 39; expansion, network: & # 39; markupId : "Wide-media_0", adsection: "cnn.com_health_stayingwell_videopage", frameWidth: "100%", frameHeight: & # 39; , PosterImageOverride: {"Mini": {"height": 124, "width": 220, "type": "jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/ "," Type ":" jpg "," uri ":" // "," width ": 307, I2.cdn.cnn .com / cnnnext / dam / assets / 170425095647-sw-wellness-coach-00001515-medium-plus-169.jpg "}," small ": {" height ": 259," width ": 460 , "Type": "Jpg", "uri": "// i2.cdn.cnn.com/cnnnext/dam/assets/170425095647-sw-wellness-coach-00001515-large-169.jpg"},"medium ": {" Height ": 438," width ": 780," type ":" jpg "," uri ":" // i2.cdn.cnn.com / Cnnnext / dam / assets / 170425095647-sw-wellness-coach-00001515-exlarge -169.jpg "," wide ": {" height ": 619," width ": 1100," type ":" jpg " "Uri": "// i2.cdn.cnn.com/cnnnext/dam / Active / 1 70425095647-sw-wellness-coach-00001515-super-169.jpg"}, "full16x9": {"height": 900 , "Width": 1600, "type": "jpg", "uri": "// I2.cdn.cnn.com/cnnnext/dam/assets/170425095647-sw-wellness-coach-00001515-full-169. Jpg "," mini1x1 ": {" height ": 120," width ": 120," Type ":" jpg "," uri ":" // i2.cdn.cnn.com/cnnnext/dam/assets/ 170425095647-sw-wellness-coach-00001515-small-11.jpg "}}} toStartVideo = False, callbackObj, containerEl, currentVideoCollection = [] 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. ShowFlashSlate (containerEl);} else {CNN.autoPlayVideoExist = true;}}} configObj.autostart = autoStartVideo; CNN.VideoPlayer.setPlayerProperties (c OnfigObj.markupId, autoStartVideo, isLivePlayer, mutePlayerEnabled); CNN.VideoPlayer.setFirstVideoInCollection (currentVideoCollection, configObj.markupId); VideoEndSlateImpl = new CNN.VideoEndSlate (large-media_0); / *** Searches for 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 layout of the ad * (if it was set when viewing the video) Ad) should return to the epic ad * layout. 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) === # fake) {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