Watch this toddler experience pumpkin pie for the first time – CNN

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘us/2021/12/01/toddler-eats-pumpkin-pie-first-time-moos-pkg-vpx.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-video-leaf’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130193059-toddler-eats-pumpkin-pie-first-time-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130193059-toddler-eats-pumpkin-pie-first-time-vpx-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130193059-toddler-eats-pumpkin-pie-first-time-vpx-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130193059-toddler-eats-pumpkin-pie-first-time-vpx-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130193059-toddler-eats-pumpkin-pie-first-time-vpx-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130193059-toddler-eats-pumpkin-pie-first-time-vpx-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130193059-toddler-eats-pumpkin-pie-first-time-vpx-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Pumpkin pie has this toddler all shook up … literally shaking over his first bite ever of pumpkin. CNN’s Jeanne Moos reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130193059-toddler-eats-pumpkin-pie-first-time-vpx-large-169.jpg”,”title”:”Watch this toddler experience pumpkin pie for the first time”,”videoCMSUrl”:”/videos/us/2021/12/01/toddler-eats-pumpkin-pie-first-time-moos-pkg-vpx.cnn”,”videoLeafUrl”:”/videos/us/2021/12/01/toddler-eats-pumpkin-pie-first-time-moos-pkg-vpx.cnn”,”videoId”:”us/2021/12/01/toddler-eats-pumpkin-pie-first-time-moos-pkg-vpx.cnn”,”videoUrl”:”/videos/us/2021/12/01/toddler-eats-pumpkin-pie-first-time-moos-pkg-vpx.cnn”,”surrogateKey”:”video_E2AC2D17-8372-0A8C-8FEA-7359A13B309C”},{“descriptionPlainText”:”11-month-old Wang Yuji from China’s Hebei province hasn’t quite mastered walking yet. But snowboards? No problem. Now she’s an internet sensation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211127122354-snowboarding-baby-orig-thumb-best-large-169.jpg”,”title”:”See 11-month-old who’s yet to master walking snowboard down a mountain”,”videoCMSUrl”:”/video/data/3.0/video/travel/2021/11/27/snowboarding-baby-toddler-china-orig-kj.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2021/11/27/snowboarding-baby-toddler-china-orig-kj.cnn”,”videoId”:”travel/2021/11/27/snowboarding-baby-toddler-china-orig-kj.cnn”,”videoUrl”:”/videos/travel/2021/11/27/snowboarding-baby-toddler-china-orig-kj.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_29D39296-F966-B869-4FB8-6267C212277C”},{“descriptionPlainText”:”Kim Kardashian teamed up with her daughter, North West, to launch a new TikTok account. See what they’ve posted so far.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211126160136-kardashian-north-tiktok-large-169.jpg”,”title”:”Kim Kardashian’s daughter has a new TikTok account”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/11/26/kim-kardashian-north-west-tiktok-sb-src-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/11/26/kim-kardashian-north-west-tiktok-sb-src-orig.cnn”,”videoId”:”entertainment/2021/11/26/kim-kardashian-north-west-tiktok-sb-src-orig.cnn”,”videoUrl”:”/videos/entertainment/2021/11/26/kim-kardashian-north-west-tiktok-sb-src-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_9F481165-F10F-8C73-C9B1-5E71D4CDC539″},{“descriptionPlainText”:”In the new “South Park: Post Covid” special, Stan and Kyle return to South Park to investigate the mysterious death of their friend Kenny.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211126172733-south-park-post-covid-special-src-orig-00000018-large-169.png”,”title”:”‘South Park: Post COVID’ pokes fun at anti-vaxxers”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/11/26/south-park-post-covid-special-src-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/11/26/south-park-post-covid-special-src-orig.cnn”,”videoId”:”media/2021/11/26/south-park-post-covid-special-src-orig.cnn”,”videoUrl”:”/videos/media/2021/11/26/south-park-post-covid-special-src-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_156B0B4B-5728-914A-70BA-5E53959A093D”},{“descriptionPlainText”:”Alabama Crimson Tide head football coach Nick Saban called out Alabama fans on his ‘Hey Coach’ radio show for being “self-absorbed” in a fiery rant that has gone viral. CNN’s Kaitlan Collins, an Alabama alum, weighs in.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201014180534-nick-saban-jan-2020-large-169.jpg”,”title”:”Nick Saban rips ‘self-absorbed’ Alabama fans”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/11/25/nick-saban-university-of-alabama-viral-rant-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/11/25/nick-saban-university-of-alabama-viral-rant-newday-vpx.cnn”,”videoId”:”media/2021/11/25/nick-saban-university-of-alabama-viral-rant-newday-vpx.cnn”,”videoUrl”:”/videos/media/2021/11/25/nick-saban-university-of-alabama-viral-rant-newday-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_6672C788-D6E4-DB99-0473-57CFB2A11B3E”},{“descriptionPlainText”:”Celebrities and family took digs at the three brothers in an hour-long Netflix comedy special, the “Jonas Brothers Family Roast.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211124164451-jonas-brothers-family-roast-lon-orig-na-mg-large-169.jpeg”,”title”:”See Priyanka Chopra roast husband in epic special”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/11/24/jonas-brothers-family-roast-netflix-mrg-na-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/11/24/jonas-brothers-family-roast-netflix-mrg-na-lon-orig.cnn”,”videoId”:”entertainment/2021/11/24/jonas-brothers-family-roast-netflix-mrg-na-lon-orig.cnn”,”videoUrl”:”/videos/entertainment/2021/11/24/jonas-brothers-family-roast-netflix-mrg-na-lon-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_F8D6C55B-3C73-E44A-2F2B-52C0F1B27411″},{“descriptionPlainText”:”Kenan Thompson, host Simu Liu and Cecily Strong joined forces to keep contestants guessing on everyday American’s party affiliations on “Saturday Night Live.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211121142233-saturday-night-live-screengrab-1-nov-20-2021-large-169.jpeg”,”title”:”‘SNL’ cast plays spoof gameshow ‘Republican or Not'”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/11/21/snl-republican-or-not-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/11/21/snl-republican-or-not-orig.cnn”,”videoId”:”media/2021/11/21/snl-republican-or-not-orig.cnn”,”videoUrl”:”/videos/media/2021/11/21/snl-republican-or-not-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_72BB534B-8B02-914D-34D8-41972F3446E5″},{“descriptionPlainText”:”Oprah Winfrey interviewed actress and producer Priyanka Chopra about her relationship and fairytale wedding with musician Nick Jonas.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200420124815-07-priyanka-chopra-fashion-large-169.jpg”,”title”:”Priyanka Chopra says she dismissed Nick Jonas early on”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/03/23/priyanka-chopra-oprah-interview-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/03/23/priyanka-chopra-oprah-interview-orig-jk.cnn”,”videoId”:”entertainment/2021/03/23/priyanka-chopra-oprah-interview-orig-jk.cnn”,”videoUrl”:”/videos/entertainment/2021/03/23/priyanka-chopra-oprah-interview-orig-jk.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_91D581E8-653A-AA13-560F-6003CDFC7B55″},{“descriptionPlainText”:”Dwayne “The Rock” Johnson compares his hair (back when he HAD hair) to wearing a Chia Pet. Jeanne Moos reports on the good old days of bad hair days.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211118182834-the-rock-old-hair-moos-vpx-large-169.jpeg”,”title”:”‘A Chia Pet’: ‘The Rock’ mocks old hairstyle”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/11/18/dwayne-the-rock-johnson-old-haircut-moos-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/11/18/dwayne-the-rock-johnson-old-haircut-moos-vpx.cnn”,”videoId”:”entertainment/2021/11/18/dwayne-the-rock-johnson-old-haircut-moos-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/11/18/dwayne-the-rock-johnson-old-haircut-moos-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_188BBE4A-669C-1B52-A947-3559BA9A6EAD”},{“descriptionPlainText”:”Britney Spears took to Instagram to answer questions from her fans after her 13-year conservatorship ended. HLN’s Melissa Knowles reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210720105704-free-britney-dc-rally-0714-large-169.jpg”,”title”:”Britney Spears thanks fans for saving her”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/11/17/britney-spears-free-conservatorship-ends-knowles-mxp-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/11/17/britney-spears-free-conservatorship-ends-knowles-mxp-vpx.cnn”,”videoId”:”entertainment/2021/11/17/britney-spears-free-conservatorship-ends-knowles-mxp-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/11/17/britney-spears-free-conservatorship-ends-knowles-mxp-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_282EBA07-4F88-7ADB-2974-2DDECDF5F2BB”},{“descriptionPlainText”:”Oprah enthusiastically flubs lyrics while singing during Adele concert. CNN’s Jeanne Moos reports it’s not Oprah’s first lyric fail.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211116191413-oprah-adele-split-vpx-screengrab-jeanne-moos-large-169.jpg”,”title”:”Oprah can’t remember Adele’s lyrics. Internet loves her trying”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/11/17/oprah-adele-lyrics-concert-jeanne-moos-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/11/17/oprah-adele-lyrics-concert-jeanne-moos-vpx.cnn”,”videoId”:”entertainment/2021/11/17/oprah-adele-lyrics-concert-jeanne-moos-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/11/17/oprah-adele-lyrics-concert-jeanne-moos-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_54D52699-54AB-CA90-C147-2B379D4DB3BB”},{“descriptionPlainText”:”The cast of “Harry Potter” is coming together for a new special, set to premiere on HBO Max on January 1. Daniel Radcliffe, Rupert Grint and Emma Watson are expected to take part in “Harry Potter 20th Anniversary: Return to Hogwarts.” CNN’s Bianca Nobilo has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211116211510-harry-potter-reunion-hbo-max-1-large-169.jpg”,”title”:”‘Harry Potter’ cast to reunite as film franchise celebrates 20th anniversary”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/11/17/harry-potter-reunion-hbo-max-tgb-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/11/17/harry-potter-reunion-hbo-max-tgb-intl-vpx.cnn”,”videoId”:”entertainment/2021/11/17/harry-potter-reunion-hbo-max-tgb-intl-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/11/17/harry-potter-reunion-hbo-max-tgb-intl-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_C123A09E-38BF-25C9-5C34-2B6486577623″},{“descriptionPlainText”:”A grandmother who texted the wrong person to join her for Thanksgiving dinner in 2016 has now shared multiple holidays with the young man.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171127124640-02-thanksgiving-dinner-trnd-large-169.jpg”,”title”:”She invited him to Thanksgiving by accident, and it’s become a tradition (2019)”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/11/28/grandmother-wrong-text-thanksgiving-dinner-lon-orig-na.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/11/28/grandmother-wrong-text-thanksgiving-dinner-lon-orig-na.cnn”,”videoId”:”us/2019/11/28/grandmother-wrong-text-thanksgiving-dinner-lon-orig-na.cnn”,”videoUrl”:”/videos/us/2019/11/28/grandmother-wrong-text-thanksgiving-dinner-lon-orig-na.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_F8F73951-CAD8-DFE4-393F-B2503FAD4626″},{“descriptionPlainText”:”Electronics, clothing, jewelry and pet supplies among hardest items to find as holidays near. Experts advice to start your holiday shopping now. CNN’s Tom Foreman reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211001104901-01-us-christmas-shopping-file-large-169.jpg”,”title”:”Attention holiday shoppers: Buy now before it is out of stock”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/16/holiday-shopping-shortage-foreman-lead-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/16/holiday-shopping-shortage-foreman-lead-dnt-vpx.cnn”,”videoId”:”business/2021/11/16/holiday-shopping-shortage-foreman-lead-dnt-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/16/holiday-shopping-shortage-foreman-lead-dnt-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_5DCCCD18-1999-C2F5-9C44-2B141F4D579E”},{“descriptionPlainText”:”Singer Harry Styles launches his non-binary beauty brand, “Pleasing”. CNN’s Melissa Knowles reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211116101042-harry-styles-beauty-brand-large-169.jpg”,”title”:”Pop star launches non-binary beauty brand “,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/16/harry-styles-nonbinary-beauty-brand-pleasing-morning-express-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/16/harry-styles-nonbinary-beauty-brand-pleasing-morning-express-vpx.cnn”,”videoId”:”business/2021/11/16/harry-styles-nonbinary-beauty-brand-pleasing-morning-express-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/16/harry-styles-nonbinary-beauty-brand-pleasing-morning-express-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_B7DEA77B-B4C3-3944-35C4-292F6EDAB5F6″},{“descriptionPlainText”:”Late-night hosts were quick to crack jokes over President Biden’s recent infrastructure win after he signed it into law earlier in the day.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211116070319-late-night-laughs-biden-infrastructure-bill-es-vpx-00000000-large-169.jpg”,”title”:”Late night heckles Biden’s infrastructure bill win”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/11/16/late-night-laughs-biden-infrastructure-bill-es-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/11/16/late-night-laughs-biden-infrastructure-bill-es-vpx.cnn”,”videoId”:”media/2021/11/16/late-night-laughs-biden-infrastructure-bill-es-vpx.cnn”,”videoUrl”:”/videos/media/2021/11/16/late-night-laughs-biden-infrastructure-bill-es-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_1D1CCDCC-D992-3D5C-BEA8-2888A547F5E4″}],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:”us/2021/12/01/toddler-eats-pumpkin-pie-first-time-moos-pkg-vpx.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-1ae2zdv’,videoDescriptionDivId: ‘js-video_description-1ae2zdv’,videoDurationDivId: ‘js-video_duration-1ae2zdv’,videoTitleDivId: ‘js-leaf-video_headline-1ae2zdv’,videoSourceDivId: ‘js-video_sourceName-1ae2zdv’});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(‘

Leave a comment

Your email address will not be published. Required fields are marked *