Watch 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”:”/videos/politics/2021/04/06/mitch-mcconnell-corporate-america-stay-out-of-politics-sot-vpx.wave”,”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”,”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_D3238AA7-1323-4679-AB3C-A203ACF6E662″},{“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_E829E7C9-D867-4D95-4B85-9D3116B92617″},{“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_BD67D4B5-6F8F-4D47-4036-9D2F9445B1BA”},{“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_353CE342-5628-10A4-8EA1-9D30DDDB7421″},{“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_00398522-0499-E971-9CF2-9CFFFF91764E”},{“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_2A0A0E94-0BFD-7B52-C1CA-99628DFDCB4C”},{“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_91CA30D8-6442-51B1-5B61-989FC78DF424″},{“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_2D7755C7-08EA-15F4-0ED8-94A1984A6072″},{“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_AD01FF22-6781-7211-032A-950060EA2505″},{“descriptionPlainText”:”At least one US Capitol Police officer has died and another is injured after a suspect rammed a vehicle into a police barricade outside the Capitol building, the department’s acting chief told reporters during a press briefing roughly two hours after initial reports of the attack first surfaced. Police and National Guardsmen responded swiftly as the situation unfolded, immediately moving to secure the Capitol as initial reports of violence began to emerge.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210402142013-05-capitol-security-threat-0402-large-169.jpg”,”title”:”Starr on National Guard response: This is how it’s supposed to work”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/02/dc-national-guard-deployed-capitol-police-attack-starr-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/02/dc-national-guard-deployed-capitol-police-attack-starr-tsr-vpx.cnn”,”videoId”:”politics/2021/04/02/dc-national-guard-deployed-capitol-police-attack-starr-tsr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/02/dc-national-guard-deployed-capitol-police-attack-starr-tsr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_557EEA37-9675-6F5D-95F3-94BF0C694090″},{“descriptionPlainText”:”One US Capitol Police officer has died and another is injured after a suspect rammed a vehicle into a police barricade outside the Capitol building, the department’s acting chief Yogananda Pittman said. CNN’s Brian Todd has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210402164119-uscp-officer-william-evans-large-169.jpg”,”title”:”Capitol Police officer killed after suspect rams car into barrier”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/04/02/capitol-police-attack-suspect-todd-wrap-dnt-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/04/02/capitol-police-attack-suspect-todd-wrap-dnt-tsr-vpx.cnn”,”videoId”:”us/2021/04/02/capitol-police-attack-suspect-todd-wrap-dnt-tsr-vpx.cnn”,”videoUrl”:”/videos/us/2021/04/02/capitol-police-attack-suspect-todd-wrap-dnt-tsr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_8773A51D-8119-F7B4-C9A1-949E62486FFC”},{“descriptionPlainText”:”CNN’s Dana Bash and Nia-Malika Henderson explain why Republican colleagues of Rep. Matt Gaetz (R-FL) are not rallying to his defense as Federal investigators look into his relationships with young women.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210402121017-dana-bash-matt-gaetz-split-for-video-large-169.jpg”,”title”:”Bash: I can’t repeat on TV what Gaetz’s colleagues are telling me”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/02/matt-gaetz-gop-colleagues-dana-bash-nia-malika-henderson-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/02/matt-gaetz-gop-colleagues-dana-bash-nia-malika-henderson-newday-vpx.cnn”,”videoId”:”politics/2021/04/02/matt-gaetz-gop-colleagues-dana-bash-nia-malika-henderson-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/02/matt-gaetz-gop-colleagues-dana-bash-nia-malika-henderson-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A75D2CFA-98B5-5DD2-D1E9-933F54F564D4″},{“descriptionPlainText”:”Georgia Democratic State Rep. Park Cannon and her attorney Gerald Griggs speak to CNN’s Don Lemon about Cannon’s arrest after protesting a voting restriction bill by knocking on Republican Gov. Brian Kemp’s office door.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210401225753-rep-park-cannon-and-atty-gerald-griggs-intv-ctn-vpx-large-169.jpg”,”title”:”Georgia State Rep. defends actions leading to arrest in State Capitol “,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/02/georgia-state-rep-park-cannon-after-arrest-ctn-intv-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/02/georgia-state-rep-park-cannon-after-arrest-ctn-intv-sot-vpx.cnn”,”videoId”:”politics/2021/04/02/georgia-state-rep-park-cannon-after-arrest-ctn-intv-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/02/georgia-state-rep-park-cannon-after-arrest-ctn-intv-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E357111C-8D43-1271-A921-906AD064E93D”},{“descriptionPlainText”:”CNN’s Dianne Gallagher reports on a new tally from the Brennan Center of Justice that says 361 bills with restrictive provisions have been introduced in 47 states.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210326161944-01-georgia-voting-2020-large-169.jpg”,”title”:”Brennan Center: Over 360 bills introduced that make voting harder “,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/02/states-bills-voting-rights-gallagher-pkg-ctn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/02/states-bills-voting-rights-gallagher-pkg-ctn-vpx.cnn”,”videoId”:”politics/2021/04/02/states-bills-voting-rights-gallagher-pkg-ctn-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/02/states-bills-voting-rights-gallagher-pkg-ctn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C8AACB14-221D-31A1-7979-90B5B4A11042″},{“descriptionPlainText”:”CNN’s Sunlen Serfaty takes a closer look at Rep. Matt Gaetz and his family and reports on the federal investigation looking into his relationships with young women, and whether any federal campaign money was involved in paying for travel and expenses for the women.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190226184548-gaetz-witness-testing-large-169.jpg”,”title”:”Rep. Gaetz says $25 million extortion plot behind investigation”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/01/matt-gaetz-justice-dept-family-investigation-serfaty-pkg-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/01/matt-gaetz-justice-dept-family-investigation-serfaty-pkg-ebof-vpx.cnn”,”videoId”:”politics/2021/04/01/matt-gaetz-justice-dept-family-investigation-serfaty-pkg-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/01/matt-gaetz-justice-dept-family-investigation-serfaty-pkg-ebof-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D6ACE57E-EB21-9BDA-9AC6-8FAC65C7D2D1″}],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-pnuo0w’,videoDescriptionDivId: ‘js-video_description-pnuo0w’,videoDurationDivId: ‘js-video_duration-pnuo0w’,videoTitleDivId: ‘js-leaf-video_headline-pnuo0w’,videoSourceDivId: ‘js-video_sourceName-pnuo0w’});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