Amy Coney Barrett was grilled on these election issues

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2020/10/14/amy-coney-barrett-on-2020-election-orig-vf.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/201014171804-30-barrett-hearing-1014-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201014171804-30-barrett-hearing-1014-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201014171804-30-barrett-hearing-1014-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201014171804-30-barrett-hearing-1014-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201014171804-30-barrett-hearing-1014-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201014171804-30-barrett-hearing-1014-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201014171804-30-barrett-hearing-1014-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”With voting already underway in states across the country, Democratic senators challenged Amy Coney Barrett on election issues during her Supreme Court confirmation hearing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201014171804-30-barrett-hearing-1014-large-169.jpg”,”title”:”Amy Coney Barrett was grilled on these election issues”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/14/amy-coney-barrett-on-2020-election-orig-vf.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/14/amy-coney-barrett-on-2020-election-orig-vf.cnn”,”videoId”:”politics/2020/10/14/amy-coney-barrett-on-2020-election-orig-vf.cnn”,”videoUrl”:”/videos/politics/2020/10/14/amy-coney-barrett-on-2020-election-orig-vf.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_EA8B3F88-C9AA-4B50-C87E-292A23316E0F”},{“descriptionPlainText”:”Democratic vice presidential candidate Kamala Harris questioned Supreme Court nominee Amy Coney Barrett about the climate crisis, but Barrett refused to say that climate change was a threat despite ample scientific evidence.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201014183424-kamala-harris-amy-coney-barrett-split-large-169.jpg”,”title”:”Watch what happened when Harris asked Barrett about climate crisis”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/14/kamala-harris-amy-coney-barrett-climate-crisis-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/14/kamala-harris-amy-coney-barrett-climate-crisis-sot.cnn”,”videoId”:”politics/2020/10/14/kamala-harris-amy-coney-barrett-climate-crisis-sot.cnn”,”videoUrl”:”/videos/politics/2020/10/14/kamala-harris-amy-coney-barrett-climate-crisis-sot.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_EA8B3F88-C9AA-4B50-C87E-292A23316E0F”},{“descriptionPlainText”:”Sen. Patrick Leahy (D-VT) questions Supreme Court nominee Amy Coney Barrett on whether the president of the United States has the power to pardon themselves of a crime. CNN’s Manu Raju tells us more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201014114644-09-barrett-hearing-1014-large-169.jpg”,”title”:”Barrett declines to answer if Trump can pardon himself”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/14/amy-coney-barrett-supreme-court-confirmation-hearing-presidential-pardon-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/14/amy-coney-barrett-supreme-court-confirmation-hearing-presidential-pardon-sot-vpx.cnn”,”videoId”:”politics/2020/10/14/amy-coney-barrett-supreme-court-confirmation-hearing-presidential-pardon-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/14/amy-coney-barrett-supreme-court-confirmation-hearing-presidential-pardon-sot-vpx.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_7F32D68B-DE12-B938-E819-2936165AECE4″},{“descriptionPlainText”:”During a Senate confirmation hearing for the Supreme Court, Sen. Ted Cruz (R-TX) asked Judge Amy Coney Barrett about her personal hobbies and parenting.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201014160030-barrett-cruz-split-large-169.jpg”,”title”:”Senator asks Amy Coney Barrett about parenting during confirmation hearing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/14/amy-coney-barrett-supreme-court-confirmation-hearing-ted-cruz-questions-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/14/amy-coney-barrett-supreme-court-confirmation-hearing-ted-cruz-questions-sot-vpx.cnn”,”videoId”:”politics/2020/10/14/amy-coney-barrett-supreme-court-confirmation-hearing-ted-cruz-questions-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/14/amy-coney-barrett-supreme-court-confirmation-hearing-ted-cruz-questions-sot-vpx.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_BA58E3E5-308D-028A-B62B-27C649A850CF”},{“descriptionPlainText”:”Senators questioned Amy Coney Barrett about her views on controversial issues she could face on the Supreme Court, from abortion, to health care, and a potential election dispute.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201013124905-12-barrett-hearing-1013-large-169.jpg”,”title”:”Watch Amy Coney Barrett’s answers on key legal issues”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/14/supreme-court-hearing-amy-coney-barrett-legal-questions-orig-vf.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/14/supreme-court-hearing-amy-coney-barrett-legal-questions-orig-vf.cnn”,”videoId”:”politics/2020/10/14/supreme-court-hearing-amy-coney-barrett-legal-questions-orig-vf.cnn”,”videoUrl”:”/videos/politics/2020/10/14/supreme-court-hearing-amy-coney-barrett-legal-questions-orig-vf.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_9A13F7C6-B30D-A41C-A953-2609293F1E57″},{“descriptionPlainText”:”During Judge Amy Coney Barrett’s Supreme Court confirmation hearing, Democratic vice presidential nominee Sen. Kamala Harris grilled Barrett on her knowledge of President Trump claiming he’ll only appoint judges against the Affordable Care Act.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201013194931-vpx-harris-barrett-split-large-169.jpg”,”title”:”Kamala Harris grills Amy Coney Barrett on Obamacare “,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/13/supreme-court-nominee-hearing-amy-coney-barrett-kamala-harris-obamacare-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/13/supreme-court-nominee-hearing-amy-coney-barrett-kamala-harris-obamacare-sot-vpx.cnn”,”videoId”:”politics/2020/10/13/supreme-court-nominee-hearing-amy-coney-barrett-kamala-harris-obamacare-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/13/supreme-court-nominee-hearing-amy-coney-barrett-kamala-harris-obamacare-sot-vpx.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_872C2FE8-890B-2D16-BF0F-2471CCE77E56″},{“descriptionPlainText”:”During her Supreme Court confirmation hearing, Judge Amy Coney Barrett refused to commit to recusing herself if a dispute about the 2020 presidential election went before the Supreme Court.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201013140503-15-barrett-hearing-1013-large-169.jpg”,”title”:”Barrett: I won’t be used as a pawn in election dispute”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/13/amy-coney-barrett-supreme-court-confirmation-hearing-election-recuse-coons-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/13/amy-coney-barrett-supreme-court-confirmation-hearing-election-recuse-coons-sot-vpx.cnn”,”videoId”:”politics/2020/10/13/amy-coney-barrett-supreme-court-confirmation-hearing-election-recuse-coons-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/13/amy-coney-barrett-supreme-court-confirmation-hearing-election-recuse-coons-sot-vpx.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_2FF66B3F-61ED-6A41-7FAA-2426FA28B302″},{“descriptionPlainText”:”During Judge Amy Coney Barrett’s Supreme Court confirmation hearing, Sen. Amy Klobuchar (D-MN) pressed Barrett about protecting voting rights in the US.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201013151838-amy-coney-barrett-klobuchar-split-brightened-large-169.jpg”,”title”:”Klobuchar challenges Barrett about protecting voting rights”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/13/amy-coney-barrett-supreme-court-confirmation-hearing-amy-klobuchar-voting-rights-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/13/amy-coney-barrett-supreme-court-confirmation-hearing-amy-klobuchar-voting-rights-sot-vpx.cnn”,”videoId”:”politics/2020/10/13/amy-coney-barrett-supreme-court-confirmation-hearing-amy-klobuchar-voting-rights-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/13/amy-coney-barrett-supreme-court-confirmation-hearing-amy-klobuchar-voting-rights-sot-vpx.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_06C2009F-24D1-578E-7DE8-239CFF1E072C”},{“descriptionPlainText”:”Sen. Lindsey Graham (R-SC) used a chunk of his time for questioning during Judge Amy Coney Barrett’s Supreme Court confirmation hearing to attack the Affordable Care Act calling it a “disaster” for South Carolina.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201013142522-graham-split-for-vpx-large-169.jpg”,”title”:”‘We don’t want it’: Graham opens with attack on Obamacare”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/13/lindsey-graham-aca-amy-coney-barrett-confirmation-hearing-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/13/lindsey-graham-aca-amy-coney-barrett-confirmation-hearing-sot-vpx.cnn”,”videoId”:”politics/2020/10/13/lindsey-graham-aca-amy-coney-barrett-confirmation-hearing-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/13/lindsey-graham-aca-amy-coney-barrett-confirmation-hearing-sot-vpx.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_0A0A6228-8CF0-0BEC-508A-233E3D107D93″},{“descriptionPlainText”:”CNN’s Dana Bash discusses a moment from Judge Amy Coney Barrett’s Supreme Court confirmation hearing where she raises an empty notepad after being asked if she had taken any notes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201013130057-notepad-barrett-large-169.jpg”,”title”:”‘No notes!’ Bash weighs in on moment that drew laughter “,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/13/amy-coney-barrett-notepad-empty-bash-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/13/amy-coney-barrett-notepad-empty-bash-vpx.cnn”,”videoId”:”politics/2020/10/13/amy-coney-barrett-notepad-empty-bash-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/13/amy-coney-barrett-notepad-empty-bash-vpx.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_F2917ADF-8A4C-AA84-8B6F-2326D4EE7E93″},{“descriptionPlainText”:”Sen. Dianne Feinstein (D-CA) repeatedly questions Supreme Court nominee Amy Coney Barrett on whether she believes Roe v. Wade was wrongly decided.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201013094607-feinstein-barrett-split-large-169.jpg”,”title”:”Senator repeatedly presses Amy Coney Barrett on Roe v. Wade”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/13/amy-coney-barrett-supreme-court-hearing-roe-v-wade-feinstein-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/13/amy-coney-barrett-supreme-court-hearing-roe-v-wade-feinstein-vpx.cnn”,”videoId”:”politics/2020/10/13/amy-coney-barrett-supreme-court-hearing-roe-v-wade-feinstein-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/13/amy-coney-barrett-supreme-court-hearing-roe-v-wade-feinstein-vpx.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_2ED22512-A267-E98A-77D8-22E4C83E5C4D”},{“descriptionPlainText”:”Judge Amy Coney Barrett, President Trump’s Supreme Court nominee, is sworn in at the Senate Judiciary Committee’s hearing and delivers her opening statement before the committee.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201012135545-05-barrett-hearing-1012-screengrab-large-169.jpg”,”title”:”See Amy Coney Barrett’s entire opening statement “,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/12/amy-coney-barrett-supreme-court-nominee-full-opening-statement-ott.pool/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/12/amy-coney-barrett-supreme-court-nominee-full-opening-statement-ott.pool”,”videoId”:”politics/2020/10/12/amy-coney-barrett-supreme-court-nominee-full-opening-statement-ott.pool”,”videoUrl”:”/videos/politics/2020/10/12/amy-coney-barrett-supreme-court-nominee-full-opening-statement-ott.pool/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_FD5CA3DF-6AA5-E852-9722-2208371451EA”},{“descriptionPlainText”:”Democratic Vice Presidential nominee Sen. Kamala Harris says confirming Amy Coney Barrett to the Supreme Court would put the legacy of the late Justice Ruth Bader Ginsburg and health care for million of Americans in jeopardy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201012134837-kamala-harris-10122020-large-169.jpg”,”title”:”Sen. Harris: Ginsburg’s legacy is in jeopardy”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/12/amy-coney-barrett-kamala-harris-opening-statement-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/12/amy-coney-barrett-kamala-harris-opening-statement-vpx.cnn”,”videoId”:”politics/2020/10/12/amy-coney-barrett-kamala-harris-opening-statement-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/12/amy-coney-barrett-kamala-harris-opening-statement-vpx.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_82E264E5-0AB2-4AA6-D35C-1DF5B7AE1804″},{“descriptionPlainText”:”Sen. Amy Klobuchar (D-MN) delivers her statement at the confirmation hearing for Judge Amy Coney Barrett, where Klobuchar calls the hearing a “sham.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201012111109-amy-klobuchar-large-169.jpg”,”title”:”‘Let me tell you a political secret …’ Klobuchar blasts hearing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/12/klobuchar-amy-coney-barrett-hearing-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/12/klobuchar-amy-coney-barrett-hearing-sot-vpx.cnn”,”videoId”:”politics/2020/10/12/klobuchar-amy-coney-barrett-hearing-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/12/klobuchar-amy-coney-barrett-hearing-sot-vpx.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_C696D4BF-B72C-25D0-868C-1DDAB4B8A229″},{“descriptionPlainText”:”President Donald Trump has nominated Amy Coney Barrett to the Supreme Court. Here’s where she stands on the law, her faith, and Roe v. Wade.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200919074142-01-amy-coney-barrett-large-169.jpg”,”title”:”Meet Amy Coney Barrett, President Trump’s Supreme Court nominee”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/09/25/amy-coney-barrett-trump-supreme-court-nominee-mh-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/09/25/amy-coney-barrett-trump-supreme-court-nominee-mh-orig.cnn”,”videoId”:”politics/2020/09/25/amy-coney-barrett-trump-supreme-court-nominee-mh-orig.cnn”,”videoUrl”:”/videos/politics/2020/09/25/amy-coney-barrett-trump-supreme-court-nominee-mh-orig.cnn/video/playlists/amy-coney-barrett-confirmation-hearing/”,”surrogateKey”:”video_D2BC3083-A471-EBCD-727C-1CECA301A981″}],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/2020/10/14/amy-coney-barrett-on-2020-election-orig-vf.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-1gq8l7i’,videoDescriptionDivId: ‘js-video_description-1gq8l7i’,videoDurationDivId: ‘js-video_duration-1gq8l7i’,videoTitleDivId: ‘js-leaf-video_headline-1gq8l7i’,videoSourceDivId: ‘js-video_sourceName-1gq8l7i’});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