Writer on the unusual part about writing jokes for Betty White

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘entertainment/2021/12/31/golden-girls-writer-remembers-betty-white-nr-intv-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/150911162325-golden-girls-cast-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/150911162325-golden-girls-cast-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/150911162325-golden-girls-cast-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/150911162325-golden-girls-cast-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/150911162325-golden-girls-cast-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/150911162325-golden-girls-cast-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/150911162325-golden-girls-cast-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Former “Golden Girls” writer Stan Zimmerman says watching Betty White perform jokes was “like watching a great sports figure or baseball player hit it out of the park every time” CNN’s Ryan Nobles has the interview.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150911162325-golden-girls-cast-large-169.jpg”,”title”:”‘Golden Girls’ writer shares the unusual part about writing jokes for Betty White”,”videoCMSUrl”:”/videos/entertainment/2021/12/31/golden-girls-writer-remembers-betty-white-nr-intv-vpx.cnn”,”videoLeafUrl”:”/videos/entertainment/2021/12/31/golden-girls-writer-remembers-betty-white-nr-intv-vpx.cnn”,”videoId”:”entertainment/2021/12/31/golden-girls-writer-remembers-betty-white-nr-intv-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/12/31/golden-girls-writer-remembers-betty-white-nr-intv-vpx.cnn”,”surrogateKey”:”video_7059D996-6716-3EE1-1F4F-1268A8869930″},{“descriptionPlainText”:”Both the House of Representatives and the Biden administration asked the Supreme Court to deny former President Donald Trump’s attempt to keep secret more than 700 pages of records that pertain to January 6.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211223120901-donald-trump-file-071121-large-169.jpg”,”title”:”Stakes are ‘enormous’: Legal analyst on dispute over Trump’s Jan. 6 records”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/12/31/trump-supreme-court-documents-honig-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/12/31/trump-supreme-court-documents-honig-sot-vpx.cnn”,”videoId”:”politics/2021/12/31/trump-supreme-court-documents-honig-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/12/31/trump-supreme-court-documents-honig-sot-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_2BF67918-A929-D70E-A405-0DFB6534E684″},{“descriptionPlainText”:”In a recently published New York Times op-ed piece, Dr. Daniela Lamas warned of “compassion fatigue” amongst hospital healthcare workers toward unvaccinated patients.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211206180123-02-covid-flu-sepkowitz-101421-large-169.jpg”,”title”:”ICU doctor warns of ‘compassion fatigue’ toward unvaccinated patients”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/12/30/dr-daniela-lamas-omicron-compassion-fatigue-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/12/30/dr-daniela-lamas-omicron-compassion-fatigue-nr-vpx.cnn”,”videoId”:”health/2021/12/30/dr-daniela-lamas-omicron-compassion-fatigue-nr-vpx.cnn”,”videoUrl”:”/videos/health/2021/12/30/dr-daniela-lamas-omicron-compassion-fatigue-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_6F4A440E-4EB2-28F3-4D3D-0CD0AB72C8C6″},{“descriptionPlainText”:”Juliette Kayyem, Havard professor and National Security Analyst, joins New Day to discuss the first anniversary of the January 6 attack on the US Capitol and former President Donald Trump’s role in it.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211230075300-juliette-kayyem-1230-large-169.jpg”,”title”:”Calling Trump a terror movement leader is ‘too kind’, says analyst”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/12/30/january-6-donald-trump-terror-movement-kayyem-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/12/30/january-6-donald-trump-terror-movement-kayyem-newday-vpx.cnn”,”videoId”:”politics/2021/12/30/january-6-donald-trump-terror-movement-kayyem-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/12/30/january-6-donald-trump-terror-movement-kayyem-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_53189197-1EAE-9F4C-342C-0B56E84AEAC7″},{“descriptionPlainText”:”The US Medical Glove Company, or USMGC, aims to reduce US reliance on imports of medical gloves from the Far East, especially China and Thailand, while creating American jobs that pay well beyond the minimum wage. CNN’s Scott McLean has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211223121845-10-chicago-ppe-factory-large-169.jpg”,”title”:”CNN goes inside medical supply factory boosting US PPE production”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/12/30/medical-gloves-ppe-production-chicago-factory-scott-mclean-dnt-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/12/30/medical-gloves-ppe-production-chicago-factory-scott-mclean-dnt-nr-vpx.cnn”,”videoId”:”us/2021/12/30/medical-gloves-ppe-production-chicago-factory-scott-mclean-dnt-nr-vpx.cnn”,”videoUrl”:”/videos/us/2021/12/30/medical-gloves-ppe-production-chicago-factory-scott-mclean-dnt-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_E14FEE21-347D-AFE8-28DD-0CDC81850EDC”},{“descriptionPlainText”:”Sara Nelson, the president of the Association of Flight Attendants, joins CNN’s Kaitlan Collins on New Day to discuss the new CDC guidelines and the measures Delta Airlines has taken for their flight attendants.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211228093739-sara-nelson-large-169.jpg”,”title”:”‘Not an ounce of public safety’: Flight attendant union president calls out Delta Airlines “,”videoCMSUrl”:”/video/data/3.0/video/health/2021/12/28/covid-president-of-flight-attendant-agency-reacts-shortened-isolation-collins-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/12/28/covid-president-of-flight-attendant-agency-reacts-shortened-isolation-collins-newday-vpx.cnn”,”videoId”:”health/2021/12/28/covid-president-of-flight-attendant-agency-reacts-shortened-isolation-collins-newday-vpx.cnn”,”videoUrl”:”/videos/health/2021/12/28/covid-president-of-flight-attendant-agency-reacts-shortened-isolation-collins-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_0593BB19-215B-0354-5CD0-016DD7F411EC”},{“descriptionPlainText”:”Several winter storms have dumped a record amount of snow in the Sierra this December, likely helping to improve the dire drought situation in California.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211228104905-california-snow-record-sierra-drought-00011008-large-169.png”,”title”:”Heavy snowfall in California sets record”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/12/28/california-snow-record-sierra-drought.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/12/28/california-snow-record-sierra-drought.cnn”,”videoId”:”weather/2021/12/28/california-snow-record-sierra-drought.cnn”,”videoUrl”:”/videos/weather/2021/12/28/california-snow-record-sierra-drought.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_87872D1A-23B3-4E2D-3FB7-01A8F5275FE0″},{“descriptionPlainText”:”Brown University’s Associate Dean of Public Health Dr. Megan Ranney voices her concerns over the CDC’s new guidance which recommends five days of isolating instead of 10 for people who have tested positive for Covid-19 but are asymptomatic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211228095007-dr-megan-ranney-12-28-2021-large-169.jpg”,”title”:”‘I’m quite worried’: Doctor reacts to new CDC guidance”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/12/28/dr-megan-ranney-cdc-covid-19-guidance-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/12/28/dr-megan-ranney-cdc-covid-19-guidance-nr-vpx.cnn”,”videoId”:”health/2021/12/28/dr-megan-ranney-cdc-covid-19-guidance-nr-vpx.cnn”,”videoUrl”:”/videos/health/2021/12/28/dr-megan-ranney-cdc-covid-19-guidance-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_39C4303F-C759-2A7C-2A0D-0192DE51F3F6″},{“descriptionPlainText”:”As the CDC shortens the isolation period to five days for asymptomatic cases of Covid-19, President Biden says there was not enough done to expand testing across the country. CNN’s Leyla Santiago reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211223152918-coronavirus-testing-1223-large-169.jpg”,”title”:”President Biden addresses expansion of Covid testing”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/12/28/coronavirus-omicron-cdc-testing-biden-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/12/28/coronavirus-omicron-cdc-testing-biden-newday-vpx.cnn”,”videoId”:”us/2021/12/28/coronavirus-omicron-cdc-testing-biden-newday-vpx.cnn”,”videoUrl”:”/videos/us/2021/12/28/coronavirus-omicron-cdc-testing-biden-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_16B8DC29-502A-7996-3922-00D949E58AEF”},{“descriptionPlainText”:”A woman onboard a Delta flight from Tampa to Atlanta was caught on video getting in a physical altercation with another passenger. CNN’s Ryan Young has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211228045623-delta-flight-unruly-passenger-punches-large-169.jpeg”,”title”:”Video shows physical altercation on flight”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/12/28/delta-passenger-federal-charges-for-punching-man-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/12/28/delta-passenger-federal-charges-for-punching-man-newday-vpx.cnn”,”videoId”:”us/2021/12/28/delta-passenger-federal-charges-for-punching-man-newday-vpx.cnn”,”videoUrl”:”/videos/us/2021/12/28/delta-passenger-federal-charges-for-punching-man-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_46C4FF8C-25A7-1B6F-5484-010240DE3287″},{“descriptionPlainText”:”Russia’s Supreme Court ordered the closure of Memorial International, a prominent human rights organization, in the latest blow to the country’s shrinking civil society. CNN’s Melissa Bell reports from Moscow.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211228102110-russia-court-shuts-down-memorial-international-bell-pkg-intl-ldn-vpx-00001411-large-169.png”,”title”:”Hear from Gulag victim’s descendant as Russia shuts down Memorial International”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/12/28/russia-court-shuts-down-memorial-international-bell-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/12/28/russia-court-shuts-down-memorial-international-bell-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/12/28/russia-court-shuts-down-memorial-international-bell-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/12/28/russia-court-shuts-down-memorial-international-bell-pkg-intl-ldn-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_195B6DD3-84D9-25BE-BCF5-00BEB389125D”},{“descriptionPlainText”:”Arieh Kovler, an extremism analyst, predicted the January 6 insurrection in a series of tweets two weeks before the riot.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211228064740-arieh-kovler-january-6-large-169.jpeg”,”title”:”Analyst’s tweets two weeks before Jan. 6 riot go viral”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/12/28/analyst-predicts-january-6-insurrection-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/12/28/analyst-predicts-january-6-insurrection-ac360-vpx.cnn”,”videoId”:”politics/2021/12/28/analyst-predicts-january-6-insurrection-ac360-vpx.cnn”,”videoUrl”:”/videos/politics/2021/12/28/analyst-predicts-january-6-insurrection-ac360-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_98034369-1933-E533-CAE4-00D6CC1C2DB8″},{“descriptionPlainText”:”A father who told President Biden “let’s go Brandon,” which is a right-wing code meaning “f**k Joe Biden,” on a Christmas eve phone call also spread lies about the 2020 election on Steve Bannon’s podcast.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211228075209-father-biden-christmas-lets-go-brandon-large-169.jpg”,”title”:”Father’s exchange with Biden worries Congressman”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/12/28/lets-go-brandon-father-biden-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/12/28/lets-go-brandon-father-biden-tsr-vpx.cnn”,”videoId”:”politics/2021/12/28/lets-go-brandon-father-biden-tsr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/12/28/lets-go-brandon-father-biden-tsr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_6FC1E9BF-F5CF-F5C3-52CF-0111B7E9AF59″},{“descriptionPlainText”:”Acclaimed film director Jean-Marc Vallée — who helmed the 2013 drama “Dallas Buyers Club” — died near Quebec City, Canada, his production company’s publicist told CNN. He was 58 years old.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211227014331-jean-marc-vallee-file-09222019-large-169.jpg”,”title”:”Acclaimed film director Jean-Marc Vallée dies at age 58″,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/12/27/director-jean-marc-vallee-dies-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/12/27/director-jean-marc-vallee-dies-mxp-vpx.hln”,”videoId”:”entertainment/2021/12/27/director-jean-marc-vallee-dies-mxp-vpx.hln”,”videoUrl”:”/videos/entertainment/2021/12/27/director-jean-marc-vallee-dies-mxp-vpx.hln/video/playlists/top-news-videos/”,”surrogateKey”:”video_2A8E92BC-1384-9154-DB33-FD1D5A2921F4″},{“descriptionPlainText”:”Dr. Anthony Fauci predicts that things are going to change substantially in January for Americans looking to get access to Covid-19 tests amid a winter surge of cases nationwide. Fauci told CNN’s Kaitlan Collins the struggle to find Covid tests was triggered by the high demand brought on by Americans planning to travel during the holiday season.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211227083954-dr-anthony-fauci-large-169.jpeg”,”title”:”Fauci describes Covid testing as ‘problematic'”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/12/27/dr-anthony-fauci-covid-19-testing-newday-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/12/27/dr-anthony-fauci-covid-19-testing-newday-sot-vpx.cnn”,”videoId”:”health/2021/12/27/dr-anthony-fauci-covid-19-testing-newday-sot-vpx.cnn”,”videoUrl”:”/videos/health/2021/12/27/dr-anthony-fauci-covid-19-testing-newday-sot-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_84D6DEC2-D82C-1C34-D5B1-FC146E119113″},{“descriptionPlainText”:”The Omicron surge and Covid-19 have frayed nerves and pushed the physical and mental limit of medical professionals across the country. CNN’s Ed Lavandera reports on the toll it’s taking as many hospitals near capacity.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211223204623-medical-staff-lavandera-pkg-large-169.jpg”,”title”:”Doctor describes getting death threats from families of Covid patients”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/12/24/covid-medical-staff-treatment-lavandera-pkg-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/12/24/covid-medical-staff-treatment-lavandera-pkg-ac360-vpx.cnn”,”videoId”:”health/2021/12/24/covid-medical-staff-treatment-lavandera-pkg-ac360-vpx.cnn”,”videoUrl”:”/videos/health/2021/12/24/covid-medical-staff-treatment-lavandera-pkg-ac360-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_50DC4C05-8C9D-A1EB-69C3-EA13AE265209″}],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:”entertainment/2021/12/31/golden-girls-writer-remembers-betty-white-nr-intv-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-d96gkl’,videoDescriptionDivId: ‘js-video_description-d96gkl’,videoDurationDivId: ‘js-video_duration-d96gkl’,videoTitleDivId: ‘js-leaf-video_headline-d96gkl’,videoSourceDivId: ‘js-video_sourceName-d96gkl’});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