Why are people quitting their jobs? – CNN

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘business/2021/11/27/great-resignation-covid-19-pandemic-yurkevich-dnt-ndwknd-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/210707150430-job-resignation-stock-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210707150430-job-resignation-stock-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210707150430-job-resignation-stock-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210707150430-job-resignation-stock-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210707150430-job-resignation-stock-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210707150430-job-resignation-stock-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210707150430-job-resignation-stock-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Americans’ mass exodus from their place of work, coined as the “Great Resignation,” resulted in 4.4 million people quitting their jobs in September. CNN’s Vanessa Yurkevich speaks to individuals about what led them to leave.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210707150430-job-resignation-stock-large-169.jpg”,”title”:”Why are people quitting their jobs?”,”videoCMSUrl”:”/videos/business/2021/11/27/great-resignation-covid-19-pandemic-yurkevich-dnt-ndwknd-vpx.cnn”,”videoLeafUrl”:”/videos/business/2021/11/27/great-resignation-covid-19-pandemic-yurkevich-dnt-ndwknd-vpx.cnn”,”videoId”:”business/2021/11/27/great-resignation-covid-19-pandemic-yurkevich-dnt-ndwknd-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/27/great-resignation-covid-19-pandemic-yurkevich-dnt-ndwknd-vpx.cnn”,”surrogateKey”:”video_FDB9E1CD-AE97-AA78-0731-61602F1A7D46″},{“descriptionPlainText”:”Portugal parliament has passed a law that will fine employers who call or text employees after working hours. CNN’s Isa Soares reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210406163753-working-from-home-mobile-phone—stock-large-169.jpg”,”title”:”Employers can now be fined in this country for after hour calls”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/23/portugal-law-work-life-balance-soares-intl-dnt-ctw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/23/portugal-law-work-life-balance-soares-intl-dnt-ctw-vpx.cnn”,”videoId”:”business/2021/11/23/portugal-law-work-life-balance-soares-intl-dnt-ctw-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/23/portugal-law-work-life-balance-soares-intl-dnt-ctw-vpx.cnn/video/playlists/business-career/”,”surrogateKey”:”video_678792EA-7184-22F1-56C2-4E1AF653ABDC”},{“descriptionPlainText”:”Traditional work days and hours are over, according to Slack CEO Stewart Butterfield, who discusses rebuilding the platform to allow companies to tailor Slack to their needs, streamlining communication and “knitting together” different services that people use.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211116141000-slack-ceo-stewart-butterfield-remote-work-large-169.jpg”,”title”:”Slack CEO: ‘Days of 9 to 5, Monday to Friday are over’ “,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/16/slack-ceo-future-remote-work.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/16/slack-ceo-future-remote-work.cnnbusiness”,”videoId”:”business/2021/11/16/slack-ceo-future-remote-work.cnnbusiness”,”videoUrl”:”/videos/business/2021/11/16/slack-ceo-future-remote-work.cnnbusiness/video/playlists/business-career/”,”surrogateKey”:”video_0DAE56B5-92B8-01AA-0C20-2A75D8869820″},{“descriptionPlainText”:”Companies are beefing up their perks to lure workers seeking better pay, better working conditions, and more flexibility. CNN’s Christine Romans reports on how Covid has reshaped the job market.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211008150341-01-help-wanted-sign-large-169.jpg”,”title”:”What companies are doing to attract workers”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/10/26/job-market-companies-recruitment-workers.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/10/26/job-market-companies-recruitment-workers.cnnbusiness”,”videoId”:”business/2021/10/26/job-market-companies-recruitment-workers.cnnbusiness”,”videoUrl”:”/videos/business/2021/10/26/job-market-companies-recruitment-workers.cnnbusiness/video/playlists/business-career/”,”surrogateKey”:”video_73C2B3C3-14A5-F40B-56FE-BC82DE28FF3D”},{“descriptionPlainText”:”Scott Galloway tells how having a personal brand can help beyond your career. Check out Scott Galloway’s new show on CNN+, starting in 2022.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211011060142-scott-galloway-office-hours-large-169.jpg”,”title”:”Why should you brand yourself? Scott Galloway explains”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/10/04/scott-galloway-how-to-market-yourself-cnn-business.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/10/04/scott-galloway-how-to-market-yourself-cnn-business.cnn-business”,”videoId”:”business/2021/10/04/scott-galloway-how-to-market-yourself-cnn-business.cnn-business”,”videoUrl”:”/videos/business/2021/10/04/scott-galloway-how-to-market-yourself-cnn-business.cnn-business/video/playlists/business-career/”,”surrogateKey”:”video_D646FE57-4579-9E9B-B91D-4CC8A2BC88B4″},{“descriptionPlainText”:”Scott Galloway weighs chasing your passion versus pursuing economic security when switching careers later in life. Check out Scott Galloway’s new show on CNN+, starting in 2022.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211004101107-galloway-career-change-question-thumb-large-169.jpg”,”title”:”How do you start a second or third career? Scott Galloway explains”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/10/04/scott-galloway-late-career-change.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/10/04/scott-galloway-late-career-change.cnn-business”,”videoId”:”business/2021/10/04/scott-galloway-late-career-change.cnn-business”,”videoUrl”:”/videos/business/2021/10/04/scott-galloway-late-career-change.cnn-business/video/playlists/business-career/”,”surrogateKey”:”video_20D0B32A-880B-044D-318F-4BA680AA5526″},{“descriptionPlainText”:”Airbnb CEO Brian Chesky says the flexibility of a hybrid work schedule will bring back the travel industry.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210921093807-brian-chesky-airbnb-ceo-large-169.jpg”,”title”:”Airbnb CEO: Workplace flexibility is the future but there are risks”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/21/airbnb-ceo-remote-work-travel.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/21/airbnb-ceo-remote-work-travel.cnnbusiness”,”videoId”:”business/2021/09/21/airbnb-ceo-remote-work-travel.cnnbusiness”,”videoUrl”:”/videos/business/2021/09/21/airbnb-ceo-remote-work-travel.cnnbusiness/video/playlists/business-career/”,”surrogateKey”:”video_5EE67CAD-D17A-5C99-8D05-086EDD9E3923″},{“descriptionPlainText”:”As the Delta variant surges around the country, Corporate America is taking a stand on vaccinations. Johnny Taylor, president and CEO of the Society for Human Resource Management, explains the conditions employees will face if they aren’t vaccinated against Covid-19.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210728110348-covid-vaccine-arm-large-169.jpg”,”title”:”Businesses are taking a stand on vaccines”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/30/vaccines-companies-employees-work-delta-covid.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/30/vaccines-companies-employees-work-delta-covid.cnnbusiness”,”videoId”:”business/2021/07/30/vaccines-companies-employees-work-delta-covid.cnnbusiness”,”videoUrl”:”/videos/business/2021/07/30/vaccines-companies-employees-work-delta-covid.cnnbusiness/video/playlists/business-career/”,”surrogateKey”:”video_B4CCDB2C-7F6E-EC90-98D0-F745D2AB7299″},{“descriptionPlainText”:”During CNN Business’ live event series, Foreseeable Future, BetterUp CEO Alexi Robichaux explained how returning to the office can create new challenges for middle managers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210729130931-betterup-ceo-foreseeable-2-large-169.jpg”,”title”:”Why return to work is putting more of a burden on managers”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/29/hybrid-work-manager-burnout-betterup.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/29/hybrid-work-manager-burnout-betterup.cnn”,”videoId”:”business/2021/07/29/hybrid-work-manager-burnout-betterup.cnn”,”videoUrl”:”/videos/business/2021/07/29/hybrid-work-manager-burnout-betterup.cnn/video/playlists/business-career/”,”surrogateKey”:”video_DE42F424-54C1-3AC7-FCED-F31E5EB2C84C”},{“descriptionPlainText”:”During CNN Business’ live event series, Foreseeable Future, Microsoft CEO Satya Nadella shared how the tech giant is trying to retain workers and what the pandemic has taught him.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210616232944-microsoft-satya-nadella-large-169.jpg”,”title”:”Microsoft CEO shares leadership lessons he’s learned during the pandemic”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/29/satya-nadella-microsoft-ceo-retention-pandemic-leadership-lessons.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/29/satya-nadella-microsoft-ceo-retention-pandemic-leadership-lessons.cnn-business”,”videoId”:”business/2021/07/29/satya-nadella-microsoft-ceo-retention-pandemic-leadership-lessons.cnn-business”,”videoUrl”:”/videos/business/2021/07/29/satya-nadella-microsoft-ceo-retention-pandemic-leadership-lessons.cnn-business/video/playlists/business-career/”,”surrogateKey”:”video_5E13C092-9DAD-9B13-15B6-F303989F570E”},{“descriptionPlainText”:”Atlantic writer Joe Pinsker tells CNN’s Anderson Cooper how having an extra day off from the workweek can give employees more enthusiasm. Anderson Cooper Full Circle airs Monday, Wednesday and Friday at 6p E.T.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210714185351-02-joe-pinsker-mobapp-acfc-large-169.jpg”,”title”:”Writer suggests one way to get rid of ‘Sunday scaries’ “,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/14/joe-pinsker-extra-day-off-acfc-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/14/joe-pinsker-extra-day-off-acfc-sot-vpx.cnn”,”videoId”:”business/2021/07/14/joe-pinsker-extra-day-off-acfc-sot-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/14/joe-pinsker-extra-day-off-acfc-sot-vpx.cnn/video/playlists/business-career/”,”surrogateKey”:”video_E95280C9-EFA5-A9ED-7E01-A6EF21D843AD”},{“descriptionPlainText”:”Wages are going up as companies struggle to fill open jobs. Nela Richardson, Chief Economist at ADP Research Institute, explains why these increases might not be enough to attract new hires.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210714135448-rising-wages-job-openings-nela-richardson-jg-orig-00013402-large-169.png”,”title”:”Economist explains why there are so many job openings”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/14/rising-wages-job-openings-nela-richardson-jg-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/14/rising-wages-job-openings-nela-richardson-jg-orig.cnn-business”,”videoId”:”business/2021/07/14/rising-wages-job-openings-nela-richardson-jg-orig.cnn-business”,”videoUrl”:”/videos/business/2021/07/14/rising-wages-job-openings-nela-richardson-jg-orig.cnn-business/video/playlists/business-career/”,”surrogateKey”:”video_9F4C7A6D-E3FC-7EEB-10EA-A5FBD97BDC66″},{“descriptionPlainText”:”Journalist Gretchen Carlson and CNN’s Anderson Cooper talk about battling sexual harassment in the workplace. Watch “Full Circle” Monday, Wednesday and Friday at 6p E.T.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210712161655-desktop-acfc-gretchen-carlson-large-169.jpg”,”title”:”Gretchen Carlson: Going to HR is not always the best thing to do”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/07/12/gretchen-carlson-secret-chamber-sot-acfc-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/07/12/gretchen-carlson-secret-chamber-sot-acfc-vpx.cnn”,”videoId”:”media/2021/07/12/gretchen-carlson-secret-chamber-sot-acfc-vpx.cnn”,”videoUrl”:”/videos/media/2021/07/12/gretchen-carlson-secret-chamber-sot-acfc-vpx.cnn/video/playlists/business-career/”,”surrogateKey”:”video_C430CFC9-44D5-2C42-E22F-9CE545733018″},{“descriptionPlainText”:”Upset workers changed a Burger King sign to read “We all quit.” CNN’s Jeanne Moos reports on the mutiny at a Nebraska Burger King.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210712201253-burger-king-employees-we-all-quit-sign-moos-pkg-vpx-00004225-large-169.jpg”,”title”:”Employees go viral after resigning via Burger King sign”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/12/burger-king-employees-we-all-quit-sign-moos-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/12/burger-king-employees-we-all-quit-sign-moos-pkg-vpx.cnn”,”videoId”:”business/2021/07/12/burger-king-employees-we-all-quit-sign-moos-pkg-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/12/burger-king-employees-we-all-quit-sign-moos-pkg-vpx.cnn/video/playlists/business-career/”,”surrogateKey”:”video_D9D19F33-813C-1640-48A6-9CF0A5D451CF”},{“descriptionPlainText”:”During the Covid-19 pandemic, childcare costs nearly doubled, leaving some families to take drastic measures to afford daycare. CNN’s Pamela Brown reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210709172853-child-care-costs-brown-dnt-large-169.jpeg”,”title”:”‘More than my rent’: Childcare costs have spiked”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/09/childcare-costs-rise-covid-brown-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/09/childcare-costs-rise-covid-brown-dnt-lead-vpx.cnn”,”videoId”:”business/2021/07/09/childcare-costs-rise-covid-brown-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/09/childcare-costs-rise-covid-brown-dnt-lead-vpx.cnn/video/playlists/business-career/”,”surrogateKey”:”video_C229EDB2-9B67-70F5-AE5F-8D1B039CCF35″},{“descriptionPlainText”:”As companies implement post pandemic work plans, some businesses are allowing hybrid options while others want employees back in the office full time. CNN’s Anna Stewart reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210628141649-office-building-entrance-large-169.jpeg”,”title”:”Remote or office work? The strategies are varied”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/28/work-from-home-or-return-to-office.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/28/work-from-home-or-return-to-office.cnnbusiness”,”videoId”:”business/2021/06/28/work-from-home-or-return-to-office.cnnbusiness”,”videoUrl”:”/videos/business/2021/06/28/work-from-home-or-return-to-office.cnnbusiness/video/playlists/business-career/”,”surrogateKey”:”video_C38836C1-6174-97FE-DB21-53B583CDBE3F”}],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/2021/11/27/great-resignation-covid-19-pandemic-yurkevich-dnt-ndwknd-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-283v31i’,videoDescriptionDivId: ‘js-video_description-283v31i’,videoDurationDivId: ‘js-video_duration-283v31i’,videoTitleDivId: ‘js-leaf-video_headline-283v31i’,videoSourceDivId: ‘js-video_sourceName-283v31i’});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(‘

Leave a comment

Your email address will not be published. Required fields are marked *