How Covid-19 has upended the South African alcohol industry

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘business/2020/06/27/south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_whatson_marketplaceafrica_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200627113819-south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc-00020811-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200627113819-south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc-00020811-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200627113819-south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc-00020811-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200627113819-south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc-00020811-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200627113819-south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc-00020811-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200627113819-south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc-00020811-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200627113819-south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc-00020811-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”With sales growing 50% year to year, South Africa’s gin industry was booming before the country instated a strict ban on the production, sale, and export of alcohol. CNN’s Eleni Giokos takes a look at the ways major players in the industry pivoted to stay in business and reports on their road to recovery as production resumes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200627113819-south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc-00020811-large-169.jpg”,”title”:”How Covid-19 has upended the South African alcohol industry”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/27/south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/27/south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc.cnn”,”videoId”:”business/2020/06/27/south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc.cnn”,”videoUrl”:”/videos/business/2020/06/27/south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_C33E4F0C-9563-F0C7-6323-F664571697D2″},{“descriptionPlainText”:”Africa’s creative economy is often overshadowed by more traditional industries when it comes to capital investment. CNN’s Eleni Giokos sits down with President of Afreximbank, Benedict Okey Oramah, to discuss the institution’s commitment to the continent’s creatives.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200627111857-africa-creative-economy-capital-investment-afreximbank-industry-spc-00002911-large-169.jpg”,”title”:”Could funding creatives be Africa’s next big break?”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/27/africa-creative-economy-capital-investment-afreximbank-industry-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/27/africa-creative-economy-capital-investment-afreximbank-industry-spc.cnn”,”videoId”:”business/2020/06/27/africa-creative-economy-capital-investment-afreximbank-industry-spc.cnn”,”videoUrl”:”/videos/business/2020/06/27/africa-creative-economy-capital-investment-afreximbank-industry-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_C33E4F0C-9563-F0C7-6323-F664571697D2″},{“descriptionPlainText”:”CNN’s Eleni Giokos takes a look at how industries in Nigeria have pivoted out of necessity and newer sectors such as financial technology and e-commerce have helped more traditional small businesses.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200601135933-marketplace-africa-nigeria-business-pivot-finance-commerce-spc-00054408-large-169.jpg”,”title”:”New means of doing business emerge in Nigeria “,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/01/marketplace-africa-nigeria-business-pivot-finance-commerce-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/01/marketplace-africa-nigeria-business-pivot-finance-commerce-spc.cnn”,”videoId”:”business/2020/06/01/marketplace-africa-nigeria-business-pivot-finance-commerce-spc.cnn”,”videoUrl”:”/videos/business/2020/06/01/marketplace-africa-nigeria-business-pivot-finance-commerce-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_F87E0EAD-D846-A68D-AFBA-F65425B367B1″},{“descriptionPlainText”:”CNN’s Eleni Giokos sits down with Freddie Jordan Oil Company Limited’s Senior Vice President, Kwame Jantuah, to talk about what’s needed on the continent to foster growth in the oil industry.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200601131602-marketplace-africa-indigenous-oil-company-growth-spc-00011306-large-169.jpg”,”title”:”How African indigenous oil companies stay relevant on a global scale”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/01/marketplace-africa-indigenous-oil-company-growth-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/01/marketplace-africa-indigenous-oil-company-growth-spc.cnn”,”videoId”:”business/2020/06/01/marketplace-africa-indigenous-oil-company-growth-spc.cnn”,”videoUrl”:”/videos/business/2020/06/01/marketplace-africa-indigenous-oil-company-growth-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_E5E1B96A-BB64-B7E6-0F7F-70EB333191C5″},{“descriptionPlainText”:”CNN’s Eleni Giokos breaks down the potential long-term impact of efforts to combat the pandemic on economies across the African continent.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200527171823-africa-coronavirus-gfx-large-169.jpg”,”title”:”Africa’s economic reality during coronavirus, explained”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/05/27/marketplace-africa-economy-isolation-measures-recovery-covid19-imf-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/05/27/marketplace-africa-economy-isolation-measures-recovery-covid19-imf-spc.cnn”,”videoId”:”business/2020/05/27/marketplace-africa-economy-isolation-measures-recovery-covid19-imf-spc.cnn”,”videoUrl”:”/videos/business/2020/05/27/marketplace-africa-economy-isolation-measures-recovery-covid19-imf-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_65635580-2C5B-B03E-4312-709DC6165A07″},{“descriptionPlainText”:”Managing waste for oil and agriculture industries can be an unglamorous yet profitable business. CNN’s Eleni Giokos sat down with the Chairman and Managing Director of Shree Hari Group, Rakesh Dudhat, to talk about the impact of proper waste management in developing countries.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200518115647-marketplace-africa-rakesh-dudhat-waste-management-shree-hari-spc-00001419-large-169.jpg”,”title”:”How one company is betting big on the future of waste management in Africa”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/05/18/marketplace-africa-rakesh-dudhat-waste-management-shree-hari-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/05/18/marketplace-africa-rakesh-dudhat-waste-management-shree-hari-spc.cnn”,”videoId”:”business/2020/05/18/marketplace-africa-rakesh-dudhat-waste-management-shree-hari-spc.cnn”,”videoUrl”:”/videos/business/2020/05/18/marketplace-africa-rakesh-dudhat-waste-management-shree-hari-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_D2798682-1577-CB28-981E-57B0184047C4″},{“descriptionPlainText”:”Enacting widespread isolation measures often come at the cost of a robust economy. For African leaders and businesses, finding ways to maintain economic growth while keeping the general population healthy is imperative. CNN’s Eleni Giokos breaks down the International Monetary Fund numbers describing the relief response needed to stabilize economies across the continent.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200518100730-imf-africa-business-health-spending-lockdown-spc-00032818-large-169.jpg”,”title”:”Balancing business, growth and public safety. What does a lockdown mean for Africa?”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/05/18/imf-africa-business-health-spending-lockdown-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/05/18/imf-africa-business-health-spending-lockdown-spc.cnn”,”videoId”:”business/2020/05/18/imf-africa-business-health-spending-lockdown-spc.cnn”,”videoUrl”:”/videos/business/2020/05/18/imf-africa-business-health-spending-lockdown-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_5D58EA91-45D8-9BA9-8065-286FCB2DCE1D”},{“descriptionPlainText”:”With vast natural resources available throughout the continent, Africa has an advantage when it comes to the renewable energy market. CNN’s Eleni Giokos sat down with Lekela CEO, Chris Antonopoulos, to talk about the region’s potential for being a leader in providing green energy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200504101034-volatile-oil-prices-create-opportunity-for-renewables-africa-spc-00000029-large-169.jpg”,”title”:”Can volatile oil prices create an opportunity for renewables?”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/05/04/volatile-oil-prices-create-opportunity-for-renewables-africa-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/05/04/volatile-oil-prices-create-opportunity-for-renewables-africa-spc.cnn”,”videoId”:”business/2020/05/04/volatile-oil-prices-create-opportunity-for-renewables-africa-spc.cnn”,”videoUrl”:”/videos/business/2020/05/04/volatile-oil-prices-create-opportunity-for-renewables-africa-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_1FDEFD2F-0884-8A29-13C2-2811A5906E3A”},{“descriptionPlainText”:”Regardless of country or continent, building a robust healthcare system and maintaining a healthy economy requires resources. Africa faces unique challenges when it comes to both. CNN’s Eleni Giokos spoke with the African Development Bank President, Akinwumi Adesina, about how sharing the wealth in moments of crisis can pay off for the continent.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200504095312-financing-robust-healthcare-system-africa-spc-00022018-large-169.jpg”,”title”:”Financing the fight to build a robust healthcare system”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/05/04/financing-robust-healthcare-system-africa-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/05/04/financing-robust-healthcare-system-africa-spc.cnn”,”videoId”:”business/2020/05/04/financing-robust-healthcare-system-africa-spc.cnn”,”videoUrl”:”/videos/business/2020/05/04/financing-robust-healthcare-system-africa-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_3B9C283C-1CBA-E560-4359-DFE9FE0FD409″},{“descriptionPlainText”:”Feeding an ever growing population is both a social challenge and a business opportunity. CNN’s Eleni Giokos sat down with Karim Lotfi Senhadji of OCP Africa to talk about how he thinks Africa can maximize its agricultural potential.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200419235630-africa-food-business-karim-lotfi-senhadj-ocp-africa-spc-00000000-large-169.jpg”,”title”:”Is Africa the answer to the world’s growing food insecurity problems?”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/04/20/africa-food-business-karim-lotfi-senhadj-ocp-africa-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/04/20/africa-food-business-karim-lotfi-senhadj-ocp-africa-spc.cnn”,”videoId”:”business/2020/04/20/africa-food-business-karim-lotfi-senhadj-ocp-africa-spc.cnn”,”videoUrl”:”/videos/business/2020/04/20/africa-food-business-karim-lotfi-senhadj-ocp-africa-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_A382C476-F9C4-D4FD-7826-DFE87ADFCD91″},{“descriptionPlainText”:”Whether it’s transparent communication or prioritizing a rapid response, many across Africa learned lessons in how to treat disease outbreaks during the continent’s most recent fight against Ebola. CNN’s Eleni Giokos looks at the takeaways from the Ebola crisis and how that knowledge can be applied in the future.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200419234718-coronavirus-ebola-africa-mpa-spc-00034122-large-169.jpg”,”title”:”Can Africa’s fight against Ebola help in the battle against COVID-19? Experts think so”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/04/20/coronavirus-ebola-africa-mpa-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/04/20/coronavirus-ebola-africa-mpa-spc.cnn”,”videoId”:”business/2020/04/20/coronavirus-ebola-africa-mpa-spc.cnn”,”videoUrl”:”/videos/business/2020/04/20/coronavirus-ebola-africa-mpa-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_837C3B36-BAE5-D5B2-586F-95B2CE217E87″},{“descriptionPlainText”:”Inefficient supply chains often drive prices at the grocery store up. CNN’s Eleni Giokos sat down with Twiga Foods CEO, Peter Njonjo, to see how his company is creating infrastructure and implementing technology to keep consumer costs low.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200406155124-banana-twiga-foods-peter-njonjo-spc-00001921-large-169.jpg”,”title”:”How is the price of a banana broken down?”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/04/06/banana-twiga-foods-peter-njonjo-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/04/06/banana-twiga-foods-peter-njonjo-spc.cnn”,”videoId”:”business/2020/04/06/banana-twiga-foods-peter-njonjo-spc.cnn”,”videoUrl”:”/videos/business/2020/04/06/banana-twiga-foods-peter-njonjo-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_2F80E563-2FDA-D557-37A7-95A0B508AECA”},{“descriptionPlainText”:”For grocers across Africa, maintaining a supply of essential goods for everyday living requires infrastructure that includes everyone from farmers and port workers to truck drivers. CNN’s Eleni Giokos reports on how supply chains across Africa are gearing up to keep shelves stocked for the long term.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200406145726-south-africa-covid-19-eleni-giokos-spc-00040613-large-169.jpg”,”title”:” Can the South African supply chain survive during COVID-19?”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/04/06/south-africa-covid-19-eleni-giokos-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/04/06/south-africa-covid-19-eleni-giokos-spc.cnn”,”videoId”:”business/2020/04/06/south-africa-covid-19-eleni-giokos-spc.cnn”,”videoUrl”:”/videos/business/2020/04/06/south-africa-covid-19-eleni-giokos-spc.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_905A7491-77FF-1BA1-9A21-50EA0DF58076″},{“descriptionPlainText”:”As demand for sugarcane and prices for the crop have continued to decline, small farms and large sugarcane corporations are pioneering new ways to make money off this sweet export. CNN’s Eleni Giokos takes a look at how the industry is adapting to survive.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200324203315-sugar-sugarcane-mauritius-mpa-00022505-large-169.jpg”,”title”:”The sugar industry isn’t so sweet in Mauritius”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/03/24/sugar-sugarcane-mauritius-mpa.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/03/24/sugar-sugarcane-mauritius-mpa.cnn”,”videoId”:”business/2020/03/24/sugar-sugarcane-mauritius-mpa.cnn”,”videoUrl”:”/videos/business/2020/03/24/sugar-sugarcane-mauritius-mpa.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_42175D55-B561-9ECE-87EF-4D7BEC291A03″},{“descriptionPlainText”:”CNN’s Zain Asher speaks with Tunde Kehinde, the co-founder of Lidya, about how he hopes technology can make investments accessible for small African businesses.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200324203323-tunde-kehinde-lidya-technology-africa-mpa-00000926-large-169.jpg”,”title”:”How one company is hoping to help small businesses thrive in Africa”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/03/24/tunde-kehinde-lidya-technology-africa-mpa.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/03/24/tunde-kehinde-lidya-technology-africa-mpa.cnn”,”videoId”:”business/2020/03/24/tunde-kehinde-lidya-technology-africa-mpa.cnn”,”videoUrl”:”/videos/business/2020/03/24/tunde-kehinde-lidya-technology-africa-mpa.cnn/video/playlists/marketplace-africa-pre-roll/”,”surrogateKey”:”video_4B752067-507B-2D99-0078-0EA92EE0C407″}],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:”business/2020/06/27/south-africa-alcohol-industry-craft-gin-coronavirus-marketplace-spc.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-xxqycw’,videoDescriptionDivId: ‘js-video_description-xxqycw’,videoDurationDivId: ‘js-video_duration-xxqycw’,videoTitleDivId: ‘js-leaf-video_headline-xxqycw’,videoSourceDivId: ‘js-video_sourceName-xxqycw’});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(‘

How Covid-19 has upended the South African alcohol industry

Leave a Reply