Watch moment students sheltered in class during shooting

‘);$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/student-school-shooting-michigan-classroom-video-dlt-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/211130175840-04-oxford-school-shooting-1130-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130175840-04-oxford-school-shooting-1130-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130175840-04-oxford-school-shooting-1130-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130175840-04-oxford-school-shooting-1130-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130175840-04-oxford-school-shooting-1130-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130175840-04-oxford-school-shooting-1130-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211130175840-04-oxford-school-shooting-1130-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”15-year-old freshman Mark Kluska recorded the moment students huddled together and sheltered in their classroom during an active shooter incident at Oxford High School in Michigan. CNN’s Don Lemon explains.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130175840-04-oxford-school-shooting-1130-large-169.jpg”,”title”:”Watch moment students sheltered in class during shooting”,”videoCMSUrl”:”/videos/us/2021/12/01/student-school-shooting-michigan-classroom-video-dlt-vpx.cnn”,”videoLeafUrl”:”/videos/us/2021/12/01/student-school-shooting-michigan-classroom-video-dlt-vpx.cnn”,”videoId”:”us/2021/12/01/student-school-shooting-michigan-classroom-video-dlt-vpx.cnn”,”videoUrl”:”/videos/us/2021/12/01/student-school-shooting-michigan-classroom-video-dlt-vpx.cnn”,”surrogateKey”:”video_BCFF2102-03AD-A96D-3226-73FBACE4C798″},{“descriptionPlainText”:”Former White House chief of staff Mark Meadows has reached a deal to cooperate with the House select committee investigating the January 6 riot.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211115212657-mark-meadows-file-large-169.jpg”,”title”:”Mark Meadows reaches deal with January 6 committee”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/mark-meadows-january-6-committee.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/mark-meadows-january-6-committee.cnn”,”videoId”:”politics/2021/11/30/mark-meadows-january-6-committee.cnn”,”videoUrl”:”/videos/politics/2021/11/30/mark-meadows-january-6-committee.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_DA06D2BC-341D-F059-7B7C-72050D8F8EB6″},{“descriptionPlainText”:”Dr. Angelique Coetzee, one of the first doctors in South Africa treating Omicron patients, joins New Day to discuss the severity and symptoms she is seeing in patients with the latest Covid-19 variant.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130073448-dr-angelique-coetzee-large-169.jpeg”,”title”:”Doctor treating Omicron patients describes what she is seeing”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/11/30/south-african-doctor-omicron-symptoms-severity-coronavirus-sot-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/11/30/south-african-doctor-omicron-symptoms-severity-coronavirus-sot-newday-vpx.cnn”,”videoId”:”health/2021/11/30/south-african-doctor-omicron-symptoms-severity-coronavirus-sot-newday-vpx.cnn”,”videoUrl”:”/videos/health/2021/11/30/south-african-doctor-omicron-symptoms-severity-coronavirus-sot-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_9F92C208-2923-10CE-17B8-70DFC8775337″},{“descriptionPlainText”:”Republican Rep. Lauren Boebert of Colorado suggested to a crowd for a second time in September that Democratic Rep. Ilhan Omar, whom she called “black-hearted” and “evil,” was a terrorist. Video of Boebert making similar comments in November surfaced earlier this week.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130130135-kfile-lauren-boebert-second-video-vpx-large-169.jpg”,”title”:”Boebert calls Omar ‘black-hearted’ and ‘evil’ in new video”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/kfile-boebert-calls-omar-and-talib-black-hearted-evil-women-elevator-story-kaczynski-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/kfile-boebert-calls-omar-and-talib-black-hearted-evil-women-elevator-story-kaczynski-ip-vpx.cnn”,”videoId”:”politics/2021/11/30/kfile-boebert-calls-omar-and-talib-black-hearted-evil-women-elevator-story-kaczynski-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/kfile-boebert-calls-omar-and-talib-black-hearted-evil-women-elevator-story-kaczynski-ip-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_AF8C6018-4AA4-8C0B-6BE1-71AC2E8FE915″},{“descriptionPlainText”:”Rep. Nancy Mace (R-SC) and Rep. Marjorie Taylor Greene (R-GA) got into a heated argument on Twitter after Mace criticized Rep. Lauren Boebert’s (R-CO) offensive remarks about Rep. Ilhan Omar (D-MN)”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130130007-nancy-mace-marjorie-taylor-greene-split-large-169.jpg”,”title”:”GOP lawmaker fires back at Marjorie Taylor Greene”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/marjorie-taylor-greene-nancy-mace-boebert-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/marjorie-taylor-greene-nancy-mace-boebert-ip-vpx.cnn”,”videoId”:”politics/2021/11/30/marjorie-taylor-greene-nancy-mace-boebert-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/marjorie-taylor-greene-nancy-mace-boebert-ip-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_6458CF0A-139B-1E46-9862-71F84CAADE58″},{“descriptionPlainText”:”Defense attorney Shan Wu tells CNN’s Erica Hill why he believes the judges will not favor Trump’s attempt to block the release of his January 6 documents in court.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130123819-shan-wu-large-169.jpg”,”title”:”Defense attorney says Trump’s case will go the Supreme Court”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/trump-january-6-documents-court-reaction-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/trump-january-6-documents-court-reaction-vpx.cnn”,”videoId”:”politics/2021/11/30/trump-january-6-documents-court-reaction-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/trump-january-6-documents-court-reaction-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_B547BF35-2568-7BC8-E776-71E353DC56BD”},{“descriptionPlainText”:”Republican Rep. Lauren Boebert and Democratic Rep. Ilhan Omar spoke on the phone, the two members of Congress confirmed, amid criticism of Boebert’s anti-Muslim remarks aimed at Omar.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211126111614-boebert-omar-split-vpx-large-169.jpg”,”title”:”Rep. Boebert releases response after Rep. Omar hangs up on her”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/lauren-boebert-ilhan-omar-call-islamophobic-comments-nd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/lauren-boebert-ilhan-omar-call-islamophobic-comments-nd-vpx.cnn”,”videoId”:”politics/2021/11/30/lauren-boebert-ilhan-omar-call-islamophobic-comments-nd-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/lauren-boebert-ilhan-omar-call-islamophobic-comments-nd-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_D6414F27-F56D-F2FF-FC60-70D2F7E54E98″},{“descriptionPlainText”:”Author David Cay Johnston says former President Donald Trump’s businesses made $1.7 billion in revenue while he was in office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210527101033-donald-trump-2018-file-large-169.jpg”,”title”:”Trump’s businesses made $1.7B while in office, book says”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/trump-businesses-made-1-7-billion-while-in-office-cay-johnston-book-intv-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/trump-businesses-made-1-7-billion-while-in-office-cay-johnston-book-intv-newday-vpx.cnn”,”videoId”:”politics/2021/11/30/trump-businesses-made-1-7-billion-while-in-office-cay-johnston-book-intv-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/trump-businesses-made-1-7-billion-while-in-office-cay-johnston-book-intv-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_69D49434-A035-8AFA-CB4A-70DF3CE47550″},{“descriptionPlainText”:”Germany is in the middle of dealing with their worst Covid-19 outbreak since the pandemic has began. With a combination of low vaccine rates and the new Omicron variant being detected in the country, healthcare leaders are concerned. CNN’s Fred Pleitgen reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130075811-germny-covid-outbreak-large-169.jpg”,”title”:”Germany is suffering through the worst outbreak since the pandemic began”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/11/30/germany-covid-outbrreaks-omicron-newday-pleitgen-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/11/30/germany-covid-outbrreaks-omicron-newday-pleitgen-vpx.cnn”,”videoId”:”health/2021/11/30/germany-covid-outbrreaks-omicron-newday-pleitgen-vpx.cnn”,”videoUrl”:”/videos/health/2021/11/30/germany-covid-outbrreaks-omicron-newday-pleitgen-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_10D41AE9-1F62-54EE-F0BF-70D735BB3BD3″},{“descriptionPlainText”:”The CIA released a new report which discusses how intelligence officials struggled to brief President Donald Trump before and while he was in office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211124133405-01-trump-0925-large-169.jpg”,”title”:”Ex-CIA officer reacts to new report about Trump’s CIA briefings”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/trump-cia-briefings-transition-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/trump-cia-briefings-transition-newday-vpx.cnn”,”videoId”:”politics/2021/11/30/trump-cia-briefings-transition-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/trump-cia-briefings-transition-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_F41FBF5A-2CD7-A8BD-A572-70DE34EEC52A”},{“descriptionPlainText”:”The singer was honored during a larger ceremony marking Barbados’ new status as a republic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130133436-01-rihanna-national-hero-barbados-113021-large-169.jpg”,”title”:”Watch the moment Barbados made Rihanna a national hero”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/11/30/rihanna-barbados-national-hero-lon-orig-mrg.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/11/30/rihanna-barbados-national-hero-lon-orig-mrg.cnn”,”videoId”:”world/2021/11/30/rihanna-barbados-national-hero-lon-orig-mrg.cnn”,”videoUrl”:”/videos/world/2021/11/30/rihanna-barbados-national-hero-lon-orig-mrg.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_BC5F535B-AA25-5974-84B4-717CA273779F”},{“descriptionPlainText”:”Dr. Anthony Fauci talks with Jake Tapper about the Omicron variant of Covid-19 and working with health officials in South Africa.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211129173540-fauci-interview-112921-large-169.jpg”,”title”:”‘Too early to tell’: Fauci discusses severity of Omicron variant”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/11/29/anthony-fauci-omicron-variant-lead-intv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/11/29/anthony-fauci-omicron-variant-lead-intv-vpx.cnn”,”videoId”:”health/2021/11/29/anthony-fauci-omicron-variant-lead-intv-vpx.cnn”,”videoUrl”:”/videos/health/2021/11/29/anthony-fauci-omicron-variant-lead-intv-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_B7FE02C7-AB8E-E542-78B1-6DDC387A3E7E”},{“descriptionPlainText”:”A 20-year-old student at the University of Nevada Las Vegas died after participating in Kappa Sigma fraternity’s “Fight Night.” Nathan Valencia was hospitalized following his fight and died November 23, just four days shy of his 21st birthday. His family and their lawyers join CNN New Day to discuss what happened to their son.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211128225334-nathan-tyler-valencia-unlv-student-dies-large-169.jpg”,”title”:”Fraternity boxing match leads to student’s death “,”videoCMSUrl”:”/video/data/3.0/video/us/2021/11/29/unlv-student-dies-fraternity-boxing-match-nathan-valencia-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/11/29/unlv-student-dies-fraternity-boxing-match-nathan-valencia-newday-vpx.cnn”,”videoId”:”us/2021/11/29/unlv-student-dies-fraternity-boxing-match-nathan-valencia-newday-vpx.cnn”,”videoUrl”:”/videos/us/2021/11/29/unlv-student-dies-fraternity-boxing-match-nathan-valencia-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_C5E93227-A200-06BF-0B30-6BE43128749C”},{“descriptionPlainText”:”Virgil Abloh, the artistic director of menswear for Louis Vuitton and founder of fashion label Off-White, has died at 41 of a rare form of cancer.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211128144543-virgil-abloh-met-gala-2021-large-169.jpg”,”title”:”Virgil Abloh, menswear designer for Louis Vuitton, dies of cancer”,”videoCMSUrl”:”/video/data/3.0/video/style/2021/11/28/virgil-abloh-dies-cancer-louis-vuitton-off-white-lvmh-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/style/2021/11/28/virgil-abloh-dies-cancer-louis-vuitton-off-white-lvmh-orig-jk.cnn”,”videoId”:”style/2021/11/28/virgil-abloh-dies-cancer-louis-vuitton-off-white-lvmh-orig-jk.cnn”,”videoUrl”:”/videos/style/2021/11/28/virgil-abloh-dies-cancer-louis-vuitton-off-white-lvmh-orig-jk.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_B362FDE3-D42A-9525-083D-689B6BEFC827″},{“descriptionPlainText”:”Dr. Francis Collins cautions that people should continue to take every measure they can to prevent the spread of Covid-19 as the world grapples with the emergence of the Omicron variant.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211128094956-dr-francis-collins-omicron-covid-19-pandemic-sot-sotu-vpx-00000101-large-169.jpg”,”title”:”Dr. Francis Collins on pandemic fatigue: The virus is not tired of us”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/11/28/dr-francis-collins-omicron-covid-19-pandemic-sot-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/11/28/dr-francis-collins-omicron-covid-19-pandemic-sot-sotu-vpx.cnn”,”videoId”:”health/2021/11/28/dr-francis-collins-omicron-covid-19-pandemic-sot-sotu-vpx.cnn”,”videoUrl”:”/videos/health/2021/11/28/dr-francis-collins-omicron-covid-19-pandemic-sot-sotu-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_C4795817-2860-9FE0-508F-66FF07826274″},{“descriptionPlainText”:”Dr. Peter Hotez discusses the Omicron variant and when we’ll know if vaccines are effective against it.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211127163640-peter-hotez-11-27-2021-large-169.jpg”,”title”:”Expert explains how we’ll know if vaccines work against Omicron variant”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/11/27/omicron-variant-peter-hotez-vaccines-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/11/27/omicron-variant-peter-hotez-vaccines-vpx.cnn”,”videoId”:”health/2021/11/27/omicron-variant-peter-hotez-vaccines-vpx.cnn”,”videoUrl”:”/videos/health/2021/11/27/omicron-variant-peter-hotez-vaccines-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_441770AB-66E2-AE7B-7B2C-6351FB9E5413″},{“descriptionPlainText”:”Rep. Adam Schiff (D-CA) says he wonders why the Department of Justice and Attorney General Merrick Garland haven’t pursued an investigation into former President Donald Trump’s effort to overturn the 2020 election results in a key state.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211128102350-adam-schiff-dana-bash-split-for-video-large-169.jpg”,”title”:”Bash to Schiff: Is Merrick Garland letting Trump off the hook?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/28/adam-schiff-trump-merrick-garland-department-of-justice-sotu-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/28/adam-schiff-trump-merrick-garland-department-of-justice-sotu-sot-vpx.cnn”,”videoId”:”politics/2021/11/28/adam-schiff-trump-merrick-garland-department-of-justice-sotu-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/28/adam-schiff-trump-merrick-garland-department-of-justice-sotu-sot-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_C6E25C2F-75EA-3C97-D9D7-670A3DAD0FDB”}],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/student-school-shooting-michigan-classroom-video-dlt-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-daddf7’,videoDescriptionDivId: ‘js-video_description-daddf7’,videoDurationDivId: ‘js-video_duration-daddf7’,videoTitleDivId: ‘js-leaf-video_headline-daddf7’,videoSourceDivId: ‘js-video_sourceName-daddf7’});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