Texas GOP rolls out series of bills to restrict voting

‘);$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/03/16/texas-voting-restriction-bills-gallagher-dnt-newday-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/210315171651-texas-republicans-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210315171651-texas-republicans-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210315171651-texas-republicans-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210315171651-texas-republicans-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210315171651-texas-republicans-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210315171651-texas-republicans-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210315171651-texas-republicans-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Already home to some of the most restrictive voting laws in the US, Texas is joining other states in introducing legislature that could make it harder to vote. CNN’s Dianne Gallagher reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210315171651-texas-republicans-large-169.jpg”,”title”:”Texas GOP rolls out series of bills to restrict voting”,”videoCMSUrl”:”/videos/politics/2021/03/16/texas-voting-restriction-bills-gallagher-dnt-newday-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2021/03/16/texas-voting-restriction-bills-gallagher-dnt-newday-vpx.cnn”,”videoId”:”politics/2021/03/16/texas-voting-restriction-bills-gallagher-dnt-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/03/16/texas-voting-restriction-bills-gallagher-dnt-newday-vpx.cnn”,”surrogateKey”:”video_359A0922-E3BD-2DC9-4471-3AB3BB689086″},{“descriptionPlainText”:”Democratic Sen. Joe Manchin of West Virginia told CNN that the deadly attack on January 6th at the US Capitol “changed” him, saying, “you can’t have this many people split to where they want to go to war with each other” as he calls for Democrats and Republicans to work together on top legislative priorities in a divided Washington.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210408155128-joe-manchin-large-169.jpg”,”title”:”‘I never thought in my life …’ Why Manchin won’t walk away from bipartisanship”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/08/manchin-capitol-riot-fox-intv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/08/manchin-capitol-riot-fox-intv-vpx.cnn”,”videoId”:”politics/2021/04/08/manchin-capitol-riot-fox-intv-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/08/manchin-capitol-riot-fox-intv-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B3169704-55B2-DDC6-F5A3-B2BB5ED6F2E3″},{“descriptionPlainText”:”CNN’s Sunlen Serfaty takes a look at Rep. Matt Gaetz’s (R-FL) political career.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210408164153-06-gaetz-file-2019-large-169.jpg”,”title”:”‘Bombastic, antagonistic, unapologetic’: A look at Gaetz’s political career”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/08/matt-gaetz-political-career-serfaty-tsr-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/08/matt-gaetz-political-career-serfaty-tsr-pkg-vpx.cnn”,”videoId”:”politics/2021/04/08/matt-gaetz-political-career-serfaty-tsr-pkg-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/08/matt-gaetz-political-career-serfaty-tsr-pkg-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_DF3A739A-75CB-C4C2-22A4-B393EA9024BB”},{“descriptionPlainText”:”John Boehner, former Republican House Speaker, reflects on his tenure in office in his new book, “On the House: A Washington Memoir.” CNN’s Brian Todd breaks down some key stories from the book, including the time Alaska Rep. Don Young held a knife to his throat.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210407094117-john-boehner-file-2019-large-169.jpg”,”title”:”Boehner says Republican colleague held 10-inch knife to his throat outside House floor”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/08/john-boehner-book-gop-todd-pkg-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/08/john-boehner-book-gop-todd-pkg-tsr-vpx.cnn”,”videoId”:”politics/2021/04/08/john-boehner-book-gop-todd-pkg-tsr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/08/john-boehner-book-gop-todd-pkg-tsr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_79C4DC77-7B77-A0E1-3829-B3CEC3376C44″},{“descriptionPlainText”:”In his address calling for gun policy reform, President Biden said Congress should ban assault weapons and high capacity magazines as well as end immunity for gun manufacturing companies that prevents them from being sued.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210408120646-03-biden-gun-violence-prevention-0408-large-169.jpg”,”title”:”Biden calls for ban on assault weapons”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/08/gun-violence-reform-assault-weapons-president-biden-reform-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/08/gun-violence-reform-assault-weapons-president-biden-reform-vpx.cnn”,”videoId”:”politics/2021/04/08/gun-violence-reform-assault-weapons-president-biden-reform-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/08/gun-violence-reform-assault-weapons-president-biden-reform-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_51B1517B-13B8-6BB5-E837-B242D4D977E7″},{“descriptionPlainText”:”President Joe Biden responds to critics who say his $2 trillion infrastructure plan is “too big” and he should instead focus on traditional forms of infrastructure.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210407144138-joe-biden-large-169.jpg”,”title”:”Biden: High-speed internet is infrastructure “,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/07/joe-biden-infrastructure-plan-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/07/joe-biden-infrastructure-plan-sot-vpx.cnn”,”videoId”:”politics/2021/04/07/joe-biden-infrastructure-plan-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/07/joe-biden-infrastructure-plan-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_CE3EACDB-508A-3739-851F-AD851D2BF4E0″},{“descriptionPlainText”:”Former President Donald Trump released a short statement in response to reports that Rep. Matt Gaetz (R-FL), one of Trump’s most vocal defenders, asked him for a pre-emptive blanket pardon. CNN’s Ryan Nobles reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210407175536-donald-trump-matt-gaetz-split-for-video-02-large-169.jpg”,”title”:”Donald Trump breaks his silence on Matt Gaetz”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/07/matt-gaetz-donald-trump-statement-nobles-pkg-tsr-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/07/matt-gaetz-donald-trump-statement-nobles-pkg-tsr-sot.cnn”,”videoId”:”politics/2021/04/07/matt-gaetz-donald-trump-statement-nobles-pkg-tsr-sot.cnn”,”videoUrl”:”/videos/politics/2021/04/07/matt-gaetz-donald-trump-statement-nobles-pkg-tsr-sot.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_BC2802AB-A49E-2D5B-A79A-AE399ED0AED8″},{“descriptionPlainText”:”CNN’s Gloria Borger discusses a recent comment from Mississippi Secretary of State Michael Watson about registering college students to vote.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210407174844-borger-michael-whitlock-split-large-169.jpg”,”title”:”‘He says the quiet part out loud’: Borger reacts to GOP election official’s remark”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/07/mississippi-secretary-of-state-woke-voters-registration-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/07/mississippi-secretary-of-state-woke-voters-registration-lead-vpx.cnn”,”videoId”:”politics/2021/04/07/mississippi-secretary-of-state-woke-voters-registration-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/07/mississippi-secretary-of-state-woke-voters-registration-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_BDE1EAFB-0F86-E4A4-1CE2-AE421041FB03″},{“descriptionPlainText”:”New York Times reporter and CNN political analyst Maggie Haberman says that former President Donald Trump’s first instinct was to give a full-throated defense of Rep. Matt Gaetz (R-FL) in the wake of an investigation into sex trafficking allegations but was persuaded not to by his staff.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210407123635-matt-gaetz-donald-trump-split-for-video-large-169.jpg”,”title”:”Haberman: Trump had to be talked out of defending Matt Gaetz”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/07/haberman-trump-talked-out-of-defending-matt-gaetz-sot-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/07/haberman-trump-talked-out-of-defending-matt-gaetz-sot-newday-vpx.cnn”,”videoId”:”politics/2021/04/07/haberman-trump-talked-out-of-defending-matt-gaetz-sot-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/07/haberman-trump-talked-out-of-defending-matt-gaetz-sot-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_AB50D68D-CA6F-03A5-3663-AD24CB06A571″},{“descriptionPlainText”:”Georgia’s Lieutenant Governor Geoff Duncan discusses the state’s new and controversial elections law that was passed after then-President Donald Trump called into question the credibility of the state’s 2020 election results. There was no evidence of widespread voter fraud found in Georgia.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210407094721-geoff-duncan-lieutenant-governor-of-georgia-vpx-large-169.jpg”,”title”:”Georgia’s Lt. governor says elections law was a result of Trump’s misinformation”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/07/lieutenant-governor-geoff-duncan-georgia-elections-law-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/07/lieutenant-governor-geoff-duncan-georgia-elections-law-newday-vpx.cnn”,”videoId”:”politics/2021/04/07/lieutenant-governor-geoff-duncan-georgia-elections-law-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/07/lieutenant-governor-geoff-duncan-georgia-elections-law-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_96F5A703-169E-6849-A25C-AC9117448593″},{“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_A149BBB4-C899-857D-FB0B-A9074C0F1662″},{“descriptionPlainText”:”CNN’s John Avlon breaks down Senate Minority Leader Mitch McConnell’s call for corporations to stay out of politics, after companies such as Delta and Coke vocalized objections to Georgia’s new voting law.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210407084712-avlon-blue-tie-large-169.jpg”,”title”:”Avlon reacts to McConnell’s advice to corporations”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/07/mcconnell-corporations-georgia-voting-law-reality-check-avlon-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/07/mcconnell-corporations-georgia-voting-law-reality-check-avlon-vpx.cnn”,”videoId”:”politics/2021/04/07/mcconnell-corporations-georgia-voting-law-reality-check-avlon-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/07/mcconnell-corporations-georgia-voting-law-reality-check-avlon-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_4DA418E6-E821-17A8-E8A8-AC5227BA41BF”},{“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_C17D2108-0011-40ED-9EB0-A8FEB15DB24B”},{“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_5AB7769E-775C-9DF1-0C0D-A74B255CE2F5″},{“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_CE9245BD-D903-0CC5-B99A-A5D2608F755A”}],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/03/16/texas-voting-restriction-bills-gallagher-dnt-newday-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-11eiy3f’,videoDescriptionDivId: ‘js-video_description-11eiy3f’,videoDurationDivId: ‘js-video_duration-11eiy3f’,videoTitleDivId: ‘js-leaf-video_headline-11eiy3f’,videoSourceDivId: ‘js-video_sourceName-11eiy3f’});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