See Ted Cruz’s big flip on Jan. 6 after McConnell’s remark

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2022/02/09/mcconnell-mccarthy-gop-split-raju-pkg-lead-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/220210071744-ted-cruz-mitch-mcconnell-split-small-169.jpg”,”height”:124},”xsmall”:{“width”:300,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220210071744-ted-cruz-mitch-mcconnell-split-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220210071744-ted-cruz-mitch-mcconnell-split-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220210071744-ted-cruz-mitch-mcconnell-split-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220210071744-ted-cruz-mitch-mcconnell-split-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220210071744-ted-cruz-mitch-mcconnell-split-full-169.jpg”,”height”:900},”mini1x1″:{“width”:100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220210071744-ted-cruz-mitch-mcconnell-split-small-11.jpg”,”height”:100}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Sen. Mitch McConnell (R-KY) called Jan. 6 a violent insurrection, but other lawmakers in his party are breaking with McConnell including Sen. Ted Cruz (R-TX).”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220210071744-ted-cruz-mitch-mcconnell-split-large-169.jpg”,”title”:”See Ted Cruz’s big flip on Jan. 6 after McConnell’s remark”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/09/mcconnell-mccarthy-gop-split-raju-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/09/mcconnell-mccarthy-gop-split-raju-pkg-lead-vpx.cnn”,”videoId”:”politics/2022/02/09/mcconnell-mccarthy-gop-split-raju-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/09/mcconnell-mccarthy-gop-split-raju-pkg-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_987A26AA-2FF7-B533-B8EA-E0A081DDE1FF”},{“descriptionPlainText”:”Transportation Secretary Pete Buttigieg reacts to Florida’s “Don’t Say Gay” bill, claiming it could lead to an increase in suicidal thoughts and suicide attempts among LGBTQ youth.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220209102425-pete-buttigieg-02092022-large-169.jpg”,”title”:”‘Absolutely’: Pete Buttigieg on whether ‘Don’t Say Gay’ bill is dangerous”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/09/pete-buttigieg-florida-dont-say-gay-bill-lgbtq-youth-impact-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/09/pete-buttigieg-florida-dont-say-gay-bill-lgbtq-youth-impact-nr-vpx.cnn”,”videoId”:”politics/2022/02/09/pete-buttigieg-florida-dont-say-gay-bill-lgbtq-youth-impact-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/09/pete-buttigieg-florida-dont-say-gay-bill-lgbtq-youth-impact-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_74BCA07C-334B-3E36-970B-E6DA82AFB0CD”},{“descriptionPlainText”:”Senator Mitch McConnell (R-KY) rebuked the RNC in a recent press conference where he called the events of January 6th a ‘violent insurrection.’ CNN’s Lauren Fox reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220209041421-mitch-mcconnell-presser-large-169.jpeg”,”title”:”Watch: McConnell breaks with the RNC over Jan. 6 insurrection”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/09/mitch-mcconnell-january-6-violent-insurrection-newday-fox-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/09/mitch-mcconnell-january-6-violent-insurrection-newday-fox-vpx.cnn”,”videoId”:”politics/2022/02/09/mitch-mcconnell-january-6-violent-insurrection-newday-fox-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/09/mitch-mcconnell-january-6-violent-insurrection-newday-fox-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_7CBE56B6-DFD7-843C-4E3D-E5FA952161A4″},{“descriptionPlainText”:”Rep. Joyce Beatty (D-OH) says Rep. Hal Rogers (R-KY) poked her and told her to “kiss my ass” after she asked him to wear a mask on a train. Rogers apologized publicly for the incident.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220209074331-joyce-beatty-hal-rogers-confrontation-video-large-169.jpg”,”title”:”GOP lawmaker apologizes after this tense altercation over masks”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/09/joyce-beatty-hal-rogers-mask-confrontation-video-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/09/joyce-beatty-hal-rogers-mask-confrontation-video-newday-vpx.cnn”,”videoId”:”politics/2022/02/09/joyce-beatty-hal-rogers-mask-confrontation-video-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/09/joyce-beatty-hal-rogers-mask-confrontation-video-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_7E6A0481-D461-10C6-6CDB-E3EDDA756455″},{“descriptionPlainText”:”Georgia Democratic gubernatorial candidate Stacey Abrams speaks to CNN’s Erin Burnett about a maskless photo of her taken at a school event with a classroom of masked students and faculty.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220208195256-abrams-vpx-screengrab-large-169.jpg”,”title”:”Stacey Abrams speaks out on maskless photo of her from school event”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/09/stacey-abrams-maskless-photo-intv-sot-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/09/stacey-abrams-maskless-photo-intv-sot-ebof-vpx.cnn”,”videoId”:”politics/2022/02/09/stacey-abrams-maskless-photo-intv-sot-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/09/stacey-abrams-maskless-photo-intv-sot-ebof-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A3464ED7-90EF-B3D4-C11C-E3898795FCA7″},{“descriptionPlainText”:”Despite repeated attacks on Hillary Clinton emails in 2016, Former President Trump’s White House record-keeping is in the spotlight after accusations of destroying documents. CNN’s Brian Todd has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161107093755-03-clinton-trump-split-mobile-web-large-169.jpg”,”title”:”Hillary Clinton trolling Trump’s record-keeping”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/08/trump-white-house-documents-hillary-clinton-todd-dnt-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/08/trump-white-house-documents-hillary-clinton-todd-dnt-tsr-vpx.cnn”,”videoId”:”politics/2022/02/08/trump-white-house-documents-hillary-clinton-todd-dnt-tsr-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/08/trump-white-house-documents-hillary-clinton-todd-dnt-tsr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_987A26AA-2FF7-B533-B8EA-E0A081DDE1FF”},{“descriptionPlainText”:”Wyoming Republican Rep. Liz Cheney has already raised millions for her 2022 reelection campaign. In today’s episode of The Point, CNN’s Chris Cillizza explains how all that money might not be enough to save one of the GOP’s most outspoken critics of former President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220207184644-liz-cheney-the-point-thumbnail-large-169.jpg”,”title”:”Why Liz Cheney’s money might not save her”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/07/liz-cheney-reelection-cillizza-the-point-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/07/liz-cheney-reelection-cillizza-the-point-orig.cnn”,”videoId”:”politics/2022/02/07/liz-cheney-reelection-cillizza-the-point-orig.cnn”,”videoUrl”:”/videos/politics/2022/02/07/liz-cheney-reelection-cillizza-the-point-orig.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_710DE39A-E427-DC9C-0706-DF00C336661D”},{“descriptionPlainText”:”CNN’s senior political analyst John Avlon reacts to the Supreme Court’s decision to uphold Alabama’s racial redistricting map and what it means for democracy at-large.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220208060942-john-avlon-reality-check-alabama-racial-redistricting-large-169.jpg”,”title”:”John Avlon examines the ‘rigged’ system of redistricting”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/08/alabama-racial-redistricting-gerrymandering-reality-check-newday-avlon-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/08/alabama-racial-redistricting-gerrymandering-reality-check-newday-avlon-vpx.cnn”,”videoId”:”politics/2022/02/08/alabama-racial-redistricting-gerrymandering-reality-check-newday-avlon-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/08/alabama-racial-redistricting-gerrymandering-reality-check-newday-avlon-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_47D5484D-0C51-4EEC-7CF6-DE5325EFA4E0″},{“descriptionPlainText”:”Florida Gov. Ron DeSantis was one of the first big-name Republicans to suggest that state lawmakers could have overturned the 2020 election but, during an event in Miami, he refused to say if he believes former Vice President Mike Pence could have overturned the election. CNN’s Chris Cillizza joins New Day to discuss.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220208071452-ron-desantis-large-169.jpg”,”title”:”DeSantis refuses to take sides between Pence and Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/08/ron-desantis-avoids-reporter-question-on-pence-overturning-election-newday-cillizza-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/08/ron-desantis-avoids-reporter-question-on-pence-overturning-election-newday-cillizza-sot-vpx.cnn”,”videoId”:”politics/2022/02/08/ron-desantis-avoids-reporter-question-on-pence-overturning-election-newday-cillizza-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/08/ron-desantis-avoids-reporter-question-on-pence-overturning-election-newday-cillizza-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_CADC7218-7FC6-04DA-4E5B-DE7D54872821″},{“descriptionPlainText”:”Some residents in Miami say their voter registration was unknowingly changed from Democrat to Republican. CNN’s Randi Kaye reports on why one Florida lawmaker is calling for an investigation into voter registration tactics.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220207215434-kaye-intv-fl-voters-duped-vpx-large-169.jpg”,”title”:”Florida voters claim they were duped into changing party affiliations”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/08/miami-voters-duped-republican-affiliation-change-ac360-kaye-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/08/miami-voters-duped-republican-affiliation-change-ac360-kaye-dnt-vpx.cnn”,”videoId”:”politics/2022/02/08/miami-voters-duped-republican-affiliation-change-ac360-kaye-dnt-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/08/miami-voters-duped-republican-affiliation-change-ac360-kaye-dnt-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E569BF58-F33F-34C5-89AD-DBEFC6523EA9″},{“descriptionPlainText”:”CNN’s John Berman speaks to high school student Ethan Lynne, who shares his reaction to a tweet about him sent from Virginia Gov. Glenn Youngkin’s campaign.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211026180653-glenn-youngkin-09-23-2021-large-169.jpg”,”title”:”High school student attacked in tweet by Virginia governor’s campaign”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/08/glenn-youngkin-campaign-twitter-attack-teen-ac360-intv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/08/glenn-youngkin-campaign-twitter-attack-teen-ac360-intv-vpx.cnn”,”videoId”:”politics/2022/02/08/glenn-youngkin-campaign-twitter-attack-teen-ac360-intv-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/08/glenn-youngkin-campaign-twitter-attack-teen-ac360-intv-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_528B0E13-8E10-1B22-3564-DBC628B3A1D1″},{“descriptionPlainText”:”After previously condemning former President Donald Trump for his actions on January 6, Rep. Nancy Mace (R-SC) posted a video of herself in front of Trump Tower boasting about being one of his earliest supporters.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220210224218-nancy-mace-trump-tower-twitter-large-169.jpg”,”title”:”Don Lemon calls out GOP lawmaker for her change of heart on Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/11/nancy-mace-trump-tower-dlt-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/11/nancy-mace-trump-tower-dlt-sot-vpx.cnn”,”videoId”:”politics/2022/02/11/nancy-mace-trump-tower-dlt-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/11/nancy-mace-trump-tower-dlt-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D7410913-10B2-5A84-7FC3-D693BECEFA53″},{“descriptionPlainText”:”Texas Governor Greg Abbott’s “Lone Star” border operation has been slammed as overtly political and a waste of resources by Democratic lawmakers since its start. Now, National Guard members participating in the mission join in the criticism. CNN’s Priscilla Alvarez has the story.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220210182729-01-national-guard-texas-border-file-large-169.jpg”,”title”:”‘Political theater’: National Guardsman on Abbott’s border operation”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/10/texas-border-operation-guardsmen-criticism-abbott-lead-alvarez-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/10/texas-border-operation-guardsmen-criticism-abbott-lead-alvarez-pkg-vpx.cnn”,”videoId”:”politics/2022/02/10/texas-border-operation-guardsmen-criticism-abbott-lead-alvarez-pkg-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/10/texas-border-operation-guardsmen-criticism-abbott-lead-alvarez-pkg-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_8633D65B-8E84-D54B-552A-D9A1DFFF9FE9″},{“descriptionPlainText”:”Rep. Marjorie Taylor Greene (R-GA) confused gazpacho with the Nazi gestapo in comments targeting House Speaker Nancy Pelosi (D-CA) who she falsely claims has police officers roaming the halls of the Capitol and spying on Republicans.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220210092820-marjorie-taylor-greene-gazpacho-large-169.jpg”,”title”:”Marjorie Taylor Greene accuses Nancy Pelosi of running ‘gazpacho police'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/10/marjorie-taylor-greene-gazpacho-police-pelosi-congress-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/10/marjorie-taylor-greene-gazpacho-police-pelosi-congress-lead-vpx.cnn”,”videoId”:”politics/2022/02/10/marjorie-taylor-greene-gazpacho-police-pelosi-congress-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/10/marjorie-taylor-greene-gazpacho-police-pelosi-congress-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_961F77DD-0723-5869-BF55-D934CA1DDA8B”},{“descriptionPlainText”:”Maggie Haberman’s new book “Confidence Man: The Making of Donald Trump and the Breaking of America” reveals that staff in the White House during Trump’s presidency say they found documents periodically flushed down the toilet in the White House. Maggie Haberman joins New Day to discuss.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220210043406-trump-file-09252021-large-169.jpg”,”title”:”Book reveals Trump staff found flushed papers in White House toilet”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/02/10/donald-trump-documents-toilet-white-house-haberman-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/02/10/donald-trump-documents-toilet-white-house-haberman-newday-vpx.cnn”,”videoId”:”politics/2022/02/10/donald-trump-documents-toilet-white-house-haberman-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2022/02/10/donald-trump-documents-toilet-white-house-haberman-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_9CC7AE7C-AC4A-E3A0-022C-D735649ABEB7″}],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/2022/02/09/mcconnell-mccarthy-gop-split-raju-pkg-lead-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-cdzg9e’,videoDescriptionDivId: ‘js-video_description-cdzg9e’,videoDurationDivId: ‘js-video_duration-cdzg9e’,videoTitleDivId: ‘js-leaf-video_headline-cdzg9e’,videoSourceDivId: ‘js-video_sourceName-cdzg9e’});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