See Andrew Cuomo explain his resignation

‘);$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/08/10/andrew-cuomo-resignation-new-york-governor-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/210810115517-01-cuomo-presser-0810-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210810115517-01-cuomo-presser-0810-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210810115517-01-cuomo-presser-0810-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210810115517-01-cuomo-presser-0810-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210810115517-01-cuomo-presser-0810-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210810115517-01-cuomo-presser-0810-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210810115517-01-cuomo-presser-0810-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Gov. Andrew Cuomo announces he will step down as governor of New York in late August 2021.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210810115517-01-cuomo-presser-0810-large-169.jpg”,”title”:”See Andrew Cuomo explain his resignation”,”videoCMSUrl”:”/videos/politics/2021/08/10/andrew-cuomo-resignation-new-york-governor-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2021/08/10/andrew-cuomo-resignation-new-york-governor-vpx.cnn”,”videoId”:”politics/2021/08/10/andrew-cuomo-resignation-new-york-governor-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/10/andrew-cuomo-resignation-new-york-governor-vpx.cnn”,”surrogateKey”:”video_EC013B04-03AA-A4C3-67B1-30DB39865D01″},{“descriptionPlainText”:”New America CEO Anne-Marie Slaughter and Eurasia Group President Ian Bremmer say that Fox News host Tucker Carlson’s embrace of Hungary’s authoritarian leader Viktor Orbán reflects former President Donald Trump’s vision of the Republican party.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210808121255-tucker-carlson-donald-trump-split-for-video-large-169.jpg”,”title”:”Why Trump conservatives are embracing Hungary’s autocracy”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/08/08/tucker-carlson-trump-conservatism-embracing-hungary-autocracy-sot-fareed-gps-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/08/08/tucker-carlson-trump-conservatism-embracing-hungary-autocracy-sot-fareed-gps-vpx.cnn”,”videoId”:”media/2021/08/08/tucker-carlson-trump-conservatism-embracing-hungary-autocracy-sot-fareed-gps-vpx.cnn”,”videoUrl”:”/videos/media/2021/08/08/tucker-carlson-trump-conservatism-embracing-hungary-autocracy-sot-fareed-gps-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_85444115-D2D5-7B43-9393-268248ADFB6D”},{“descriptionPlainText”:”In this preview from the CNN special “Being .. AOC,” Dana Bash asks Rep. Alexandria Ocasio Cortez (D-NY) on if she plans to mount a challenge against Senate Majority Leader Charles Schumer (D-NY) in 2022.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210808101542-alexandria-ocasio-cortez-charles-schumer-large-169.jpg”,”title”:”Bash asks Alexandria Ocasio-Cortez if she will challenge Schumer”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/08/alexandria-ocasio-cortez-schumer-political-future-bash-being-aoc-sot-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/08/alexandria-ocasio-cortez-schumer-political-future-bash-being-aoc-sot-sotu-vpx.cnn”,”videoId”:”politics/2021/08/08/alexandria-ocasio-cortez-schumer-political-future-bash-being-aoc-sot-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/08/alexandria-ocasio-cortez-schumer-political-future-bash-being-aoc-sot-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_11DAB82E-7311-B3A6-BB4E-2617230D49E8″},{“descriptionPlainText”:”Rep. Alexandria Ocasio-Cortez (D-NY) reveals she feared being raped during the January 6th insurrection and the link between white supremacy and patriarchy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210809085642-aoc-insurrection-interview-newday-large-169.jpeg”,”title”:”Alexandria Ocasio-Cortez reveals she feared being raped during insurrection”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/09/alexandria-ocasio-cortez-insurrection-bash-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/09/alexandria-ocasio-cortez-insurrection-bash-newday-vpx.cnn”,”videoId”:”politics/2021/08/09/alexandria-ocasio-cortez-insurrection-bash-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/09/alexandria-ocasio-cortez-insurrection-bash-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_8A87EA2A-DCD2-9792-0FE1-2AF657C7632F”},{“descriptionPlainText”:”Sen. Bill Cassidy (R-LA) says that he disagrees with Florida Gov. Ron DeSantis’ taking a top down approach in handling the Covid-19 pandemic, saying that decisions on mask mandates and restrictions should be made at the local level.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210808095142-bill-cassidy-ron-desantis-split-for-video-large-169.jpg”,”title”:”Republican disagrees with Ron DeSantis’ handling of Covid-19″,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/08/bill-cassidy-florida-desantis-covid-19-local-governments-sot-vpx-sotu.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/08/bill-cassidy-florida-desantis-covid-19-local-governments-sot-vpx-sotu.cnn”,”videoId”:”politics/2021/08/08/bill-cassidy-florida-desantis-covid-19-local-governments-sot-vpx-sotu.cnn”,”videoUrl”:”/videos/politics/2021/08/08/bill-cassidy-florida-desantis-covid-19-local-governments-sot-vpx-sotu.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_00A1A056-BE06-5ED3-E79F-25F9B2394E66″},{“descriptionPlainText”:”New information about the final days of Donald Trump’s presidency show an effort to subvert democracy with the help of his loyalists in the administration and Congress. CNN’s Jessica Scheider reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210527011135-02-capitol-riot-file-0106-large-169.jpg”,”title”:”Timeline shows how days leading up to Capitol riot unfolded”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/06/trump-loyalists-attempted-coup-timeline-schneider-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/06/trump-loyalists-attempted-coup-timeline-schneider-newday-vpx.cnn”,”videoId”:”politics/2021/08/06/trump-loyalists-attempted-coup-timeline-schneider-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/06/trump-loyalists-attempted-coup-timeline-schneider-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F65E0162-D193-4361-D4FE-1B5EC48E79E2″},{“descriptionPlainText”:”During an event in Alabama, Rep. Marjorie Taylor Greene (R-GA) suggested the crowd greet government volunteers promoting Covid-19 vaccines with guns if they knock on their doors.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210806203957-mtg-large-169.jpg”,”title”:”Marjorie Taylor Greene congratulates crowd for low vaccination rate”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/07/alabama-marjorie-taylor-greene-vaccine-biden-ebof-vpx-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/07/alabama-marjorie-taylor-greene-vaccine-biden-ebof-vpx-sot.cnn”,”videoId”:”politics/2021/08/07/alabama-marjorie-taylor-greene-vaccine-biden-ebof-vpx-sot.cnn”,”videoUrl”:”/videos/politics/2021/08/07/alabama-marjorie-taylor-greene-vaccine-biden-ebof-vpx-sot.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F1B44971-56C4-84D0-F20D-1E4A501E6BE6″},{“descriptionPlainText”:”Retired Army Lt. Col. Alexander Vindman, a key witness to President Donald Trump’s impeachment inquiry, tells CNN’s Jim Acosta about his bond with Capitol police officers who responded during the January 6 insurrection. He also adds that the attacks on their credibility by Fox News host Tucker Carlson and others demonizes the United States.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210807171220-alexander-vindman-tucker-carlson-donald-trump-impeachment-intv-nr-vpx-00003209-large-169.jpg”,”title”:”Vindman: Tucker Carlson is ‘hating the US’ with rhetoric”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/07/alexander-vindman-tucker-carlson-donald-trump-impeachment-intv-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/07/alexander-vindman-tucker-carlson-donald-trump-impeachment-intv-nr-vpx.cnn”,”videoId”:”politics/2021/08/07/alexander-vindman-tucker-carlson-donald-trump-impeachment-intv-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/07/alexander-vindman-tucker-carlson-donald-trump-impeachment-intv-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_20DBE822-AA07-FC7B-0D15-222A5A04CA56″},{“descriptionPlainText”:”Senior White House advisor Anita Dunn is one of the few people in history to be in the inner circle of two presidential campaigns, and two administrations: President Barack Obama, and now President Joe Biden. Dunn reminisces with CNN’s Dana Bash about what it was like going into work more than 40 years ago as an intern during Jimmy Carter’s administration.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210808104242-anita-dunn-file-handout-large-169.jpg”,”title”:”How Anita Dunn broke the professional mold created by men”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/07/badass-women-of-washington-anita-dunn-bash-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/07/badass-women-of-washington-anita-dunn-bash-pkg-vpx.cnn”,”videoId”:”politics/2021/08/07/badass-women-of-washington-anita-dunn-bash-pkg-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/07/badass-women-of-washington-anita-dunn-bash-pkg-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_650D17E0-1C15-0CCA-863E-22A6E825332C”},{“descriptionPlainText”:”In an interview with CNN’s Kate Bolduan, Maricopa County GOP official Bill Gates talks about the threats election officials have received for refusing to push Donald Trump’s big election lie and support the baseless Arizona election audit.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210806204026-maricopa-county-bill-gates-large-169.jpg”,”title”:”Arizona election official reacts to ‘check your six’ threat from Republican”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/07/bill-gates-intv-arizona-gop-warn-maricopa-county-official-trump-election-lie-audit-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/07/bill-gates-intv-arizona-gop-warn-maricopa-county-official-trump-election-lie-audit-ebof-vpx.cnn”,”videoId”:”politics/2021/08/07/bill-gates-intv-arizona-gop-warn-maricopa-county-official-trump-election-lie-audit-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/07/bill-gates-intv-arizona-gop-warn-maricopa-county-official-trump-election-lie-audit-ebof-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_DF53E66C-7428-F190-549A-1DFD637D5CC5″},{“descriptionPlainText”:”Brett Eagleson, who lost his father in the September 11 attacks in 2001, and other 9/11 families are calling on the White House to release classified documents on the Saudi Arabanian government’s possible involvement in the attacks.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210807115501-smerconish-9-11-families-biden-demands-cpt-vpx-00003801-large-169.png”,”title”:”9/11 families told Biden not to come to Ground Zero unless he does this”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/07/smerconish-9-11-families-biden-demands-cpt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/07/smerconish-9-11-families-biden-demands-cpt-vpx.cnn”,”videoId”:”politics/2021/08/07/smerconish-9-11-families-biden-demands-cpt-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/07/smerconish-9-11-families-biden-demands-cpt-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_4C582726-BB48-A908-1731-21490CC84B2F”},{“descriptionPlainText”:”New York State Assembly member Yuh-Line Niou, who is also a sexual assault survivor, reacts to comments made by Gov. Andrew Cuomo’s lawyer while appearing on CNN regarding the allegations of sexual assault against him.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210807200450-yuh-line-niou-intv-large-169.jpg”,”title”:”NY State Assembly member reacts to comments from Cuomo’s lawyer”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/07/andrew-cuomo-lawyer-new-york-assembly-member-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/07/andrew-cuomo-lawyer-new-york-assembly-member-sot-vpx-nr.cnn”,”videoId”:”politics/2021/08/07/andrew-cuomo-lawyer-new-york-assembly-member-sot-vpx-nr.cnn”,”videoUrl”:”/videos/politics/2021/08/07/andrew-cuomo-lawyer-new-york-assembly-member-sot-vpx-nr.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_46AA581E-DAA9-6024-A71F-230861C3AE41″},{“descriptionPlainText”:”In 2019, Jerry Goldfeder, who teaches election law at Fordham Law School, and Lincoln Mitchell, who teaches in political science department at Columbia University, predicted that then president Donald Trump would attempt to overturn the 2020 election if he lost. They say they are worried that even with Trump out office not much has changed and another January 6-style riot could occur if the Republican candidate doesn’t win in 2024.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210711201210-trump-cpac-dallas-0711-large-169.jpg”,”title”:”They predicted a Trump coup attempt. Hear what they say now”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/06/assault-on-democracy-election-experts-predicted-trump-coup-goldfeder-mitchell-newday-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/06/assault-on-democracy-election-experts-predicted-trump-coup-goldfeder-mitchell-newday-sot-vpx.cnn”,”videoId”:”politics/2021/08/06/assault-on-democracy-election-experts-predicted-trump-coup-goldfeder-mitchell-newday-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/06/assault-on-democracy-election-experts-predicted-trump-coup-goldfeder-mitchell-newday-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_7B2EDCA8-4B72-26D5-2052-1BA9F80E5EE4″},{“descriptionPlainText”:”As hospitals across the country are being overrun by Covid-19 patients — most of whom are unvaccinated — some lawmakers are hitting a wall in their efforts to increase vaccination rates and keep their states from closing down again.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210806085256-lawmakers-covid-19-frustrated-3-way-split-vpx-large-169.jpg”,”title”:”‘You’ve lost your minds’: Governor fires back at anti-vaxxers”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/06/lawmakers-frustrated-with-unvaccinated-sots-keilar-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/06/lawmakers-frustrated-with-unvaccinated-sots-keilar-newday-vpx.cnn”,”videoId”:”politics/2021/08/06/lawmakers-frustrated-with-unvaccinated-sots-keilar-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/06/lawmakers-frustrated-with-unvaccinated-sots-keilar-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_FA79D19E-6030-BF63-370B-1B503AC6EAF6″},{“descriptionPlainText”:”In a press conference on his YouTube channel, Governor Asa Hutchinson (R-AR) said he regretted banning mask mandates.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210804221256-asa-hutchinson-large-169.jpg”,”title”:”Arkansas governor regrets approving ban on mask mandates”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/05/arkansas-governor-sot-mandate-regret-covid-19-cpt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/05/arkansas-governor-sot-mandate-regret-covid-19-cpt-vpx.cnn”,”videoId”:”politics/2021/08/05/arkansas-governor-sot-mandate-regret-covid-19-cpt-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/05/arkansas-governor-sot-mandate-regret-covid-19-cpt-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C0BEC764-1FD3-3CF0-E80C-140D2FA1FC53″},{“descriptionPlainText”:”Rep. Cori Bush (D-MO) reacts to Missouri Republican Governor Mike Parson’s decision to pardon Mark and Patricia McCloskey, the St. Louis couple who pointed guns at protesters who were walking by their home.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210804084355-rep-cori-bush-missouri-governor-pardon-criticism-sot-newday-vpx-00021022-large-169.jpg”,”title”:”Rep. Cori Bush’s plea to Missouri governor: Do something, actually show up “,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/04/rep-cori-bush-missouri-governor-pardon-criticism-sot-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/04/rep-cori-bush-missouri-governor-pardon-criticism-sot-newday-vpx.cnn”,”videoId”:”politics/2021/08/04/rep-cori-bush-missouri-governor-pardon-criticism-sot-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/04/rep-cori-bush-missouri-governor-pardon-criticism-sot-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_19241774-31D5-ED07-5FC8-110374D2E1F3″}],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/08/10/andrew-cuomo-resignation-new-york-governor-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-1gs0lm4’,videoDescriptionDivId: ‘js-video_description-1gs0lm4’,videoDurationDivId: ‘js-video_duration-1gs0lm4’,videoTitleDivId: ‘js-leaf-video_headline-1gs0lm4’,videoSourceDivId: ‘js-video_sourceName-1gs0lm4’});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