Select Page

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘health/2022/03/22/how-long-should-toddlers-sleep-lbb-orig.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_specialreports_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211231173821-better-sleep-chloe-melas-sleep-light-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211231173821-better-sleep-chloe-melas-sleep-light-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211231173821-better-sleep-chloe-melas-sleep-light-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211231173821-better-sleep-chloe-melas-sleep-light-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211231173821-better-sleep-chloe-melas-sleep-light-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211231173821-better-sleep-chloe-melas-sleep-light-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211231173821-better-sleep-chloe-melas-sleep-light-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Chloe Melas and her husband were desperate to get their toddlers to sleep past 5 a.m. and sought help from kid-sleep expert, Dr. Marc Weissbluth.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211231173821-better-sleep-chloe-melas-sleep-light-large-169.jpg”,”title”:”This reporter figured out how to get her kids to sleep in”,”videoCMSUrl”:”https://www.cnn.com/videos/health/2022/03/22/how-long-should-toddlers-sleep-lbb-orig.cnn”,”videoLeafUrl”:”https://www.cnn.com/videos/health/2022/03/22/how-long-should-toddlers-sleep-lbb-orig.cnn”,”videoId”:”health/2022/03/22/how-long-should-toddlers-sleep-lbb-orig.cnn”,”videoUrl”:”https://www.cnn.com/videos/health/2022/03/22/how-long-should-toddlers-sleep-lbb-orig.cnn”,”surrogateKey”:”video_DF8FB2C1-20F3-586C-A9A4-B31CE8558554″},{“descriptionPlainText”:”CNN’s Chloe Melas and her husband Brian Mazza haven’t had a full night’s rest for years thanks to their two adorable toddlers. They get help from a respected kid-sleep-guru, Dr. Marc Weissbluth, who discusses sleep rules, night routines and kid-friendly melatonin.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211231171817-better-sleep-chloe-melas-1-crib-large-169.jpg”,”title”:”The sleep rules technique got these toddlers to stay in bed”,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/health/2021/12/31/better-sleep-for-toddlers-kids-tips-lbb-orig-ch.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/health/2021/12/31/better-sleep-for-toddlers-kids-tips-lbb-orig-ch.cnn”,”videoId”:”health/2021/12/31/better-sleep-for-toddlers-kids-tips-lbb-orig-ch.cnn”,”videoUrl”:”https://www.cnn.com/videos/health/2021/12/31/better-sleep-for-toddlers-kids-tips-lbb-orig-ch.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_15EC1BE3-4528-C7BE-EDFE-11ABE3AD8792″},{“descriptionPlainText”:”Snoring and sleep apnea are some of the most common problems that bring people into a sleep lab. Watch to see what happens inside.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220315154542-sleep-lab-thumb-4-large-169.jpg”,”title”:”Do you snore? Here’s why you may need to visit a sleep lab”,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/health/2022/03/15/snoring-sleep-apnea-sleep-lab-lbb-orig.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/health/2022/03/15/snoring-sleep-apnea-sleep-lab-lbb-orig.cnn”,”videoId”:”health/2022/03/15/snoring-sleep-apnea-sleep-lab-lbb-orig.cnn”,”videoUrl”:”https://www.cnn.com/videos/health/2022/03/15/snoring-sleep-apnea-sleep-lab-lbb-orig.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_9C9788CA-FBC3-78D6-5972-8F3296A0508A”},{“descriptionPlainText”:”Dr. Harvey Karp is best known for his infant calming and sleep techniques. He shares his top tips for traveling comfortably with children this holiday season.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211207072507-flying-with-baby-covid-travel-tips-01-large-169.jpeg”,”title”:”Tips to make flying with children a breeze”,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/travel/2021/12/07/flying-with-baby-covid-travel-tips-lbb-orig.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/travel/2021/12/07/flying-with-baby-covid-travel-tips-lbb-orig.cnn”,”videoId”:”travel/2021/12/07/flying-with-baby-covid-travel-tips-lbb-orig.cnn”,”videoUrl”:”https://www.cnn.com/videos/travel/2021/12/07/flying-with-baby-covid-travel-tips-lbb-orig.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_C2DC6139-E406-DA31-403F-92ABEA169692″},{“descriptionPlainText”:”Physical therapists Bob and Brad put out videos every day to an audience of millions on YouTube. They explain why your current sleeping position is putting your back out of whack and how to fix it.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211121205740-best-sleeping-posture-for-back-pain-01-large-169.jpg”,”title”:”How to fix your sleeping position to relieve back pain”,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/health/2021/11/22/best-sleeping-posture-for-back-pain-lbb-orig.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/health/2021/11/22/best-sleeping-posture-for-back-pain-lbb-orig.cnn”,”videoId”:”health/2021/11/22/best-sleeping-posture-for-back-pain-lbb-orig.cnn”,”videoUrl”:”https://www.cnn.com/videos/health/2021/11/22/best-sleeping-posture-for-back-pain-lbb-orig.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_742DE604-C2BE-F5C5-B508-4522FC1DC4BD”},{“descriptionPlainText”:”Dana Santas, a breathing, mobility, and mind-body coach in professional sports, demonstrates four yoga moves that help prepare your body for sleep.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210629190020-dana-santas-sleep-yoga-01-large-169.jpg”,”title”:”Try this routine before sleep to get a good night of rest”,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/health/2021/06/29/yoga-for-sleep-bedtime-stretches-lbb-orig.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/health/2021/06/29/yoga-for-sleep-bedtime-stretches-lbb-orig.cnn”,”videoId”:”health/2021/06/29/yoga-for-sleep-bedtime-stretches-lbb-orig.cnn”,”videoUrl”:”https://www.cnn.com/videos/health/2021/06/29/yoga-for-sleep-bedtime-stretches-lbb-orig.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_EC489BEC-71BE-4DDD-5C28-59F84EDE6E39″},{“descriptionPlainText”:”Whether you’re dealing with anxiety, fighting an illness, or want to feel your best, a good night’s sleep is extremely important. Here are some tips to help you sleep better.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200409202558-sleeping-tips-large-169.jpg”,”title”:”These five tips will help you sleep better”,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/health/2020/04/10/five-tips-to-sleep-better-wellness-orig.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/health/2020/04/10/five-tips-to-sleep-better-wellness-orig.cnn”,”videoId”:”health/2020/04/10/five-tips-to-sleep-better-wellness-orig.cnn”,”videoUrl”:”https://www.cnn.com/videos/health/2020/04/10/five-tips-to-sleep-better-wellness-orig.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_929CBCAE-2C9E-58A9-17C3-616F0EB50DDD”},{“descriptionPlainText”:”CNN’s Anderson Cooper talks to Dr. Scott Small about his research on the association between sleep and memory. Watch “Full Circle” Monday, Wednesday and Friday 6p E.T.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210811195552-desktop-acfc-scott-small-sot-large-169.jpg”,”title”:”Doctor explains how you sleep in order to forget”,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/health/2021/08/11/scott-small-sleep-to-forget-acfc-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/health/2021/08/11/scott-small-sleep-to-forget-acfc-sot-vpx.cnn”,”videoId”:”health/2021/08/11/scott-small-sleep-to-forget-acfc-sot-vpx.cnn”,”videoUrl”:”https://www.cnn.com/videos/health/2021/08/11/scott-small-sleep-to-forget-acfc-sot-vpx.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_65D203D2-50FE-DB71-8B97-376C7E5BC67F”},{“descriptionPlainText”:”Dr. Sanjay Gupta tells us how sleeping more can actually help you feel less hungry.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/120626125551-woman-sleeping-under-covers-large-169.jpg”,”title”:”Could this lead to weight loss magic?”,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/health/2014/06/10/living-to-100-dr-sanjay-gupta-sleep.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/health/2014/06/10/living-to-100-dr-sanjay-gupta-sleep.cnn”,”videoId”:”health/2014/06/10/living-to-100-dr-sanjay-gupta-sleep.cnn”,”videoUrl”:”https://www.cnn.com/videos/health/2014/06/10/living-to-100-dr-sanjay-gupta-sleep.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_0765CEC0-05AB-D5CC-CBF4-86947842DEC5″},{“descriptionPlainText”:”Millions of Americans take medications to help them sleep. Dr. Sanjay Gupta talks about the best way to get a good night of sleep.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/141112150244-sleeping-lady-large-169.jpg”,”title”:”To get good sleep, set thermostat at this”,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/tv/2015/04/09/cnn-orig-living-to-100-sleep-medicine.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/tv/2015/04/09/cnn-orig-living-to-100-sleep-medicine.cnn”,”videoId”:”tv/2015/04/09/cnn-orig-living-to-100-sleep-medicine.cnn”,”videoUrl”:”https://www.cnn.com/videos/tv/2015/04/09/cnn-orig-living-to-100-sleep-medicine.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_4CD280CB-D735-C27D-2FA0-9F1659C9185B”},{“descriptionPlainText”:”Dr. Sanjay Gupta tells us how disconnecting before we go to bed can help us live to 100.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210126153154-person-looking-at-smartphone—stock-large-169.jpg”,”title”:”How your smartphone affects your sleep”,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/health/2014/08/01/cnn-orig-living-to-100-dr-sanjay-gupta-digital-detox.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/health/2014/08/01/cnn-orig-living-to-100-dr-sanjay-gupta-digital-detox.cnn”,”videoId”:”health/2014/08/01/cnn-orig-living-to-100-dr-sanjay-gupta-digital-detox.cnn”,”videoUrl”:”https://www.cnn.com/videos/health/2014/08/01/cnn-orig-living-to-100-dr-sanjay-gupta-digital-detox.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_8A692376-5D18-DB66-0218-93294D952207″},{“descriptionPlainText”:”CNN Chief Medical Correspondent Dr. Sanjay Gupta has the latest medical advice on how to use exercise for better sleep.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/120626125551-woman-sleeping-under-covers-large-169.jpg”,”title”:”How to use exercise for better sleep “,”videoCMSUrl”:”https://www.cnn.com/video/data/3.0/video/tv/2017/05/26/exercise-and-sleep-explained.cnn/index.xml”,”videoLeafUrl”:”https://www.cnn.com/videos/tv/2017/05/26/exercise-and-sleep-explained.cnn”,”videoId”:”tv/2017/05/26/exercise-and-sleep-explained.cnn”,”videoUrl”:”https://www.cnn.com/videos/tv/2017/05/26/exercise-and-sleep-explained.cnn/video/playlists/life-but-better-sleep/”,”surrogateKey”:”video_08C6C095-B9A7-5C74-EB78-463176AE5721″}],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:”health/2022/03/22/how-long-should-toddlers-sleep-lbb-orig.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-f311i0’,videoDescriptionDivId: ‘js-video_description-f311i0’,videoDurationDivId: ‘js-video_duration-f311i0’,videoTitleDivId: ‘js-leaf-video_headline-f311i0’,videoSourceDivId: ‘js-video_sourceName-f311i0’});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(‘

Source: https://www.cnn.com/videos/health/2022/03/22/how-long-should-toddlers-sleep-lbb-orig.cnn