California struggles to slowly reopen for tourism

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘travel/2020/07/01/california-begins-reopening-covid-travel-orig.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/200701130236-cali-reopen-03-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200701130236-cali-reopen-03-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200701130236-cali-reopen-03-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200701130236-cali-reopen-03-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200701130236-cali-reopen-03-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200701130236-cali-reopen-03-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200701130236-cali-reopen-03-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”As counties reopen for much needed tourism dollars, state health officials urge caution while new covid cases are on the rise.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200701130236-cali-reopen-03-large-169.jpg”,”title”:”California struggles to slowly reopen for tourism”,”videoCMSUrl”:”/videos/travel/2020/07/01/california-begins-reopening-covid-travel-orig.cnn”,”videoLeafUrl”:”/videos/travel/2020/07/01/california-begins-reopening-covid-travel-orig.cnn”,”videoId”:”travel/2020/07/01/california-begins-reopening-covid-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/07/01/california-begins-reopening-covid-travel-orig.cnn”,”surrogateKey”:”video_7DA88854-19DD-9B72-F667-0B5774939554″},{“descriptionPlainText”:”As Twitter begins to crack down on some of President Trump’s tweets, some Republicans have started flocking to a new social media app, “Parler.” CNN’s Tom Foreman reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200702171715-02-parler-free-speech-app-foreman-pkg-07022020-large-169.jpg”,”title”:”Big name Republicans signing up for new social media platform”,”videoCMSUrl”:”/video/data/3.0/video/tech/2020/07/02/parler-conservative-republicans-trump-social-media-twitter-free-speech-todd-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/tech/2020/07/02/parler-conservative-republicans-trump-social-media-twitter-free-speech-todd-pkg-lead-vpx.cnn”,”videoId”:”tech/2020/07/02/parler-conservative-republicans-trump-social-media-twitter-free-speech-todd-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/tech/2020/07/02/parler-conservative-republicans-trump-social-media-twitter-free-speech-todd-pkg-lead-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_782FE1E4-29CF-EFE9-61CE-11506C36F8FD”},{“descriptionPlainText”:”Former Democratic presidential candidate Andrew Yang argues that Congress needs to provide emergency cash to millions of Americans struggling during the pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200702160439-andrew-yang-qmb-large-169.jpg”,”title”:”Andrew Yang: Stimulus money should go to families, not companies”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/07/02/andrew-yang-covid-19-stimulus-plan-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/07/02/andrew-yang-covid-19-stimulus-plan-vpx.cnn”,”videoId”:”business/2020/07/02/andrew-yang-covid-19-stimulus-plan-vpx.cnn”,”videoUrl”:”/videos/business/2020/07/02/andrew-yang-covid-19-stimulus-plan-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_20C27BE4-A599-5C97-73C3-1110B1AF5671″},{“descriptionPlainText”:”According to Fiat Chrysler, its Dodge Durango Hellcat is the most powerful production SUV ever made.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200701165433-2021-dodge-durango-srt-hellcat-large-169.jpg”,”title”:”See the Dodge Durango SRT Hellcat with 6 seats and 710 horsepower”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/07/01/new-dodge-durango-srt-hellcat-gr-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/07/01/new-dodge-durango-srt-hellcat-gr-orig.cnn”,”videoId”:”business/2020/07/01/new-dodge-durango-srt-hellcat-gr-orig.cnn”,”videoUrl”:”/videos/business/2020/07/01/new-dodge-durango-srt-hellcat-gr-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_027DFA59-AB61-92F9-F11B-0CCFB9C8186E”},{“descriptionPlainText”:”Former Xerox CEO and the first black woman CEO of a Fortune 500 company, Ursula Burns, says corporations need to diversify their boards and C-suites.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200702151549-ursula-burns-2011-large-169.jpg”,”title”:”Ursula Burns to Corporate America: You can undo the system”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/16/ursula-burns-diversity-corporate-america.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/16/ursula-burns-diversity-corporate-america.cnn-business”,”videoId”:”business/2020/06/16/ursula-burns-diversity-corporate-america.cnn-business”,”videoUrl”:”/videos/business/2020/06/16/ursula-burns-diversity-corporate-america.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_9249A73B-22B5-3CD9-F71B-BD5B07DFE2F7″},{“descriptionPlainText”:”President Trump appointed Michael Pack to run the US Agency for Global Media, which oversees the government-funded international news outlet Voice of America. Critics say Pack wants to turn the VOA into the VOT — the Voice of Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200701145630-president-ronald-reagan-voa-voice-of-american-large-169.jpg”,”title”:”Why reporters at Voice of America are worried it may turn into ‘Voice of Trump'”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/07/01/voa-usagm-michael-pack-trump-brian-stelter-explr-zw-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/07/01/voa-usagm-michael-pack-trump-brian-stelter-explr-zw-orig.cnn-business”,”videoId”:”business/2020/07/01/voa-usagm-michael-pack-trump-brian-stelter-explr-zw-orig.cnn-business”,”videoUrl”:”/videos/business/2020/07/01/voa-usagm-michael-pack-trump-brian-stelter-explr-zw-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D9AD80FE-F11B-8BB6-BBB2-0BB534A21620″},{“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/200701183651-south-africa-alcohol-industry-craft-gin-coronavirus-mpa-spc-00000000-large-169.jpg”,”title”:”How Covid-19 has upended the South African alcohol industry”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/07/01/south-africa-alcohol-industry-craft-gin-coronavirus-mpa-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/07/01/south-africa-alcohol-industry-craft-gin-coronavirus-mpa-spc.cnn”,”videoId”:”business/2020/07/01/south-africa-alcohol-industry-craft-gin-coronavirus-mpa-spc.cnn”,”videoUrl”:”/videos/business/2020/07/01/south-africa-alcohol-industry-craft-gin-coronavirus-mpa-spc.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_33ABA525-86DB-667A-DF4D-0BDBAE992804″},{“descriptionPlainText”:”Ryan Reynolds and a few other stars joined a video call where the original “X-Men” cast was celebrating the 20th anniversary of the first movie.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200701143137-ryan-reynolds-xmen-thumbnail-large-169.jpg”,”title”:”Ryan Reynolds awkwardly pops in on ‘X-men’ video call”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/07/01/ryan-reynolds-crashes-xmen-video-call-mh-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/07/01/ryan-reynolds-crashes-xmen-video-call-mh-orig.cnn”,”videoId”:”business/2020/07/01/ryan-reynolds-crashes-xmen-video-call-mh-orig.cnn”,”videoUrl”:”/videos/business/2020/07/01/ryan-reynolds-crashes-xmen-video-call-mh-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_BD6E94A2-54A1-7998-FD20-0B96F1A0F73A”},{“descriptionPlainText”:”A growing list of companies say they’ll join an advertiser boycott on Facebook in protest of what they say are the site’s failures to stop the spread of hate. CNN’s Brian Stelter reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190930143010-facebook-laptop–stock-large-169.jpg”,”title”:”Facebook under pressure as advertisers pause campaigns”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/29/facebook-advertiser-boycott-stelter.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/29/facebook-advertiser-boycott-stelter.cnn-business”,”videoId”:”business/2020/06/29/facebook-advertiser-boycott-stelter.cnn-business”,”videoUrl”:”/videos/business/2020/06/29/facebook-advertiser-boycott-stelter.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A2AE4BF4-0152-49F1-8611-014D31AE287F”},{“descriptionPlainText”:”Producing green hydrogen is expensive but it’s a clean energy source that can power industrial production, fuel vehicles or be stored for future use. Snam – one of Europe’s largest gas providers – is working to reduce CO2 emissions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200629083131-green-hydrogen-gec-large-169.jpg”,”title”:”Using green hydrogen to fuel pasta production”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/29/green-hydrogen-energy-gec.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/29/green-hydrogen-energy-gec.cnn-business”,”videoId”:”business/2020/06/29/green-hydrogen-energy-gec.cnn-business”,”videoUrl”:”/videos/business/2020/06/29/green-hydrogen-energy-gec.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D5A0FDB7-C22E-9CFD-AA41-00002213E43E”},{“descriptionPlainText”:”Millions of out of work Americans are struggling with food insecurity. Low-income communities are especially hard hit. CNN’s Vanessa Yurkevich reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200702142040-line-for-food-brooklyn-large-169.jpg”,”title”:”Unemployed Americans turn to food banks in record numbers”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/07/02/unemployed-food-banks-low-income-undocumented-coronavirus.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2020/07/02/unemployed-food-banks-low-income-undocumented-coronavirus.cnnbusiness”,”videoId”:”business/2020/07/02/unemployed-food-banks-low-income-undocumented-coronavirus.cnnbusiness”,”videoUrl”:”/videos/business/2020/07/02/unemployed-food-banks-low-income-undocumented-coronavirus.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_906E9FEA-3A00-DBD5-79B9-10A1884CFA75″},{“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/stories-worth-watching/”,”surrogateKey”:”video_41356612-7D83-4FF7-EC85-FF34859560BB”},{“descriptionPlainText”:”Dell COO Jeff Clarke discusses how Covid-19 is turning working from home into the “normal of the future.” But he says providing digital access to underserved communities will be key.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200629105737-jeff-clarke-dell-coo-large-169.jpg”,”title”:”Dell exec: Remote working means a bigger talent pool”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/29/dell-jeff-clarke-working-remote.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/29/dell-jeff-clarke-working-remote.cnn-business”,”videoId”:”business/2020/06/29/dell-jeff-clarke-working-remote.cnn-business”,”videoUrl”:”/videos/business/2020/06/29/dell-jeff-clarke-working-remote.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_151BB84F-B2A3-ED1B-EEB1-008724529E32″},{“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/stories-worth-watching/”,”surrogateKey”:”video_C33E4F0C-9563-F0C7-6323-F664571697D2″},{“descriptionPlainText”:”Dollar General is one of the fastest growing discount chains in the country. But its ultra low-cost business model could make it vulnerable to crime.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200625092348-restricted-03-dollar-general-workers-centerpiece-large-169.jpg”,”title”:”Dollar General’s business is booming. It’s also vulnerable to crime, police say”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/25/dollar-general-robbery-crime-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/25/dollar-general-robbery-crime-orig.cnn-business”,”videoId”:”business/2020/06/25/dollar-general-robbery-crime-orig.cnn-business”,”videoUrl”:”/videos/business/2020/06/25/dollar-general-robbery-crime-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B2224AD3-28F7-B222-A5D6-ED85C20B5A5C”},{“descriptionPlainText”:”Darren Walker, president of the Ford Foundation, says White privilege “puts barriers in place that make it difficult for African Americans to succeed in Corporate America.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200626103912-darren-walker-ford-foundation-president-large-169.jpg”,”title”:”Darren Walker: Corporate America’s culture is White”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/06/26/darren-walker-race-corporate-america.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/06/26/darren-walker-race-corporate-america.cnn-business”,”videoId”:”business/2020/06/26/darren-walker-race-corporate-america.cnn-business”,”videoUrl”:”/videos/business/2020/06/26/darren-walker-race-corporate-america.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_76B6F889-DF83-64EA-CAFD-F0DC7D78166B”}],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:”travel/2020/07/01/california-begins-reopening-covid-travel-orig.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-1sfjj8h’,videoDescriptionDivId: ‘js-video_description-1sfjj8h’,videoDurationDivId: ‘js-video_duration-1sfjj8h’,videoTitleDivId: ‘js-leaf-video_headline-1sfjj8h’,videoSourceDivId: ‘js-video_sourceName-1sfjj8h’});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(‘

California struggles to slowly reopen for tourism

Leave a Reply