South Africa battles coronavirus and tuberculosis – CNN Video

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2020/07/04/south-africa-covid-tuberculosis-mckenzie-pkg-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/200702150911-cape-town-photographers-south-africa-coronavirus-ia-spc-00011917-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200702150911-cape-town-photographers-south-africa-coronavirus-ia-spc-00011917-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200702150911-cape-town-photographers-south-africa-coronavirus-ia-spc-00011917-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200702150911-cape-town-photographers-south-africa-coronavirus-ia-spc-00011917-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200702150911-cape-town-photographers-south-africa-coronavirus-ia-spc-00011917-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200702150911-cape-town-photographers-south-africa-coronavirus-ia-spc-00011917-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200702150911-cape-town-photographers-south-africa-coronavirus-ia-spc-00011917-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Healthcare workers in South Africa worry that decades of hard won gains in the battle against tuberculosis will be lost due to a new focus on coronavirus. CNN’s David McKenzie reports from Cape Town.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200702150911-cape-town-photographers-south-africa-coronavirus-ia-spc-00011917-large-169.jpg”,”title”:”South Africa battles coronavirus and tuberculosis”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/04/south-africa-covid-tuberculosis-mckenzie-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/04/south-africa-covid-tuberculosis-mckenzie-pkg-vpx.cnn”,”videoId”:”world/2020/07/04/south-africa-covid-tuberculosis-mckenzie-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/04/south-africa-covid-tuberculosis-mckenzie-pkg-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_077167C0-7DFF-0C15-AF0B-19DAD1ECC323″},{“descriptionPlainText”:”Five Americans who flew by private jet to the Mediterranean island of Sardinia were refused entry to Italy due to new EU travel restrictions on countries with high coronavirus infection rates. CNN’s Barbie Nadeau reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200520154513-rome-airport-may-07-large-169.jpg”,”title”:”Americans denied entry into Italy due to Covid-19 travel restrictions”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/07/03/americans-private-jet-refused-entry-to-italy-nadeau-lkl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/07/03/americans-private-jet-refused-entry-to-italy-nadeau-lkl-vpx.cnn”,”videoId”:”travel/2020/07/03/americans-private-jet-refused-entry-to-italy-nadeau-lkl-vpx.cnn”,”videoUrl”:”/videos/travel/2020/07/03/americans-private-jet-refused-entry-to-italy-nadeau-lkl-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_077167C0-7DFF-0C15-AF0B-19DAD1ECC323″},{“descriptionPlainText”:”India has opened what it says the biggest field hospital in the world for Covid-19, as the country’s public health system is being tested by the surging numbers of coronavirus cases. CNN’s Vedika Sud reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200703120548-india-coronavirus-worlds-biggest-field-hospital-pkg-sud-intl-hnk-vpx-00001710-large-169.jpg”,”title”:” What the world’s biggest Covid-19 hospital looks like “,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/03/india-coronavirus-worlds-biggest-field-hospital-pkg-sud-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/03/india-coronavirus-worlds-biggest-field-hospital-pkg-sud-intl-hnk-vpx.cnn”,”videoId”:”world/2020/07/03/india-coronavirus-worlds-biggest-field-hospital-pkg-sud-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/03/india-coronavirus-worlds-biggest-field-hospital-pkg-sud-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_3CA7DE09-7309-98A1-C375-15F84E2F4B42″},{“descriptionPlainText”:”Despite having nearly 1.5 million Covid-19 cases, experts say Brazil has yet to see the worst of the pandemic. However, Brazil’s second-largest city Rio de Janeiro has started to allow bars, restaurants, and gyms to reopen. CNN’s Shasta Darlington reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200703133136-brazil-rio-coronavirus-large-169.jpg”,”title”:”Brazil, one of the worst hit countries, has yet to hit its peak”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/03/brazil-coronavirus-covid-19-darlington-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/03/brazil-coronavirus-covid-19-darlington-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2020/07/03/brazil-coronavirus-covid-19-darlington-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/03/brazil-coronavirus-covid-19-darlington-pkg-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_B5AA302A-C63B-E665-F038-1270C17191C8″},{“descriptionPlainText”:”CNN’s Phil Black reports from Leicester, the first city in England to go back into lockdown after experiencing a surge in coronavirus cases while the rest of the country reopens its economy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200701105638-leicester-england-lockdown-covid-19-coronavirus-pandemic-black-pkg-intl-ldn-vpx-00003202-large-169.jpg”,”title”:”English city under lockdown after coronavirus cases surge”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/07/01/leicester-england-lockdown-covid-19-coronavirus-pandemic-black-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/07/01/leicester-england-lockdown-covid-19-coronavirus-pandemic-black-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/07/01/leicester-england-lockdown-covid-19-coronavirus-pandemic-black-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/07/01/leicester-england-lockdown-covid-19-coronavirus-pandemic-black-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_AB148432-352F-4021-3B14-1314AF1460DB”},{“descriptionPlainText”:”The European Union published its list of more than a dozen countries to start lifting travel restrictions. The US is not on that list. CNN’s Frederik Pleitgen reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200630152528-european-union-flag-travel-restrictions-large-169.jpg”,”title”:”EU excludes US citizens from visiting amid pandemic”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/30/eu-travel-restrictions-list-us-citizens-coronavirus-covid-19-pandemic-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/30/eu-travel-restrictions-list-us-citizens-coronavirus-covid-19-pandemic-intl-ldn-vpx.cnn”,”videoId”:”world/2020/06/30/eu-travel-restrictions-list-us-citizens-coronavirus-covid-19-pandemic-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/30/eu-travel-restrictions-list-us-citizens-coronavirus-covid-19-pandemic-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_9260E7DC-938A-94B6-5B4A-09C7E3E8187F”},{“descriptionPlainText”:”The European Union’s decision to bar US citizens from visiting as it reopens its borders to more than a dozen countries could harm European businesses that rely on US dollars to survive. CNN’s Frederik Pleitgen reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200701101001-european-union-travel-restrictions-us-citizens-coronavirus-pandemic-pleitgen-pkg-intl-ldn-vpx-00003901-large-169.jpg”,”title”:”European businesses may feel pinch after EU bars US tourists”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/07/01/european-union-travel-restrictions-us-citizens-coronavirus-pandemic-pleitgen-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/07/01/european-union-travel-restrictions-us-citizens-coronavirus-pandemic-pleitgen-pkg-intl-ldn-vpx.cnn”,”videoId”:”business/2020/07/01/european-union-travel-restrictions-us-citizens-coronavirus-pandemic-pleitgen-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/business/2020/07/01/european-union-travel-restrictions-us-citizens-coronavirus-pandemic-pleitgen-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_9312DE8A-CB32-5AF8-3921-0579F5E93A19″},{“descriptionPlainText”:”CNN’s David McKenzie reports from a recreational center in South Africa converted into a field hospital as the country grapples with the worst coronavirus outbreak in Africa.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200630101629-south-africa-field-hospital-coronavirus-mckenzie-large-169.jpg”,”title”:”Inside a South African field hospital coping with Covid-19″,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/30/south-africa-coronavirus-covid-19-pandemic-field-hospital-mckenzie-walk-and-talk-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/30/south-africa-coronavirus-covid-19-pandemic-field-hospital-mckenzie-walk-and-talk-intl-ldn-vpx.cnn”,”videoId”:”world/2020/06/30/south-africa-coronavirus-covid-19-pandemic-field-hospital-mckenzie-walk-and-talk-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/30/south-africa-coronavirus-covid-19-pandemic-field-hospital-mckenzie-walk-and-talk-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_8EB534E8-62E8-6D2E-EF60-0996B1AD857C”},{“descriptionPlainText”:”Months ago, the US looked on in horror as the Covid-19 outbreak devastated Italy. Now, as Italy is returning to normal, the US is experiencing a surge in cases. CNN’s Ben Wedeman reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200629205203-italy-wedeman-large-169.jpg”,”title”:”Italy was a cautionary tale. Now, it’s returning to normal”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/30/italy-reopening-us-coronavirus-surge-wedeman-pkg-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/30/italy-reopening-us-coronavirus-surge-wedeman-pkg-ebof-vpx.cnn”,”videoId”:”world/2020/06/30/italy-reopening-us-coronavirus-surge-wedeman-pkg-ebof-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/30/italy-reopening-us-coronavirus-surge-wedeman-pkg-ebof-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_BDFE7417-2C86-E76A-ED05-044B31E04BE5″},{“descriptionPlainText”:”Covid-19 is hitting some of the most remote Amazon river communities in Brazil as the country struggles with soaring virus cases and deaths. CNN’s Shasta Darlington reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200629105648-brazil-amazon-covid-19-coronavirus-pandemic-cases-darlington-pkg-intl-ldn-vpx-00011322-large-169.jpg”,”title”:”Water ambulances are vital for this community’s virus response”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/29/brazil-amazon-covid-19-coronavirus-pandemic-cases-darlington-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/29/brazil-amazon-covid-19-coronavirus-pandemic-cases-darlington-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/06/29/brazil-amazon-covid-19-coronavirus-pandemic-cases-darlington-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/29/brazil-amazon-covid-19-coronavirus-pandemic-cases-darlington-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_907844AE-1B9D-5E8F-6BEF-02A3F94138D3″},{“descriptionPlainText”:”A local chamber of commerce is predicting 40 percent of Mexico City’s small businesses will be forced to permanently shut down, forcing 1 million people out of work. CNN’s Matt Rivers reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200629095846-mexico-city-small-businesses-coronavirus-covid-19-pandemic-lockdown-economy-rivers-pkg-intl-ldn-vpx-00020521-large-169.jpg”,”title”:”This bookshop survived earthquakes and recessions. But not this”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/29/mexico-city-small-businesses-coronavirus-covid-19-pandemic-lockdown-economy-rivers-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/29/mexico-city-small-businesses-coronavirus-covid-19-pandemic-lockdown-economy-rivers-pkg-intl-ldn-vpx.cnn”,”videoId”:”business/2020/06/29/mexico-city-small-businesses-coronavirus-covid-19-pandemic-lockdown-economy-rivers-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/business/2020/06/29/mexico-city-small-businesses-coronavirus-covid-19-pandemic-lockdown-economy-rivers-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_6FFCF3EA-C050-A125-4ACA-FF65BE337F9A”},{“descriptionPlainText”:”Spain’s beaches are open just in time for holiday season. A set of new measures — drones, apps, and police patrols — have been adopted by local authorities to enforce social distancing at the beaches. Journalist Atika Shubert reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200629140612-spain-valencia-beach-coronavirus-drone-shubert-lkl-intl-hnk-vpx-00003004-large-169.jpg”,”title”:”Drones used on beach to ensure social distancing “,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/06/29/spain-valencia-beach-coronavirus-drone-shubert-lkl-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/06/29/spain-valencia-beach-coronavirus-drone-shubert-lkl-intl-hnk-vpx.cnn”,”videoId”:”travel/2020/06/29/spain-valencia-beach-coronavirus-drone-shubert-lkl-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/travel/2020/06/29/spain-valencia-beach-coronavirus-drone-shubert-lkl-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_41356612-7D83-4FF7-EC85-FF34859560BB”},{“descriptionPlainText”:”As England’s coronavirus lockdown gets set to be relaxed, some charities are seeing an opportunity to help thousands of homeless people living in the streets of London. CNN’s Phil Black reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200628080052-london-homeless-housed-coronavirus-black-pkg-vpx-00000906-large-169.jpg”,”title”:”Coronavirus presents chance to help London’s homeless”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/28/london-homeless-housed-coronavirus-black-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/28/london-homeless-housed-coronavirus-black-pkg-vpx.cnn”,”videoId”:”world/2020/06/28/london-homeless-housed-coronavirus-black-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/28/london-homeless-housed-coronavirus-black-pkg-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_E569F080-2213-DF0E-E209-FE9B09A43CE9″},{“descriptionPlainText”:”Three meat packing facilities have found themselves in coronavirus hotspots as Covid-19 continues to spread. CNN’s Anna Stewart reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200627072840-anna-stewart-wales-pkg-large-169.jpg”,”title”:”Meat packing facility reports over 200 cases of coronavirus”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/27/meatpacking-plants-coronavirus-stewart-pkg-qmb-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/27/meatpacking-plants-coronavirus-stewart-pkg-qmb-vpx.cnn”,”videoId”:”world/2020/06/27/meatpacking-plants-coronavirus-stewart-pkg-qmb-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/27/meatpacking-plants-coronavirus-stewart-pkg-qmb-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_C3DB60BA-106E-812C-0666-FAC45FFDA182″},{“descriptionPlainText”:”CNN’s Cyril Vanier visits the Eiffel Tower in Paris as it reopens following its longest period of closure since WWII as the French capital emerges from lockdown.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200625093207-paris-france-eiffel-tower-reopening-coronavirus-covid-19-pandemic-lockdown-vanier-pkg-intl-ldn-vpx-00001618-large-169.jpg”,”title”:”Fancy a peek from the top of Eiffel Tower? You’ll need to earn it”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/06/25/paris-france-eiffel-tower-reopening-coronavirus-covid-19-pandemic-lockdown-vanier-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/06/25/paris-france-eiffel-tower-reopening-coronavirus-covid-19-pandemic-lockdown-vanier-pkg-intl-ldn-vpx.cnn”,”videoId”:”travel/2020/06/25/paris-france-eiffel-tower-reopening-coronavirus-covid-19-pandemic-lockdown-vanier-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/travel/2020/06/25/paris-france-eiffel-tower-reopening-coronavirus-covid-19-pandemic-lockdown-vanier-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_BB6A1612-A381-6A05-56B5-F57312AC1CAC”}],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:”world/2020/07/04/south-africa-covid-tuberculosis-mckenzie-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-19okapr’,videoDescriptionDivId: ‘js-video_description-19okapr’,videoDurationDivId: ‘js-video_duration-19okapr’,videoTitleDivId: ‘js-leaf-video_headline-19okapr’,videoSourceDivId: ‘js-video_sourceName-19okapr’});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(‘

Disclaimer: Some Of The Offers Promoted On This Site Are Affiliate Offers... We May Be Getting Compensated For Referring You To These Offers.

Leave a Reply