This boy is concerned about the vaccine. Dr. Gupta explains why it's important



‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘health/2021/09/16/sanjay-gupta-students-kids-ask-questions-about-covid-vaccines-orig-llr.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/210916203113-04-sanjay-kids-covid-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210916203113-04-sanjay-kids-covid-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210916203113-04-sanjay-kids-covid-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210916203113-04-sanjay-kids-covid-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210916203113-04-sanjay-kids-covid-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210916203113-04-sanjay-kids-covid-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210916203113-04-sanjay-kids-covid-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Dr. Sanjay Gupta took on one of the hardest interviews, taking questions from children. He met with elementary students in Atlanta to answer their questions about Covid-19 and how to stay safe. They spoke outside in masks in compliance with school policy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210916203113-04-sanjay-kids-covid-large-169.jpg”,”title”:”‘I have one concern’: Dr. Gupta addresses 5th grade boy’s vaccine hesitancy”,”videoCMSUrl”:”/videos/health/2021/09/16/sanjay-gupta-students-kids-ask-questions-about-covid-vaccines-orig-llr.cnn”,”videoLeafUrl”:”/videos/health/2021/09/16/sanjay-gupta-students-kids-ask-questions-about-covid-vaccines-orig-llr.cnn”,”videoId”:”health/2021/09/16/sanjay-gupta-students-kids-ask-questions-about-covid-vaccines-orig-llr.cnn”,”videoUrl”:”/videos/health/2021/09/16/sanjay-gupta-students-kids-ask-questions-about-covid-vaccines-orig-llr.cnn”,”surrogateKey”:”video_AC4A9B8D-0EEA-AFD8-4F2A-F10C71C318F1″},{“descriptionPlainText”:”Ehtesab — which roughly translates to “accountability” — is an Afghan-created app that verifies instances of explosions, power outages, checkpoints, and other need-to-know information in Kabul. Since the Taliban took control of the city, the app has seen a surge in downloads.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210916155117-ehtesab-afghan-app-large-169.jpg”,”title”:”She survived a suicide bomb. Now her app is helping keep other Afghans safe”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/16/ehtesab-afghan-crisis-alert-app-jg-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/16/ehtesab-afghan-crisis-alert-app-jg-orig.cnn-business”,”videoId”:”business/2021/09/16/ehtesab-afghan-crisis-alert-app-jg-orig.cnn-business”,”videoUrl”:”/videos/business/2021/09/16/ehtesab-afghan-crisis-alert-app-jg-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_4E77690B-3889-D677-D91E-F013CA3C5BBE”},{“descriptionPlainText”:”Instagram says it’s looking at new ways to discourage users from focusing on their physical appearance after a report published by The Wall Street Journal revealed that Facebook researchers found that the photo-sharing platform is toxic for teen girls. CNN’s Brianna Keilar spoke to one of the teens mentioned in the WSJ’s report.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210915102012-instagram-photo-illustration-large-169.jpg”,”title”:”WSJ: Facebook top officials knew dangers of Instagram filters”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/16/the-wall-street-journal-report-facebook-instagram-face-filter-dangers-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/16/the-wall-street-journal-report-facebook-instagram-face-filter-dangers-newday-vpx.cnn”,”videoId”:”business/2021/09/16/the-wall-street-journal-report-facebook-instagram-face-filter-dangers-newday-vpx.cnn”,”videoUrl”:”/videos/business/2021/09/16/the-wall-street-journal-report-facebook-instagram-face-filter-dangers-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_03C3093F-545A-70F6-C05E-EF55E34D1AB6″},{“descriptionPlainText”:”Walmart is testing a driverless car, in partnership with Ford and Argo AI, that delivers your order straight to your door. HLN’s Elizabeth Prann reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210916114204-walmart-self-driving-delivery-large-169.jpeg”,”title”:”Walmart introduces self-driving delivery cars in select cities”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/16/walmart-car-delivery-ford-argo-ai-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/16/walmart-car-delivery-ford-argo-ai-mxp-vpx.hln”,”videoId”:”business/2021/09/16/walmart-car-delivery-ford-argo-ai-mxp-vpx.hln”,”videoUrl”:”/videos/business/2021/09/16/walmart-car-delivery-ford-argo-ai-mxp-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F1C6F54F-F39F-14A1-326F-EF37FE8CF431″},{“descriptionPlainText”:”Midland Independent School District in Texas is investigating thefts of bathroom supplies, fire extinguishers and exit signs. CNN affiliate KOSA reports”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210916121408-bathroom-purell-large-169.jpg”,”title”:”Texas school district warns students against latest TikTok challenge”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/16/tiktok-bathroom-challenge-texas-schools-affil-pkg.kosa/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/16/tiktok-bathroom-challenge-texas-schools-affil-pkg.kosa”,”videoId”:”business/2021/09/16/tiktok-bathroom-challenge-texas-schools-affil-pkg.kosa”,”videoUrl”:”/videos/business/2021/09/16/tiktok-bathroom-challenge-texas-schools-affil-pkg.kosa/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_ED6C62D8-B550-77CB-A012-EF5AF861978F”},{“descriptionPlainText”:”Retired Col. Cedric Leighton speaks to CNN’s John Berman and Brianna Keilar about the revelations in Bob Woodward’s and Robert Costa’s latest book “Peril,” which details that Joint Chiefs Chairman Gen. Mark Milley secretly called a top Chinese general after the January 6 insurrection to assure him that the US government was stable.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210813145112-peril-book-cover-large-169.jpg”,”title”:”New book reveals top US general’s secret call to Chinese counterpart”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/09/15/woodward-costa-book-trump-milley-call-china-leighton-sot-newday-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/09/15/woodward-costa-book-trump-milley-call-china-leighton-sot-newday-hnk-vpx.cnn”,”videoId”:”media/2021/09/15/woodward-costa-book-trump-milley-call-china-leighton-sot-newday-hnk-vpx.cnn”,”videoUrl”:”/videos/media/2021/09/15/woodward-costa-book-trump-milley-call-china-leighton-sot-newday-hnk-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_7AA5920A-31C2-27AE-E745-E8DC8B4DB928″},{“descriptionPlainText”:”Apple introduced four new iPhones at its annual event touting environmental-friendly design features and its new video “cinematic mode.” Prices begin at $699″,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210914142602-27-apple-event-0914-screenshot-large-169.jpg”,”title”:”Meet the new iPhone 13″,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/14/iphone-13-apple-pro-mini-max-event-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/14/iphone-13-apple-pro-mini-max-event-orig.cnn-business”,”videoId”:”business/2021/09/14/iphone-13-apple-pro-mini-max-event-orig.cnn-business”,”videoUrl”:”/videos/business/2021/09/14/iphone-13-apple-pro-mini-max-event-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_9AF1185E-79A5-31CA-7D25-E5CB1D67ED6B”},{“descriptionPlainText”:”The new Apple Watch has a larger display and upgraded buttons. See the latest features.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210914151904-apple-watch-series-7-large-169.jpg”,”title”:”Apple unveils the Watch Series 7″,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/14/apple-watch-series-7-gr-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/14/apple-watch-series-7-gr-orig.cnn”,”videoId”:”business/2021/09/14/apple-watch-series-7-gr-orig.cnn”,”videoUrl”:”/videos/business/2021/09/14/apple-watch-series-7-gr-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_16EA609D-A4B4-C182-8589-E5B96E0B6001″},{“descriptionPlainText”:”The new iteration of the iPad has an A13 chip, 12 megapixel front camera, and True Tone. It starts at $329.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210914133839-apple-ipad-2021-a13-chiip-large-169.jpg”,”title”:”See Apple’s new iPad”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/14/apple-ipad-2021-a13-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/14/apple-ipad-2021-a13-orig.cnn-business”,”videoId”:”business/2021/09/14/apple-ipad-2021-a13-orig.cnn-business”,”videoUrl”:”/videos/business/2021/09/14/apple-ipad-2021-a13-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_19ADAB67-8C17-95EA-BAF7-E554E501EA60″},{“descriptionPlainText”:”Everyone from the Inspiration4 crew to Richard Branson has taken a trip on a Zero-G plane to prep for weightlessness in space. Come along with CNN’s Rachel Crane to see what it’s like.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210914132025-zero-g-rachel-crane-thumb-1-large-169.jpg”,”title”:”Here’s how you can experience zero gravity without going to space”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/14/zero-gravity-flight-inspiration4-mc-jg-sb-scn-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/14/zero-gravity-flight-inspiration4-mc-jg-sb-scn-orig.cnn-business”,”videoId”:”business/2021/09/14/zero-gravity-flight-inspiration4-mc-jg-sb-scn-orig.cnn-business”,”videoUrl”:”/videos/business/2021/09/14/zero-gravity-flight-inspiration4-mc-jg-sb-scn-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D0197EE9-52A1-8B23-1443-E544C2CE504E”},{“descriptionPlainText”:”Chris Martin’s performance on “The Kelly Clarkson Show” was hilariously cut short when Clarkson’s son, Remington, needed a bathroom break.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210914095021-kelly-clarkson-son-interrupts-coldplay-song-1-large-169.jpg”,”title”:”Kelly Clarkson’s son interrupts Coldplay singer for nature call”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/09/14/kelly-clarkson-son-interrupts-coldplay-singer-orig-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/09/14/kelly-clarkson-son-interrupts-coldplay-singer-orig-bdk.cnn”,”videoId”:”media/2021/09/14/kelly-clarkson-son-interrupts-coldplay-singer-orig-bdk.cnn”,”videoUrl”:”/videos/media/2021/09/14/kelly-clarkson-son-interrupts-coldplay-singer-orig-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_7A2C78BF-398F-2B9E-96F7-E4112FCAB56F”},{“descriptionPlainText”:”Space Perspective is a human space flight company with bold ambitions to take paying customers to the edge of space, for a hefty price tag. Tickets are now available for flights starting in 2024.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200702163027-space-perspective-capsule-high-alt-291019-large-169.jpg”,”title”:”This balloon could take you to space, if you’ve got $125,000 to spare”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/11/space-perspective-balloon-tourism-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/11/space-perspective-balloon-tourism-orig.cnn-business”,”videoId”:”business/2021/09/11/space-perspective-balloon-tourism-orig.cnn-business”,”videoUrl”:”/videos/business/2021/09/11/space-perspective-balloon-tourism-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_3869177B-B463-E499-D02D-D5B7D97586AF”},{“descriptionPlainText”:”CNN’s Kristie Lu Stout unpacks the debate over video game “addiction,” looking into what prompted the WHO to introduce “gaming disorder” as a new mental health condition, why there is still a lack of consensus among Western psychologists over the issue, and what measures are effective to protect the physical and mental health of minors when it comes to gaming.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210910074733-video-games-stout-pkg-vpc-large-169.jpg”,”title”:”Why there is skepticism surrounding video game ‘addiction'”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/10/are-video-games-addictive-china-stout-pkg-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/10/are-video-games-addictive-china-stout-pkg-intl-vpx.cnn”,”videoId”:”business/2021/09/10/are-video-games-addictive-china-stout-pkg-intl-vpx.cnn”,”videoUrl”:”/videos/business/2021/09/10/are-video-games-addictive-china-stout-pkg-intl-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_AC8503E7-ECB5-9041-7F04-CF54292A60D3″},{“descriptionPlainText”:”Ray-Ban and Facebook joined forces to make smart glasses that can capture pictures and video, make phone calls, and play music. But will customers actually want to wear them?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210909123516-mark-zuckerberg-ray-ban-stories-large-169.jpg”,”title”:”Watch Mark Zuckerberg announce new Facebook and Ray-Ban smart glasses”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/09/ray-ban-stories-zuckerberg-glasses-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/09/ray-ban-stories-zuckerberg-glasses-orig.cnn-business”,”videoId”:”business/2021/09/09/ray-ban-stories-zuckerberg-glasses-orig.cnn-business”,”videoUrl”:”/videos/business/2021/09/09/ray-ban-stories-zuckerberg-glasses-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6D098AC9-FD23-E09B-BD89-CB69A68942BE”},{“descriptionPlainText”:”These Colombian mountains have forged the iron legs of the top Colombian cyclists. Movistar team member Miguel Angel Lopez grew up in Pesca, Boyacá — training on the unforgiving hills of the Andean Mountains amid colonial architecture and colorful small towns.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210421094702-colombia-cyclist-miguel-angel-lopez-00002616-large-169.png”,”title”:”‘Superman’ cyclist shows off Colombia’s underrated Boyacá region”,”videoCMSUrl”:”/video/data/3.0/video/travel/2021/04/21/colombia-cyclist-miguel-angel-lopez.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2021/04/21/colombia-cyclist-miguel-angel-lopez.cnn”,”videoId”:”travel/2021/04/21/colombia-cyclist-miguel-angel-lopez.cnn”,”videoUrl”:”/videos/travel/2021/04/21/colombia-cyclist-miguel-angel-lopez.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8E115873-EF20-B0F8-7CBE-F4A06E4962E6″},{“descriptionPlainText”:”Scientists need a better understanding of what conditions cause hurricanes to rapidly intensify. The company Saildrone thinks its unmanned research vessels can find out — by sending them directly into the eye of a storm.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210908170426-saildrone-01-large-169.jpg”,”title”:”Why this startup is trying to sail into the eye of the next hurricane”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/08/hurricane-forecast-path-model-prediction-saildrone-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/08/hurricane-forecast-path-model-prediction-saildrone-orig.cnn”,”videoId”:”business/2021/09/08/hurricane-forecast-path-model-prediction-saildrone-orig.cnn”,”videoUrl”:”/videos/business/2021/09/08/hurricane-forecast-path-model-prediction-saildrone-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_62F4D304-6F65-0E58-F4CF-C73FF336225C”}],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/2021/09/16/sanjay-gupta-students-kids-ask-questions-about-covid-vaccines-orig-llr.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-14lngay’,videoDescriptionDivId: ‘js-video_description-14lngay’,videoDurationDivId: ‘js-video_duration-14lngay’,videoTitleDivId: ‘js-leaf-video_headline-14lngay’,videoSourceDivId: ‘js-video_sourceName-14lngay’});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 link

Leave a Reply

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