‘Stupid’: McConnell’s warning for corporate America

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2021/04/06/mitch-mcconnell-corporate-america-stay-out-of-politics-sot-vpx.wave’,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/210406133007-mitch-mcconnell-april-6-2021-louisville-kentucky-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210406133007-mitch-mcconnell-april-6-2021-louisville-kentucky-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210406133007-mitch-mcconnell-april-6-2021-louisville-kentucky-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210406133007-mitch-mcconnell-april-6-2021-louisville-kentucky-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210406133007-mitch-mcconnell-april-6-2021-louisville-kentucky-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210406133007-mitch-mcconnell-april-6-2021-louisville-kentucky-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210406133007-mitch-mcconnell-april-6-2021-louisville-kentucky-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Senate Minority Leader Mitch McConnell (R-KY) says that corporations should stay out of politics and stop inserting themselves into debates over divisive issues.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210406133007-mitch-mcconnell-april-6-2021-louisville-kentucky-large-169.jpg”,”title”:”‘It’s stupid’: McConnell’s warning for corporate America”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/06/mitch-mcconnell-corporate-america-stay-out-of-politics-sot-vpx.wave/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/06/mitch-mcconnell-corporate-america-stay-out-of-politics-sot-vpx.wave”,”videoId”:”politics/2021/04/06/mitch-mcconnell-corporate-america-stay-out-of-politics-sot-vpx.wave”,”videoUrl”:”/videos/politics/2021/04/06/mitch-mcconnell-corporate-america-stay-out-of-politics-sot-vpx.wave/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_80FFDB04-2341-664B-C061-A82CFE0411C0″},{“descriptionPlainText”:”CNN’s John Avlon explains how the 2020 Trump campaign made online donations “repeat by default,” causing many of his supporters to donate money they did not initially consent to.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210406094503-reality-check-thumb-large-169.jpg”,”title”:”John Avlon breaks down fraud claims among Trump donors”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/06/trump-supporters-donations-reality-check-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/06/trump-supporters-donations-reality-check-avlon-newday-vpx.cnn”,”videoId”:”politics/2021/04/06/trump-supporters-donations-reality-check-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/06/trump-supporters-donations-reality-check-avlon-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A149BBB4-C899-857D-FB0B-A9074C0F1662″},{“descriptionPlainText”:”Bob Kent, the man Rep. Matt Gaetz has accused of trying to extort money from his family, responds to Gaetz’s allegations.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210406022258-bob-kent-large-169.jpg”,”title”:”Key figure in Gaetz extortion claims responds”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/06/bob-kent-matt-gaetz-allegations-respond-sot-cpt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/06/bob-kent-matt-gaetz-allegations-respond-sot-cpt-vpx.cnn”,”videoId”:”politics/2021/04/06/bob-kent-matt-gaetz-allegations-respond-sot-cpt-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/06/bob-kent-matt-gaetz-allegations-respond-sot-cpt-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C17D2108-0011-40ED-9EB0-A8FEB15DB24B”},{“descriptionPlainText”:”CNN’s Jake Tapper presses Georgia Secretary of State Brad Raffensperger why he supports the controversial state voting bill after he said there was no widespread fraud in the 2020 election and was attacked by former President Trump for taking a stand.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210405170903-brad-raffensperger-large-169.jpg”,”title”:”Tapper asks official why he supports Georgia’s voting bill”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/05/brad-raffensperger-georgia-voting-law-support-confidence-sot-tapper-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/05/brad-raffensperger-georgia-voting-law-support-confidence-sot-tapper-lead-vpx.cnn”,”videoId”:”politics/2021/04/05/brad-raffensperger-georgia-voting-law-support-confidence-sot-tapper-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/05/brad-raffensperger-georgia-voting-law-support-confidence-sot-tapper-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_80FFDB04-2341-664B-C061-A82CFE0411C0″},{“descriptionPlainText”:”The New York Times is reporting that former President Donald Trump’s campaign tried to make up a fundraising gap during the 2020 election cycle by signing up one-time online donors for repeat donations without their knowledge.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210405181520-brother-serfaty-pkg-screengrab-vpx-large-169.jpg”,”title”:”Trump donor’s brother: It was some sort of a scam”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/05/new-york-times-trump-campaign-duped-donors-sot-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/05/new-york-times-trump-campaign-duped-donors-sot-newday-vpx.cnn”,”videoId”:”politics/2021/04/05/new-york-times-trump-campaign-duped-donors-sot-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/05/new-york-times-trump-campaign-duped-donors-sot-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_5AB7769E-775C-9DF1-0C0D-A74B255CE2F5″},{“descriptionPlainText”:”CNN’s Jake Tapper shares his experience receiving the Covid-19 vaccine and looks back at how former President Donald Trump’s actions affected the nation’s pandemic response.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210404102152-tapper-ender-sotu-0404-vpx-large-169.jpeg”,”title”:”‘That’s a confession’: Tapper on Trump’s statement on his handling of pandemic”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/04/tapper-ender-vaccine-trump-handling-of-covid-19-pandemic-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/04/tapper-ender-vaccine-trump-handling-of-covid-19-pandemic-sotu-vpx.cnn”,”videoId”:”politics/2021/04/04/tapper-ender-vaccine-trump-handling-of-covid-19-pandemic-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/04/tapper-ender-vaccine-trump-handling-of-covid-19-pandemic-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_CE9245BD-D903-0CC5-B99A-A5D2608F755A”},{“descriptionPlainText”:”Mississippi Governor Tate Reeves pushed back on the idea of vaccine passports, asserting he does not think they seem like a good thing to do in America.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210404101124-mississippi-gov-tate-reeves-vaccine-passports-sotu-sot-vpx-00000214-large-169.jpg”,”title”:”Mississippi Gov. Reeves: I don’t support vaccine passports”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/04/mississippi-gov-tate-reeves-vaccine-passports-sotu-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/04/mississippi-gov-tate-reeves-vaccine-passports-sotu-sot-vpx.cnn”,”videoId”:”politics/2021/04/04/mississippi-gov-tate-reeves-vaccine-passports-sotu-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/04/mississippi-gov-tate-reeves-vaccine-passports-sotu-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_508F3E61-546A-D365-F9B4-A3F02DAF3EAB”},{“descriptionPlainText”:”Rep. Ilhan Omar (D-MN) speaks to CNN’s Jake Tapper about Georgia’s new voting law that critics deem restrictive, and Major League Baseball’s decision to move its All-Star game out of Atlanta in response to the law.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210404101129-ilhan-omar-large-169.jpg”,”title”:”Why Rep. Omar disagrees with Abrams about MLB decision”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/04/ilhan-omar-georgia-voting-law-major-league-baseball-sot-tapper-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/04/ilhan-omar-georgia-voting-law-major-league-baseball-sot-tapper-sotu-vpx.cnn”,”videoId”:”politics/2021/04/04/ilhan-omar-georgia-voting-law-major-league-baseball-sot-tapper-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/04/ilhan-omar-georgia-voting-law-major-league-baseball-sot-tapper-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D3238AA7-1323-4679-AB3C-A203ACF6E662″},{“descriptionPlainText”:”Sen. Bernie Sanders (I-VT) discusses President Joe Biden’s infrastructure plan and tells CNN’s Jake Tapper that the US needs to address its “human infrastructure” as well.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210404095914-sanders-sotu-0404-vpx-large-169.jpeg”,”title”:”Sanders: Biden has given a serious proposal based on a serious problem”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/04/bernie-sanders-intv-biden-infrastructure-plan-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/04/bernie-sanders-intv-biden-infrastructure-plan-sotu-vpx.cnn”,”videoId”:”politics/2021/04/04/bernie-sanders-intv-biden-infrastructure-plan-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/04/bernie-sanders-intv-biden-infrastructure-plan-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E829E7C9-D867-4D95-4B85-9D3116B92617″},{“descriptionPlainText”:”CNN’s Daniel Dale fact-checks some of the claims made by President Biden and Georgia Gov. Brian Kemp about Georgia’s new sweeping election law.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210403162943-daniel-dale-saturday-nr-vpx-screengrab-04032021-large-169.jpg”,”title”:”Dale fact-checks claims surrounding Georgia’s new voting law”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/03/daniel-dale-fact-check-georgia-voting-bill-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/03/daniel-dale-fact-check-georgia-voting-bill-vpx.cnn”,”videoId”:”politics/2021/04/03/daniel-dale-fact-check-georgia-voting-bill-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/03/daniel-dale-fact-check-georgia-voting-bill-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_BD67D4B5-6F8F-4D47-4036-9D2F9445B1BA”},{“descriptionPlainText”:”Former Presidents Barack Obama and Donald Trump weigh in on Major League Baseball’s decision to move its All-Star Game out of Atlanta in response to Georgia’s new sweeping election law that imposes significant new obstacles to voting.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200218073745-obama-trump-split-large-16-9.jpg”,”title”:”See difference between Obama’s and Trump’s statements on MLB decision”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/03/obama-and-trump-statements-on-mlb-moving-all-star-game-from-georgia-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/03/obama-and-trump-statements-on-mlb-moving-all-star-game-from-georgia-vpx.cnn”,”videoId”:”politics/2021/04/03/obama-and-trump-statements-on-mlb-moving-all-star-game-from-georgia-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/03/obama-and-trump-statements-on-mlb-moving-all-star-game-from-georgia-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_353CE342-5628-10A4-8EA1-9D30DDDB7421″},{“descriptionPlainText”:”CNN’s Evan Perez reports that the suspect in the Capitol attack posted fears about the FBI and CIA a week before police say he rammed a vehicle into a barricade outside the Capitol building.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210402141149-03-capitol-security-threat-0402-large-169.jpg”,”title”:”Capitol suspect posted about fearing CIA and FBI”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/04/02/perez-mccabe-capitol-suspect-social-media-posts-fbi-cia-sot-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/04/02/perez-mccabe-capitol-suspect-social-media-posts-fbi-cia-sot-tsr-vpx.cnn”,”videoId”:”us/2021/04/02/perez-mccabe-capitol-suspect-social-media-posts-fbi-cia-sot-tsr-vpx.cnn”,”videoUrl”:”/videos/us/2021/04/02/perez-mccabe-capitol-suspect-social-media-posts-fbi-cia-sot-tsr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_00398522-0499-E971-9CF2-9CFFFF91764E”},{“descriptionPlainText”:”Federal investigators looking into Rep. Matt Gaetz’s relationships with young women have examined whether any federal campaign money was involved in paying for travel and expenses for the women, a person briefed on the matter said. CNN’s Paula Reid has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210331140547-01-matt-gaetz-file-2020-large-169.jpg”,”title”:”Hear odd voicemail Gaetz and friend left female Florida lawmaker”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/02/matt-gaetz-joel-greenberg-voicemail-florida-lawmaker-reid-pkg-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/02/matt-gaetz-joel-greenberg-voicemail-florida-lawmaker-reid-pkg-ebof-vpx.cnn”,”videoId”:”politics/2021/04/02/matt-gaetz-joel-greenberg-voicemail-florida-lawmaker-reid-pkg-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/02/matt-gaetz-joel-greenberg-voicemail-florida-lawmaker-reid-pkg-ebof-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2A0A0E94-0BFD-7B52-C1CA-99628DFDCB4C”},{“descriptionPlainText”:”CNN’s Sunlen Serfaty reports on the trend across the country with 26 Republican-lead states proposing anti-transgender sports bills.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210406175317-georgia-lawmaker-transgender-questions-gop-large-169.jpg”,”title”:”GOP lawmakers can’t give examples of why states need anti-transgender sports bills”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/06/transgender-children-sports-republican-anti-trans-bills-serfaty-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/06/transgender-children-sports-republican-anti-trans-bills-serfaty-pkg-lead-vpx.cnn”,”videoId”:”politics/2021/04/06/transgender-children-sports-republican-anti-trans-bills-serfaty-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/06/transgender-children-sports-republican-anti-trans-bills-serfaty-pkg-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_91CA30D8-6442-51B1-5B61-989FC78DF424″},{“descriptionPlainText”:”President Joe Biden says that it is reassuring to see corporations speak up about restrictive voting laws and admonished states that are pushing new measures that make voting more difficult.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210406172321-joe-biden-april-6-2021-04-large-169.jpg”,”title”:”‘Smarten up’: Biden admonishes states’ restrictive voting laws”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/06/joe-biden-georgia-voting-laws-smarten-up-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/06/joe-biden-georgia-voting-laws-smarten-up-sot-vpx.cnn”,”videoId”:”politics/2021/04/06/joe-biden-georgia-voting-laws-smarten-up-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/06/joe-biden-georgia-voting-laws-smarten-up-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2D7755C7-08EA-15F4-0ED8-94A1984A6072″}],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:”politics/2021/04/06/mitch-mcconnell-corporate-america-stay-out-of-politics-sot-vpx.wave”, 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-1eu3eeg’,videoDescriptionDivId: ‘js-video_description-1eu3eeg’,videoDurationDivId: ‘js-video_duration-1eu3eeg’,videoTitleDivId: ‘js-leaf-video_headline-1eu3eeg’,videoSourceDivId: ‘js-video_sourceName-1eu3eeg’});if (CNN.Utils.exists(videocardContents.showName)) {if (CNN.Utils.exists(videocardContents.showUrl)) {showDetailsSpanContent = ‘‘ + videocardContents.showName + ‘ | ‘;} else {showDetailsSpanContent = videocardContents.showName + ‘ | ‘;}}fastdom.measure(function getShowInfo() {var $show = jQuery(‘.metadata__show’),$isShowDetailsSpanExists = $show.find(‘span’).hasClass(‘metadata–show__name’),$showName = jQuery(‘.metadata–show__name’);fastdom.mutate(function updateShowInfo() {if (!$isShowDetailsSpanExists) {$show.prepend(‘

Loading

Leave a Reply

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

Follow by Email
Pinterest
LinkedIn
Share