‘I had to lie to him’: What one mom told son before sending him to school

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘us/2022/05/27/texas-school-shooting-voicemails-orig-dp-jm-cz.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/220527182700-texas-school-shooting-voicemails-orig-dp-jm-cz-00000000-small-169.png”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220527182700-texas-school-shooting-voicemails-orig-dp-jm-cz-00000000-medium-plus-169.png”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220527182700-texas-school-shooting-voicemails-orig-dp-jm-cz-00000000-large-169.png”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220527182700-texas-school-shooting-voicemails-orig-dp-jm-cz-00000000-exlarge-169.png”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220527182700-texas-school-shooting-voicemails-orig-dp-jm-cz-00000000-super-169.png”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220527182700-texas-school-shooting-voicemails-orig-dp-jm-cz-00000000-full-169.png”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220527182700-texas-school-shooting-voicemails-orig-dp-jm-cz-00000000-small-11.png”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN asked parents and children to leave a voicemail after the Texas shooting. Hear what they said”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220527182700-texas-school-shooting-voicemails-orig-dp-jm-cz-00000000-large-169.png”,”title”:”‘I had to lie to him’: What mom told son before sending him to school”,”videoCMSUrl”:”/videos/us/2022/05/27/texas-school-shooting-voicemails-orig-dp-jm-cz.cnn”,”videoLeafUrl”:”/videos/us/2022/05/27/texas-school-shooting-voicemails-orig-dp-jm-cz.cnn”,”videoId”:”us/2022/05/27/texas-school-shooting-voicemails-orig-dp-jm-cz.cnn”,”videoUrl”:”/videos/us/2022/05/27/texas-school-shooting-voicemails-orig-dp-jm-cz.cnn”,”surrogateKey”:”video_CF7E532A-DB56-6A24-9AED-077EBA9105A0″},{“descriptionPlainText”:”Paris Hilton has dived into the metaverse. Selling NFTs and a digital experience in Roblox, Hilton has rebranded herself as the metaverse mogul. CNN Business’ Samantha Kelly talks with Hilton about the hype and controversy around NFTs.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220506122008-paris-hilton-metaverse-large-169.jpg”,”title”:”How Paris Hilton became ‘The Queen of the Metaverse'”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/06/paris-hilton-metaverse-nfts-sk-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/06/paris-hilton-metaverse-nfts-sk-orig.cnn”,”videoId”:”business/2022/05/06/paris-hilton-metaverse-nfts-sk-orig.cnn”,”videoUrl”:”/videos/business/2022/05/06/paris-hilton-metaverse-nfts-sk-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_1CDE4026-2768-C4F5-4D0D-9AC3C4DE20F6″},{“descriptionPlainText”:””Top Gun: Maverick” star Tom Cruise flew a plane with “The Late Late Show” host James Corden, who was terrified by this once-in-a-lifetime trip.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220524153213-tom-cruise-large-169.jpg”,”title”:”Tom Cruise terrifies James Corden with wild plane ride”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/24/top-gun-tom-cruise-james-corden-orig-ht.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/24/top-gun-tom-cruise-james-corden-orig-ht.cnn-business”,”videoId”:”business/2022/05/24/top-gun-tom-cruise-james-corden-orig-ht.cnn-business”,”videoUrl”:”/videos/business/2022/05/24/top-gun-tom-cruise-james-corden-orig-ht.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_2C551DA2-C831-16BB-2761-F78C46E8FD5A”},{“descriptionPlainText”:”AccorHotels CEO Sébastien Bazin tells CNN’s Richard Quest how the company is managing a changing work landscape and adapting to shifting needs amid a labor shortage.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220530135700-accorhotels-ceo-sebastien-bazin-large-169.jpg”,”title”:”How this hospitality company is adapting to changes in the workforce”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/30/labor-shortage-hotel-hospitality-industry-business-travel-accorhotels-ceo-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/30/labor-shortage-hotel-hospitality-industry-business-travel-accorhotels-ceo-qmb-vpx.cnnbusiness”,”videoId”:”business/2022/05/30/labor-shortage-hotel-hospitality-industry-business-travel-accorhotels-ceo-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/05/30/labor-shortage-hotel-hospitality-industry-business-travel-accorhotels-ceo-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F2422E99-9DDD-B1CC-E931-169824BE05ED”},{“descriptionPlainText”:”While touting her new book, former Trump aide Kellyanne Conway got into a heated exchange with former White House colleague Alyssa Farah Griffin on “The View.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191218165322-kellyanne-conway-gaggle-large-169.jpg”,”title”:”Watch Kellyanne Conway’s contentious appearance on ‘The View'”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/25/kellyanne-conway-alyssa-farah-griffin-the-view.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/25/kellyanne-conway-alyssa-farah-griffin-the-view.cnn”,”videoId”:”business/2022/05/25/kellyanne-conway-alyssa-farah-griffin-the-view.cnn”,”videoUrl”:”/videos/business/2022/05/25/kellyanne-conway-alyssa-farah-griffin-the-view.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_15BC4A9D-745A-402A-D41A-F88A4294920E”},{“descriptionPlainText”:”Walmart has been criticized for using Juneteenth, which commemorates the end of slavery in the US, as a “marketing scheme” for its products. CNN’s Robin Meade reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220524184759-vid-thumb-walmart-juneteenth-2-large-169.jpg”,”title”:” Walmart pulls ‘tone-deaf’ Juneteenth products after criticism”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/24/walmart-juneteenth-backlash-vo-meade-hln-ldn-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/24/walmart-juneteenth-backlash-vo-meade-hln-ldn-vpx.hln”,”videoId”:”business/2022/05/24/walmart-juneteenth-backlash-vo-meade-hln-ldn-vpx.hln”,”videoUrl”:”/videos/business/2022/05/24/walmart-juneteenth-backlash-vo-meade-hln-ldn-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D28A5DD7-1893-88B3-A376-F72C59769D52″},{“descriptionPlainText”:”Street View is turning 15 and Google is marking the occasion by rolling out a camera the company hopes will bring more of the world to users’ living rooms.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220523151332-google-street-view-new-camera-large-169.jpg”,”title”:”Google’s Street View is 15 years old. See the new camera it’s rolling out”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/23/google-street-view-new-camera-gr-org.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/23/google-street-view-new-camera-gr-org.cnn”,”videoId”:”business/2022/05/23/google-street-view-new-camera-gr-org.cnn”,”videoUrl”:”/videos/business/2022/05/23/google-street-view-new-camera-gr-org.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8C5AAF80-1EA7-2F62-431E-F2F93304CC69″},{“descriptionPlainText”:”From construction worker to newest champion of “American Idol,” singer Noah Thompson appeared on “Good Morning America” to reflect on winning the competition.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220523171340-noah-thompson-2-large-169.jpg”,”title”:”‘American Idol’ winner says he wants to ‘stay in the house for a bit'”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/23/american-idol-champion-noah-thompson-orig-ht.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/23/american-idol-champion-noah-thompson-orig-ht.cnn-business”,”videoId”:”business/2022/05/23/american-idol-champion-noah-thompson-orig-ht.cnn-business”,”videoUrl”:”/videos/business/2022/05/23/american-idol-champion-noah-thompson-orig-ht.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B0FF1F63-DB05-DAE8-414E-F2BEAA7C9319″},{“descriptionPlainText”:”CNN’s Gabe Cohen reports on how record housing prices and rising mortgage rates are widening the racial divide in the US.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220511162706-house-for-sale-file-033121-large-169.jpg”,”title”:”Typical monthly payment for US home up 42% in a year”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/20/housing-prices-racial-divide-arizona-cohen-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/20/housing-prices-racial-divide-arizona-cohen-dnt-lead-vpx.cnn”,”videoId”:”business/2022/05/20/housing-prices-racial-divide-arizona-cohen-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/business/2022/05/20/housing-prices-racial-divide-arizona-cohen-dnt-lead-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_71C232AF-AD61-43D7-0CD5-E346673F6D14″},{“descriptionPlainText”:”Pop superstar Taylor Swift delivered a commencement speech at New York University’s graduation at Yankee Stadium. Hear her advice for the 2022 graduates.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220518154537-taylor-swift-commencement-speech-1-large-169.jpg”,”title”:”Hear Taylor Swift’s message to these 2022 grads”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/18/taylor-swift-nyu-commencement-speech-orig-mss-2.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/18/taylor-swift-nyu-commencement-speech-orig-mss-2.cnn”,”videoId”:”business/2022/05/18/taylor-swift-nyu-commencement-speech-orig-mss-2.cnn”,”videoUrl”:”/videos/business/2022/05/18/taylor-swift-nyu-commencement-speech-orig-mss-2.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B78A8390-CF16-ACB5-36ED-D8BFA70699A6″},{“descriptionPlainText”:”Diesel prices are soaring to record levels and oil tanks are sitting at alarmingly low levels as demand outpaces supply. CNN’s Vanessa Yurkevich speaks with an oil analyst about how consumers may be impacted.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220519085843-oil-tanks-large-169.jpeg”,”title”:”How soaring diesel prices may impact consumers”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/19/diesel-prices-yurkevich-dnt-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/19/diesel-prices-yurkevich-dnt-newday-vpx.cnn”,”videoId”:”business/2022/05/19/diesel-prices-yurkevich-dnt-newday-vpx.cnn”,”videoUrl”:”/videos/business/2022/05/19/diesel-prices-yurkevich-dnt-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_7543AF2C-A7E3-947F-8B7D-DC4FFAD45F29″},{“descriptionPlainText”:”Fox News host Tucker Carlson is trying to distance himself from the document allegedly written by the shooter who killed 10 people in Buffalo, which endorses the “great replacement” theory. The conspiracy idea has been embraced and promoted by the host and far-right extremists.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220517160021-tucker-carlson-large-169.jpg”,”title”:”Watch Fox host react to Buffalo shooting”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/17/tucker-carlson-replacement-theory-buffalo-shooting-orig-ht.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/17/tucker-carlson-replacement-theory-buffalo-shooting-orig-ht.cnn-business”,”videoId”:”business/2022/05/17/tucker-carlson-replacement-theory-buffalo-shooting-orig-ht.cnn-business”,”videoUrl”:”/videos/business/2022/05/17/tucker-carlson-replacement-theory-buffalo-shooting-orig-ht.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_0D41207E-8A9B-66FD-DAD8-D39A7C7193FB”},{“descriptionPlainText”:”Elon Musk says his deal to acquire Twitter is on hold until the social media company proves the accuracy of its user numbers, citing spam bots. CNN’s Brian Stelter reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220513060533-03-elon-musk-file-large-169.jpg”,”title”:”Here’s what Elon Musk may be aiming for as he puts Twitter deal on hold”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/17/elon-musk-twitter-bots-tweet-stelter-sot-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/17/elon-musk-twitter-bots-tweet-stelter-sot-qmb-vpx.cnnbusiness”,”videoId”:”business/2022/05/17/elon-musk-twitter-bots-tweet-stelter-sot-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/05/17/elon-musk-twitter-bots-tweet-stelter-sot-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C9CB37FA-E3A8-1D84-C220-D3ACE88A81C0″},{“descriptionPlainText”:”Ryanair CEO Michael O’Leary used expletives to air his frustration over recent dealings with Boeing to deliver more 737 jets to the airline.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190522161628-ryanair-1-large-169.jpg”,”title”:”Ryanair CEO blasts Boeing in expletive-laden remarks about slow delivery of 737 jets”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/16/ryanair-ceo-boeing-expletives-mc-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/16/ryanair-ceo-boeing-expletives-mc-orig.cnn-business”,”videoId”:”business/2022/05/16/ryanair-ceo-boeing-expletives-mc-orig.cnn-business”,”videoUrl”:”/videos/business/2022/05/16/ryanair-ceo-boeing-expletives-mc-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_369631FA-A6B5-AF3E-59C3-CF13842D420C”},{“descriptionPlainText”:”Joining the string of business exits following the war in Ukraine, French auto company Renault is selling its business in Russia, including a stake in Lada — once a symbol of the Soviet Union’s “economic self-reliance.” McDonald’s also departs Russia after more than 30 years. CNN’s Clare Sebastian reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220516140035-mcdonalds-russia-large-169.jpg”,”title”:”Renault and McDonald’s are leaving Russia. Here’s why it’s significant”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/16/renault-mcdonalds-exit-russia-sebastian-pkg-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/16/renault-mcdonalds-exit-russia-sebastian-pkg-qmb-vpx.cnnbusiness”,”videoId”:”business/2022/05/16/renault-mcdonalds-exit-russia-sebastian-pkg-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/05/16/renault-mcdonalds-exit-russia-sebastian-pkg-qmb-vpx.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A05CEBEE-4424-CD56-7FA4-CE9A6CB59AE5″},{“descriptionPlainText”:”Researchers developed a mask that controls and restricts users’ breath in virtual reality for a more immersive experience. See how this technology works.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220513170134-vr-mask-breath-large-169.jpg”,”title”:”This mask makes breathing in virtual reality more realistic”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/05/13/vr-mask-control-breath-virtual-reality-orig-ht.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2022/05/13/vr-mask-control-breath-virtual-reality-orig-ht.cnn-business”,”videoId”:”business/2022/05/13/vr-mask-control-breath-virtual-reality-orig-ht.cnn-business”,”videoUrl”:”/videos/business/2022/05/13/vr-mask-control-breath-virtual-reality-orig-ht.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6DD7D93B-D33F-C1D9-FEED-BF364F33D27B”}],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/2022/05/27/texas-school-shooting-voicemails-orig-dp-jm-cz.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-g9a2g7’,videoDescriptionDivId: ‘js-video_description-g9a2g7’,videoDurationDivId: ‘js-video_duration-g9a2g7’,videoTitleDivId: ‘js-leaf-video_headline-g9a2g7’,videoSourceDivId: ‘js-video_sourceName-g9a2g7’});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(‘

Loading

Leave a Reply

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

Follow by Email
Pinterest
LinkedIn
Share