Bill Gates says the FDA lost credibility during pandemic

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘us/2020/09/15/bill-gates-fda-credibility-coronavirus-sot-lead-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/200915164430-bill-gates-bloomberg-fda-09152020-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915164430-bill-gates-bloomberg-fda-09152020-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915164430-bill-gates-bloomberg-fda-09152020-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915164430-bill-gates-bloomberg-fda-09152020-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915164430-bill-gates-bloomberg-fda-09152020-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915164430-bill-gates-bloomberg-fda-09152020-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200915164430-bill-gates-bloomberg-fda-09152020-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Microsoft founder Bill Gates says the Food and Drug Administration lost credibility following their handling of the coronavirus pandemic. CNN’s Dr. Sanjay Gupta weighs in.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200915164430-bill-gates-bloomberg-fda-09152020-large-169.jpg”,”title”:”Bill Gates says the FDA lost credibility during pandemic”,”videoCMSUrl”:”/videos/us/2020/09/15/bill-gates-fda-credibility-coronavirus-sot-lead-vpx.cnn”,”videoLeafUrl”:”/videos/us/2020/09/15/bill-gates-fda-credibility-coronavirus-sot-lead-vpx.cnn”,”videoId”:”us/2020/09/15/bill-gates-fda-credibility-coronavirus-sot-lead-vpx.cnn”,”videoUrl”:”/videos/us/2020/09/15/bill-gates-fda-credibility-coronavirus-sot-lead-vpx.cnn”,”surrogateKey”:”video_FF4B6B17-5DE3-B1CC-A1AE-937EAA80A511″},{“descriptionPlainText”:”Eli Lipman, a 9-year-old with “long-haul” Covid-19, tells CNN’s Chris Cuomo about his experience with coronavirus and warns other kids about the dangers of ongoing symptoms.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200914220940-eli-lipman-covid-19-longhaul-cpt-large-169.jpg”,”title”:”Child with ‘long-haul’ Covid-19 shares message for kids”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/09/15/eli-lipman-child-longhaul-covid-19-sot-cpt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/09/15/eli-lipman-child-longhaul-covid-19-sot-cpt-vpx.cnn”,”videoId”:”us/2020/09/15/eli-lipman-child-longhaul-covid-19-sot-cpt-vpx.cnn”,”videoUrl”:”/videos/us/2020/09/15/eli-lipman-child-longhaul-covid-19-sot-cpt-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_BC059A97-5939-9B96-59FB-8F8264F593CA”},{“descriptionPlainText”:”As some classrooms reopen in Florida, coronavirus cases have increased among school age children. CNN’s Rosa Flores reports Florida Governor Ron Desantis hasn’t released Covid-19 data on schools since the return to in-person classes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200914171109-florida-schools-flores-dnt-screengrab-vpx-large-169.jpg”,”title”:”Florida Covid-19 cases increase in children as schools reopen”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/09/14/florida-schools-coronavirus-cases-flores-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/09/14/florida-schools-coronavirus-cases-flores-dnt-lead-vpx.cnn”,”videoId”:”us/2020/09/14/florida-schools-coronavirus-cases-flores-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/us/2020/09/14/florida-schools-coronavirus-cases-flores-dnt-lead-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_7069AC89-DD75-BB64-D264-8E229D441D70″},{“descriptionPlainText”:”The world’s largest vaccine maker, Serum Institute, says it may take until 2024 to get everyone a Covid-19 vaccine if the vaccine requires two doses. CNN’s Athena Jones reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200903034347-02-us-coronavirus-thursday-0807-large-169.jpg”,”title”:”Vaccine maker warns it could take until 2024 to vaccinate everyone”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/09/14/coronavirus-vaccine-availability-2024-jones-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/09/14/coronavirus-vaccine-availability-2024-jones-dnt-lead-vpx.cnn”,”videoId”:”health/2020/09/14/coronavirus-vaccine-availability-2024-jones-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/health/2020/09/14/coronavirus-vaccine-availability-2024-jones-dnt-lead-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_6E03ECF7-E5A3-5DA9-F71D-8E4E88D716E0″},{“descriptionPlainText”:”CNN Chief Medical Correspondent Dr. Sanjay Gupta sat down with Operation Warp Speed chief adviser Dr. Moncef Slaoui and asked him about the timeline for the coronavirus vaccine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200911135814-dr-gupta-dr-slaoui-09112020-large-169.jpg”,”title”:”Dr. Gupta to administration adviser: Why rush a vaccine?”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/09/11/dr-slaoui-operation-warp-speed-coronavirus-vaccine-gupta-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/09/11/dr-slaoui-operation-warp-speed-coronavirus-vaccine-gupta-nr-vpx.cnn”,”videoId”:”health/2020/09/11/dr-slaoui-operation-warp-speed-coronavirus-vaccine-gupta-nr-vpx.cnn”,”videoUrl”:”/videos/health/2020/09/11/dr-slaoui-operation-warp-speed-coronavirus-vaccine-gupta-nr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_4E697BA5-5218-01E6-9AA2-7E45445A4485″},{“descriptionPlainText”:”Dawn Baker, the first person in the US to receive a shot in the Moderna Phase 3 Covid-19 vaccine trial, speaks to CNN’s Poppy Harlow about her decision to volunteer and discusses the lack of minority participation in these trials.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200911110033-dawn-baker-vaccine-trial-large-169.jpg”,”title”:”First recipient of phase 3 trial vaccine shares update “,”videoCMSUrl”:”/video/data/3.0/video/health/2020/09/11/dawn-baker-coronavirus-vaccine-trial-participant-intv-nr-harlow-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/09/11/dawn-baker-coronavirus-vaccine-trial-participant-intv-nr-harlow-vpx.cnn”,”videoId”:”health/2020/09/11/dawn-baker-coronavirus-vaccine-trial-participant-intv-nr-harlow-vpx.cnn”,”videoUrl”:”/videos/health/2020/09/11/dawn-baker-coronavirus-vaccine-trial-participant-intv-nr-harlow-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_B05A85AA-F21C-B397-FCC7-7DC12DBAF73C”},{“descriptionPlainText”:”CNN’s Alisyn Camerota speaks to Jenifer Johnston, an Oregon woman who has been battling with coronavirus complications for six months, despite not having preexsisting conditions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200911091236-jenifer-johnston-large-169.jpg”,”title”:”Mom opens up about her 6-month battle with Covid-19 effects”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/09/11/woman-coronavirus-long-hauler-intv-camerota-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/09/11/woman-coronavirus-long-hauler-intv-camerota-newday-vpx.cnn”,”videoId”:”health/2020/09/11/woman-coronavirus-long-hauler-intv-camerota-newday-vpx.cnn”,”videoUrl”:”/videos/health/2020/09/11/woman-coronavirus-long-hauler-intv-camerota-newday-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_18E6F6CE-D747-7572-C7C4-7CC1EEEBB362″},{“descriptionPlainText”:”During a CNN town hall with Anderson Cooper and Dr. Sanjay Gupta, Dr. Francis Collins answers a viewer’s question regarding a potential coronavirus vaccine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200910205605-dr-collins-large-169.jpg”,”title”:”See expert’s response to viewer who won’t take Covid-19 vaccine”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/09/11/francis-collins-vaccine-coronavirus-sot-town-hall-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/09/11/francis-collins-vaccine-coronavirus-sot-town-hall-vpx.cnn”,”videoId”:”us/2020/09/11/francis-collins-vaccine-coronavirus-sot-town-hall-vpx.cnn”,”videoUrl”:”/videos/us/2020/09/11/francis-collins-vaccine-coronavirus-sot-town-hall-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_B45EF934-2C5E-E7BE-2963-7AA0C138D230″},{“descriptionPlainText”:”Demetria Bannister, an elementary school teacher, died of coronavirus complications a week into the start of the school year in South Carolina. The 28-year-old had taught at the Windsor Elementary School in Columbia for five years, CNN affiliate WIS reported.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200910000536-demetria-bannister-large-169.jpg”,”title”:”Teacher dies from coronavirus 1 week into the school year”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/09/10/south-carolina-teacher-dies-three-days-after-coronavirus-diagnosis-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/health/2020/09/10/south-carolina-teacher-dies-three-days-after-coronavirus-diagnosis-mxp-vpx.hln”,”videoId”:”health/2020/09/10/south-carolina-teacher-dies-three-days-after-coronavirus-diagnosis-mxp-vpx.hln”,”videoUrl”:”/videos/health/2020/09/10/south-carolina-teacher-dies-three-days-after-coronavirus-diagnosis-mxp-vpx.hln/video/playlists/coronavirus/”,”surrogateKey”:”video_2446D904-15BD-4110-D78C-780251F3837C”},{“descriptionPlainText”:”Video of a college party shows why health experts warn students to remain on campus to protect the safety of their families and the other students on campus”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200901170449-801-day-students-on-campus-restricted-large-169.jpg”,”title”:”Video of college party shows why going home is risky for their families”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/09/01/college-students-covid-19-labor-day-orig-dp.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/09/01/college-students-covid-19-labor-day-orig-dp.cnn”,”videoId”:”us/2020/09/01/college-students-covid-19-labor-day-orig-dp.cnn”,”videoUrl”:”/videos/us/2020/09/01/college-students-covid-19-labor-day-orig-dp.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_7D4C4BFE-1F9E-339A-EBF1-4B50D1460501″},{“descriptionPlainText”:”CNN’s Brian Todd reports on the vital phase three trials that a number of companies are entering as they work towards a coronavirus vaccine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200904153850-moderna-trial-file-large-169.jpg”,”title”:”Multiple potential vaccines in critical phase three trial”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/09/04/covid-vaccine-phase-three-trials-todd-pkg-sitroom-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/09/04/covid-vaccine-phase-three-trials-todd-pkg-sitroom-vpx.cnn”,”videoId”:”health/2020/09/04/covid-vaccine-phase-three-trials-todd-pkg-sitroom-vpx.cnn”,”videoUrl”:”/videos/health/2020/09/04/covid-vaccine-phase-three-trials-todd-pkg-sitroom-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_D7DAF811-B459-5C1A-E899-5AF207E4E002″},{“descriptionPlainText”:”Pharmaceutical company AstraZeneca, paused global trials of its coronavirus vaccine because of an unexplained illness in one of the volunteers. CNN’s Sanjay Gupta tells us more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200909072030-sanjay-gupta-astrazeneca-large-169.jpg”,”title”:”Dr. Gupta breaks down AstraZeneca Covid-19 trial pause”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/09/09/astrazeneca-coronavirus-vaccine-trial-pause-gupta-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/09/09/astrazeneca-coronavirus-vaccine-trial-pause-gupta-newday-vpx.cnn”,”videoId”:”health/2020/09/09/astrazeneca-coronavirus-vaccine-trial-pause-gupta-newday-vpx.cnn”,”videoUrl”:”/videos/health/2020/09/09/astrazeneca-coronavirus-vaccine-trial-pause-gupta-newday-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_4D502181-5009-D6F8-689E-728A8A017C30″},{“descriptionPlainText”:”After a week and a half of in-person classes, West Virginia University announced Monday it was moving undergraduate classes online after seeing a spike in Covid-19 cases and the occurrence of several parties this weekend at the school.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200908135330-west-virginia-university-2015-large-169.jpg”,”title”:”Brooke Baldwin to WVU dean: Did university do enough to prevent spike?”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/09/08/west-virginia-university-dean-in-person-classes-coronavirus-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/09/08/west-virginia-university-dean-in-person-classes-coronavirus-vpx.cnn”,”videoId”:”us/2020/09/08/west-virginia-university-dean-in-person-classes-coronavirus-vpx.cnn”,”videoUrl”:”/videos/us/2020/09/08/west-virginia-university-dean-in-person-classes-coronavirus-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_60A780EE-DBA5-01C6-AD93-6FB4FECF5C88″},{“descriptionPlainText”:”CNN senior medical correspondent Elizabeth Cohen discusses a new ad campaign that’s encouraging minorities to become study participants in clinical trials for coronavirus vaccines.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200908072437-vaccine-ad-large-169.jpg”,”title”:”New vaccine ads reach out to minorities”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/09/08/vaccine-ads-minorities-coronavirus-trials-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/09/08/vaccine-ads-minorities-coronavirus-trials-newday-vpx.cnn”,”videoId”:”health/2020/09/08/vaccine-ads-minorities-coronavirus-trials-newday-vpx.cnn”,”videoUrl”:”/videos/health/2020/09/08/vaccine-ads-minorities-coronavirus-trials-newday-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_524FA472-C9F7-D0C2-1705-6D67DF762B9A”},{“descriptionPlainText”:”CNN’s Dr. Sanjay Gupta reports on CORE, a non-profit co-founded by actor Sean Penn, and how they helped address the need for Covid-19 testing in the state of Georgia.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200908073601-sean-penn-large-169.jpg”,”title”:”Actor’s non-profit helping fight coronavirus in Georgia”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/09/08/sean-penn-core-testing-atlanta-georgia-gupta-dnt-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/09/08/sean-penn-core-testing-atlanta-georgia-gupta-dnt-newday-vpx.cnn”,”videoId”:”health/2020/09/08/sean-penn-core-testing-atlanta-georgia-gupta-dnt-newday-vpx.cnn”,”videoUrl”:”/videos/health/2020/09/08/sean-penn-core-testing-atlanta-georgia-gupta-dnt-newday-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_24C0E04F-1A60-CF6D-AE06-6DADCE4BF57F”},{“descriptionPlainText”:”As many gather to celebrate Labor Day weekend, experts warn that large crowds could lead to coronavirus spikes similar to what the US dealt with following Memorial Day. CNN’s Nick Watt reports”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200907085754-02-labor-day-weekend-california-large-169.jpg”,”title”:”Labor Day crowds drive fears of new Covid-19 spikes”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/09/07/labor-day-crowds-coronavirus-wrap-watt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/09/07/labor-day-crowds-coronavirus-wrap-watt-lead-vpx.cnn”,”videoId”:”health/2020/09/07/labor-day-crowds-coronavirus-wrap-watt-lead-vpx.cnn”,”videoUrl”:”/videos/health/2020/09/07/labor-day-crowds-coronavirus-wrap-watt-lead-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_A8426205-CE4A-5053-193B-6A3E98E1508B”}],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/2020/09/15/bill-gates-fda-credibility-coronavirus-sot-lead-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-i5qh6f’,videoDescriptionDivId: ‘js-video_description-i5qh6f’,videoDurationDivId: ‘js-video_duration-i5qh6f’,videoTitleDivId: ‘js-leaf-video_headline-i5qh6f’,videoSourceDivId: ‘js-video_sourceName-i5qh6f’});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