Grads lose it when official makes this surprise announcement

‘);$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/06/02/student-debt-forgiven-wilberforce-university-moos-pkg-vpx.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_us_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210602194756-wilberforce-university-student-debt-forgiven-moos-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210602194756-wilberforce-university-student-debt-forgiven-moos-vpx-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210602194756-wilberforce-university-student-debt-forgiven-moos-vpx-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210602194756-wilberforce-university-student-debt-forgiven-moos-vpx-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210602194756-wilberforce-university-student-debt-forgiven-moos-vpx-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210602194756-wilberforce-university-student-debt-forgiven-moos-vpx-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210602194756-wilberforce-university-student-debt-forgiven-moos-vpx-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Debt? What debt? Graduates celebrated when Wilberforce University announced that student loans are forgiven. CNN’s Jeanne Moos reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210602194756-wilberforce-university-student-debt-forgiven-moos-vpx-large-169.jpg”,”title”:”Grads celebrate as university president announces their debt forgiven”,”videoCMSUrl”:”/videos/us/2021/06/02/student-debt-forgiven-wilberforce-university-moos-pkg-vpx.cnn”,”videoLeafUrl”:”/videos/us/2021/06/02/student-debt-forgiven-wilberforce-university-moos-pkg-vpx.cnn”,”videoId”:”us/2021/06/02/student-debt-forgiven-wilberforce-university-moos-pkg-vpx.cnn”,”videoUrl”:”/videos/us/2021/06/02/student-debt-forgiven-wilberforce-university-moos-pkg-vpx.cnn”,”surrogateKey”:”video_8861AB4A-1EA3-3D66-2938-CF04DF09CC5A”},{“descriptionPlainText”:”Actress Rebel Wilson took to Instagram to show off her weight loss while posing in a bathing suit.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210601102758-rebel-wilson-bathing-suit-large-169.jpeg”,”title”:”Rebel Wilson shows off new look in bathing suit”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/06/01/rebel-wilson-weight-loss-bathing-suit-photo-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/06/01/rebel-wilson-weight-loss-bathing-suit-photo-mxp-vpx.hln”,”videoId”:”entertainment/2021/06/01/rebel-wilson-weight-loss-bathing-suit-photo-mxp-vpx.hln”,”videoUrl”:”/videos/entertainment/2021/06/01/rebel-wilson-weight-loss-bathing-suit-photo-mxp-vpx.hln/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_70C22717-AA0D-3A60-CEBD-C801826C7C6E”},{“descriptionPlainText”:”Actress Amy Schumer’s husband got her a birthday cake with a surprising message on it.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210601103113-amy-schumer-birthday-1-large-169.jpg”,”title”:”See Amy Schumer react to birthday trolling”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/06/01/amy-schumer-birthday-cake-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/06/01/amy-schumer-birthday-cake-mxp-vpx.hln”,”videoId”:”entertainment/2021/06/01/amy-schumer-birthday-cake-mxp-vpx.hln”,”videoUrl”:”/videos/entertainment/2021/06/01/amy-schumer-birthday-cake-mxp-vpx.hln/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_B48A4A62-9F9E-CE7A-39AE-C8022DBB1A12″},{“descriptionPlainText”:”Ed Sheeran and Courteney Cox took to Instagram to recreate Cox’s famous dance routine from an episode of ‘Friends.'”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210531071221-courtney-cox-ed-sheeran-friends-dance-routine-mxp-vpx-00000930-large-169.jpg”,”title”:”Ed Sheeran and Courteney Cox recreate famous ‘Friends’ dance routine”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/05/31/courteney-cox-ed-sheeran-friends-dance-routine-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/05/31/courteney-cox-ed-sheeran-friends-dance-routine-mxp-vpx.hln”,”videoId”:”entertainment/2021/05/31/courteney-cox-ed-sheeran-friends-dance-routine-mxp-vpx.hln”,”videoUrl”:”/videos/entertainment/2021/05/31/courteney-cox-ed-sheeran-friends-dance-routine-mxp-vpx.hln/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_D9F670EF-9C0B-6891-A398-C26C5D293CF7″},{“descriptionPlainText”:”CNN’s Brianna Keilar tries cicadas on New Day while speaking with Chef Bun Lai who features them on his menu.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210531080715-keilar-cicadas-2-large-169.jpg”,”title”:”‘Do I have a wing hanging out of my mouth?’: Watch Keilar sample cicadas”,”videoCMSUrl”:”/video/data/3.0/video/business-food/2021/05/31/brianna-keilar-eats-cicadas-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business-food/2021/05/31/brianna-keilar-eats-cicadas-newday-vpx.cnn”,”videoId”:”business-food/2021/05/31/brianna-keilar-eats-cicadas-newday-vpx.cnn”,”videoUrl”:”/videos/business-food/2021/05/31/brianna-keilar-eats-cicadas-newday-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_E7997649-6D44-E19D-28FB-C26BD0FDF040″},{“descriptionPlainText”:”Gavin MacLeod, known for his roles on “The Mary Tyler Moore Show” and “The Love Boat,” has died, his nephew Mark See told Variety. CNN’s Pamela Brown spoke with actor Ed Asner about his memories from their time on “The Mary Tyler Moore Show.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210529191838-gavin-macleod-memories-ed-asner-mary-tyler-moore-show-bpr-nr-vpx-00014716-large-169.jpeg”,”title”:”‘Mary Tyler Moore Show’ co-star remembers Gavin MacLeod”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/05/29/gavin-macleod-memories-ed-asner-mary-tyler-moore-show-bpr-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/05/29/gavin-macleod-memories-ed-asner-mary-tyler-moore-show-bpr-nr-vpx.cnn”,”videoId”:”entertainment/2021/05/29/gavin-macleod-memories-ed-asner-mary-tyler-moore-show-bpr-nr-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/05/29/gavin-macleod-memories-ed-asner-mary-tyler-moore-show-bpr-nr-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_D9F4BD20-BA8A-9B84-2A29-BA611CB9D4B6″},{“descriptionPlainText”:”Quincy College’s commencement speaker Robert Hale earned a standing ovation when he announced that the school’s 2021 graduates were receiving $1,000 dollars each — half to keep and half to donate.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210523192958-robert-hale-commencement-gift-wcvb-large-169.jpg”,”title”:”Commencement speaker shocks graduates with gift “,”videoCMSUrl”:”/video/data/3.0/video/us/2021/05/23/commencement-speaker-surprises-graduates-pkg-vpx.wcvb/index.xml”,”videoLeafUrl”:”/videos/us/2021/05/23/commencement-speaker-surprises-graduates-pkg-vpx.wcvb”,”videoId”:”us/2021/05/23/commencement-speaker-surprises-graduates-pkg-vpx.wcvb”,”videoUrl”:”/videos/us/2021/05/23/commencement-speaker-surprises-graduates-pkg-vpx.wcvb/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_F0AE5C09-9F5A-F300-62CC-9B67B6FA58F0″},{“descriptionPlainText”:”A turtle found in 2019, has been identified as a species considered to be extinct for a century, announced the Galapagos National Park.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190221120447-galapagos-giant-tortoise-large-169.jpg”,”title”:”Giant tortoise, thought extinct for 100 years, has been identified again”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/02/21/galapagos-giant-turtle-discovered-ge-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/02/21/galapagos-giant-turtle-discovered-ge-lon-orig.cnn”,”videoId”:”travel/2019/02/21/galapagos-giant-turtle-discovered-ge-lon-orig.cnn”,”videoUrl”:”/videos/travel/2019/02/21/galapagos-giant-turtle-discovered-ge-lon-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_08FA97BE-E5D8-1C07-7757-111C14FC6CB5″},{“descriptionPlainText”:”Maggie Wheeler, who played Janice, Chandler Bing’s one-time girlfriend on “Friends,” reflects on the reunion special now streaming on HBO Max.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210527164003-friends-reunion-janice-maggie-wheeler-split-large-169.jpg”,”title”:”Iconic ‘Friends’ character crashes cast reunion”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/27/friends-reunion-janice-maggie-wheeler-intvu-nr-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/27/friends-reunion-janice-maggie-wheeler-intvu-nr-sot-vpx.cnn”,”videoId”:”media/2021/05/27/friends-reunion-janice-maggie-wheeler-intvu-nr-sot-vpx.cnn”,”videoUrl”:”/videos/media/2021/05/27/friends-reunion-janice-maggie-wheeler-intvu-nr-sot-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_6A08A761-3F71-0124-DDE7-AF83C54CCB25″},{“descriptionPlainText”:”Elliot Page has shared a photo of a milestone moment since revealing details of his “life changing” surgery. The “Juno” and “X-Men: Days of Future Past” star announced in December that he is transgender and shared with fans that he/ they were the actor’s preferred pronouns.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210525061144-elliot-page-swim-trunks-large-169.jpg”,”title”:”Elliot Page shares ‘first swim trunks’ photo on Instagram”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/05/25/elliot-page-instagram-swim-trunks-sot-mxp-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/05/25/elliot-page-instagram-swim-trunks-sot-mxp-vpx.cnn”,”videoId”:”us/2021/05/25/elliot-page-instagram-swim-trunks-sot-mxp-vpx.cnn”,”videoUrl”:”/videos/us/2021/05/25/elliot-page-instagram-swim-trunks-sot-mxp-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_73690362-2CE0-A635-4063-A3BC55D55522″},{“descriptionPlainText”:”Iceland’s Fagradalsfjall volcano erupted for the first time in 700 years this March. Months after it exploded onto the scene, this volcano still hasn’t stopped its mesmerizing lava show.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210527123416-iceland-volcano-orig-thumb-large-169.jpg”,”title”:”Stunning video captures Fagradalsfjall volcano bursting with lava”,”videoCMSUrl”:”/video/data/3.0/video/travel/2021/05/27/iceland-volcano-fagradalsfjall-erupting-lava-orig-kj.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2021/05/27/iceland-volcano-fagradalsfjall-erupting-lava-orig-kj.cnn”,”videoId”:”travel/2021/05/27/iceland-volcano-fagradalsfjall-erupting-lava-orig-kj.cnn”,”videoUrl”:”/videos/travel/2021/05/27/iceland-volcano-fagradalsfjall-erupting-lava-orig-kj.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_5ADEB5EE-21B1-0C49-19AD-AEAB9CA78059″},{“descriptionPlainText”:”Pink received the Billboard Icon Award and Drake received the Artist of the Decade at the awards ceremony honoring the most popular names in music today.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210524012643-drake-pink-billboard-awards-2021-large-169.jpg”,”title”:”See the highlights from the 2021 Billboard Music Awards”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/05/24/billboard-music-awards-2021-pink-drake-eg-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/05/24/billboard-music-awards-2021-pink-drake-eg-orig.cnn”,”videoId”:”entertainment/2021/05/24/billboard-music-awards-2021-pink-drake-eg-orig.cnn”,”videoUrl”:”/videos/entertainment/2021/05/24/billboard-music-awards-2021-pink-drake-eg-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_A7906FD8-E82C-D4EA-E0AA-9CC7F1888D52″},{“descriptionPlainText”:”Actress Anya Taylor-Joy hosted the season finale and celebrated Pride with sketches and live performances featuring Lil Nas X.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210523152851-lil-nas-x-snl-pride-large-169.jpg”,”title”:”Lil Nas X celebrates Pride on ‘SNL’ finale”,”videoCMSUrl”:”/video/data/3.0/video/business-videos/2021/05/23/lil-nas-x-snl-pride.cnn/index.xml”,”videoLeafUrl”:”/videos/business-videos/2021/05/23/lil-nas-x-snl-pride.cnn”,”videoId”:”business-videos/2021/05/23/lil-nas-x-snl-pride.cnn”,”videoUrl”:”/videos/business-videos/2021/05/23/lil-nas-x-snl-pride.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_80AC2281-163E-B472-F876-9AAC613B388D”},{“descriptionPlainText”:””Saturday Night Live” ended the season with a look back at just how crazy it is doing a show during a pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210523031931-snl-cold-open-season-finale-large-169.jpg”,”title”:”‘SNL’ season finale spoofs ‘crazy’ aspects of filming during pandemic”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/23/snl-season-finale-cold-open-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/23/snl-season-finale-cold-open-orig.cnn”,”videoId”:”media/2021/05/23/snl-season-finale-cold-open-orig.cnn”,”videoUrl”:”/videos/media/2021/05/23/snl-season-finale-cold-open-orig.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_86DFA106-E855-47CE-2BD4-98111D8B1D6F”},{“descriptionPlainText”:”Maryland candy company Chouquette Chocolates is selling chocolate-covered cicadas to celebrate the emergence of the noisy insects that have spent the last 17 years underground.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210522190720-chocolate-cicada-brood-x-maryland-candy-company-nr-vpx-00001330-large-169.jpg”,”title”:”Candy company now selling chocolate-covered cicadas”,”videoCMSUrl”:”/video/data/3.0/video/foodanddrink/2021/05/22/chocolate-cicada-brood-x-maryland-candy-company-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/foodanddrink/2021/05/22/chocolate-cicada-brood-x-maryland-candy-company-nr-vpx.cnn”,”videoId”:”foodanddrink/2021/05/22/chocolate-cicada-brood-x-maryland-candy-company-nr-vpx.cnn”,”videoUrl”:”/videos/foodanddrink/2021/05/22/chocolate-cicada-brood-x-maryland-candy-company-nr-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_7287E45C-135A-2FD7-5FE0-9644845E762C”},{“descriptionPlainText”:”The most-viewed viral video on YouTube will be taken down off the platform and will be auctioned off as an NFT.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210521160832-charlie-bit-my-finger-large-169.jpeg”,”title”:”Viral ‘Charlie bit my finger’ video to be taken down. Here’s why”,”videoCMSUrl”:”/video/data/3.0/video/tech/2021/05/21/charlie-bit-finger-youtube-nft-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/tech/2021/05/21/charlie-bit-finger-youtube-nft-vpx.cnn”,”videoId”:”tech/2021/05/21/charlie-bit-finger-youtube-nft-vpx.cnn”,”videoUrl”:”/videos/tech/2021/05/21/charlie-bit-finger-youtube-nft-vpx.cnn/video/playlists/atv-trending-videos/”,”surrogateKey”:”video_030EA1F9-194F-8B1B-6FE5-907C70009393″}],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/06/02/student-debt-forgiven-wilberforce-university-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-267cdso’,videoDescriptionDivId: ‘js-video_description-267cdso’,videoDurationDivId: ‘js-video_duration-267cdso’,videoTitleDivId: ‘js-leaf-video_headline-267cdso’,videoSourceDivId: ‘js-video_sourceName-267cdso’});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