Ex-Reagan official warns of threats to abortion — and to democracy

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘tv/2021/12/08/amanpour-supreme-court-abortion-roe-vs-wade-charles-fried-katie-roiphe.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/211208140719-amanpour-fried-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211208140719-amanpour-fried-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211208140719-amanpour-fried-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211208140719-amanpour-fried-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211208140719-amanpour-fried-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211208140719-amanpour-fried-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211208140719-amanpour-fried-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Former U.S. Solicitor General Charles Fried and writer Katie Roiphe discuss democracy in the United States and the Mississippi abortion case before the Supreme Court.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211208140719-amanpour-fried-large-169.jpg”,”title”:”Fmr. Reagan official warns of threats to abortion — and to democracy”,”videoCMSUrl”:”/videos/tv/2021/12/08/amanpour-supreme-court-abortion-roe-vs-wade-charles-fried-katie-roiphe.cnn”,”videoLeafUrl”:”/videos/tv/2021/12/08/amanpour-supreme-court-abortion-roe-vs-wade-charles-fried-katie-roiphe.cnn”,”videoId”:”tv/2021/12/08/amanpour-supreme-court-abortion-roe-vs-wade-charles-fried-katie-roiphe.cnn”,”videoUrl”:”/videos/tv/2021/12/08/amanpour-supreme-court-abortion-roe-vs-wade-charles-fried-katie-roiphe.cnn”,”surrogateKey”:”video_76817626-696F-FC33-410E-9B3FB10D844B”},{“descriptionPlainText”:”CNN’s Brianna Keilar compares Fox News’ outrage over the Christmas tree arson that took place outside of the network’s headquarters during the holiday season and the armed attack on the Capitol on January 6th.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211209094424-brianna-keilar-large-169.jpeg”,”title”:”Keilar compares Fox News’ coverage of Christmas tree fire and Capitol riot”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/12/09/fox-news-coverage-christmas-tree-arson-outrage-brianna-keilar-roll-the-tape-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/12/09/fox-news-coverage-christmas-tree-arson-outrage-brianna-keilar-roll-the-tape-newday-vpx.cnn”,”videoId”:”business/2021/12/09/fox-news-coverage-christmas-tree-arson-outrage-brianna-keilar-roll-the-tape-newday-vpx.cnn”,”videoUrl”:”/videos/business/2021/12/09/fox-news-coverage-christmas-tree-arson-outrage-brianna-keilar-roll-the-tape-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6CC8A229-25F4-7EFF-4DAA-9FA61528C798″},{“descriptionPlainText”:”CNN Business talked with real estate agents on the app to figure out why, in the midst of a pandemic, they turned to the unconventional method of using TikTok to find clientele, sell property, and more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211208162951-tiktok-real-estate-agents-thumb-large-169.jpg”,”title”:”Hear why these real estate agents are selling homes on TikTok”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/12/08/tiktok-real-estate-agents-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/12/08/tiktok-real-estate-agents-orig.cnn-business”,”videoId”:”business/2021/12/08/tiktok-real-estate-agents-orig.cnn-business”,”videoUrl”:”/videos/business/2021/12/08/tiktok-real-estate-agents-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_FA919390-893B-CC5C-9237-9B3B9B697E12″},{“descriptionPlainText”:”Instagram’s head Adam Mosseri testified before a Senate panel on the negative impact of the app on kids. Mosseri defended Instagram as a “positive force in young peoples’ lives” while lawmakers pointed out its potentially harmful implications. CNN’s Donie O’Sullivan reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211208161433-10-instagram-senate-committee-hearing-on-protecting-kids-online-large-169.jpg”,”title”:”Instagram head testifies before Congress on app’s impact on kids”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/12/08/instagram-head-adam-mosseri-congress-hearing-harmful-effects-kids-pkg.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/12/08/instagram-head-adam-mosseri-congress-hearing-harmful-effects-kids-pkg.cnnbusiness”,”videoId”:”business/2021/12/08/instagram-head-adam-mosseri-congress-hearing-harmful-effects-kids-pkg.cnnbusiness”,”videoUrl”:”/videos/business/2021/12/08/instagram-head-adam-mosseri-congress-hearing-harmful-effects-kids-pkg.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_9271E22B-9C4E-C4A7-4B75-9C205361A9D1″},{“descriptionPlainText”:”Jimmy Fallon and Nicole Kidman played a game where they identified objects solely by touch — and were terrified by ordinary holiday decorations.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211209103957-nicole-kidman-jimmy-fallon-cnn-business-lon-orig-na-large-169.jpg”,”title”:”Jimmy Fallon and Nicole Kidman terrified by eggnog, Santa doll, and more in blind-touch game”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/12/09/nicole-kidman-jimmy-fallon-can-you-feel-it-game-lon-orig-na-jk.cnn-business/index.xml”,”videoLeafUrl”:”/videos/media/2021/12/09/nicole-kidman-jimmy-fallon-can-you-feel-it-game-lon-orig-na-jk.cnn-business”,”videoId”:”media/2021/12/09/nicole-kidman-jimmy-fallon-can-you-feel-it-game-lon-orig-na-jk.cnn-business”,”videoUrl”:”/videos/media/2021/12/09/nicole-kidman-jimmy-fallon-can-you-feel-it-game-lon-orig-na-jk.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_2E3BFCD8-2F75-C253-3A6A-9EC4D48CA3F9″},{“descriptionPlainText”:”Joy Behar had unexpected advice for people who identify as LGBTQ ahead of the Thanksgiving holiday. Her audience applauded, but others thought it was “dangerous.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211129131933-joy-behar-come-out-comment-screengrab-01-large-169.jpg”,”title”:”Fans stunned by Joy Behar’s controversial advice on ‘The View'”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/29/joy-behar-the-view-lgbtq-comment-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/29/joy-behar-the-view-lgbtq-comment-orig.cnn-business”,”videoId”:”business/2021/11/29/joy-behar-the-view-lgbtq-comment-orig.cnn-business”,”videoUrl”:”/videos/business/2021/11/29/joy-behar-the-view-lgbtq-comment-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A9A9E2FF-541B-9240-7091-6CD8D07A30F2″},{“descriptionPlainText”:”Chipotle raised its prices to handle higher costs of goods and labor and earned $2 billion in the third quarter, a 20% jump from last year. CEO Brian Niccol cites their strong value proposition in giving them pricing power and allowing them to invest in their employees, food and the customer experience.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211129141217-chipotle-ceo-revenue-brian-niccol-large-169.jpg”,”title”:”Chipotle raised its prices and made $2 billion in the third quarter”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/29/chipotle-ceo-revenue-boost-rising-costs-covid.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/29/chipotle-ceo-revenue-boost-rising-costs-covid.cnnbusiness”,”videoId”:”business/2021/11/29/chipotle-ceo-revenue-boost-rising-costs-covid.cnnbusiness”,”videoUrl”:”/videos/business/2021/11/29/chipotle-ceo-revenue-boost-rising-costs-covid.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D9F32D18-6759-D3EB-0FC7-6D92313B7E48″},{“descriptionPlainText”:”Jack Dorsey is stepping down as CEO of Twitter and Parag Agrawal, Twitter’s chief technology officer, will take over. CNN’s Paul R. La Monica reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210413125924-01-jack-dorsey-file-large-169.jpg”,”title”:”Twitter’s Jack Dorsey resigns as CEO”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/29/jack-dorsey-twitter-ceo-stepping-down.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/29/jack-dorsey-twitter-ceo-stepping-down.cnnbusiness”,”videoId”:”business/2021/11/29/jack-dorsey-twitter-ceo-stepping-down.cnnbusiness”,”videoUrl”:”/videos/business/2021/11/29/jack-dorsey-twitter-ceo-stepping-down.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_DB5CEBCE-76C8-555E-D437-6C6C569E15E1″},{“descriptionPlainText”:””The Simpsons” fans in Hong Kong have noticed that an episode of the show that is critical of the Chinese government is unavailable on Disney+.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211129073046-hong-kong-disney-the-simpsons-11-29-2021-large-169.jpg”,”title”:”These clips from ‘The Simpsons’ are missing from Disney+ in Hong Kong”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/29/china-simpsons-hong-kong-disney.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/29/china-simpsons-hong-kong-disney.cnn”,”videoId”:”business/2021/11/29/china-simpsons-hong-kong-disney.cnn”,”videoUrl”:”/videos/business/2021/11/29/china-simpsons-hong-kong-disney.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C321BFAB-B4BE-0449-51FB-6DABFA82C2EC”},{“descriptionPlainText”:”Stocks rebound after plunging on Black Friday over fears of the Omicron coronavirus variant. CNN’s Christine Romans reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211129090331-nyse-1126-large-169.jpg”,”title”:”Global markets assess threat of Omicron variant”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/29/stock-market-dow-omicron-variant.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/29/stock-market-dow-omicron-variant.cnnbusiness”,”videoId”:”business/2021/11/29/stock-market-dow-omicron-variant.cnnbusiness”,”videoUrl”:”/videos/business/2021/11/29/stock-market-dow-omicron-variant.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A9EFA18A-3F40-ED5C-264A-6C2E05A9A324″},{“descriptionPlainText”:”Amazon Glow combines immersive projection and video calling for a unique kid-friendly experience to connect with family and friends. The price starts at $249.99.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210928133155-amazon-glow-large-169.jpg”,”title”:”Amazon launches kid-friendly device called ‘Glow'”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/09/28/amazon-glow-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/09/28/amazon-glow-orig.cnn”,”videoId”:”business/2021/09/28/amazon-glow-orig.cnn”,”videoUrl”:”/videos/business/2021/09/28/amazon-glow-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F8D64285-4F90-1255-B883-2D7774B9CDDB”},{“descriptionPlainText”:”What happens to Black Friday in the midst of a pandemic? CNN Business explains why the shopping event has changed.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201111174632-black-friday-online-sales-gfx-20201111-large-169.jpg”,”title”:”It’s official: Black Friday is irrelevant”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/11/11/black-friday-online-sales-pandemic-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/11/11/black-friday-online-sales-pandemic-orig.cnn-business”,”videoId”:”business/2020/11/11/black-friday-online-sales-pandemic-orig.cnn-business”,”videoUrl”:”/videos/business/2020/11/11/black-friday-online-sales-pandemic-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F223C048-305A-235B-9C48-B8FEE677430D”},{“descriptionPlainText”:”More “smash & grab” robberies have occurred around the US at a wide range of retail stores and authorities are now trying to increase security to prevent more from happening.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211125084140-smash-and-grab-dnt-watt-large-169.jpg”,”title”:”Videos show brazen smash and grab robberies”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/25/smash-and-grab-robberies-retail-store-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/25/smash-and-grab-robberies-retail-store-newday-vpx.cnn”,”videoId”:”business/2021/11/25/smash-and-grab-robberies-retail-store-newday-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/25/smash-and-grab-robberies-retail-store-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_7BC5BCA6-84EF-118C-4565-57C2E304F411″},{“descriptionPlainText”:”CNN’s John Berman speaks with astrophysicist Neil deGrasse Tyson about NASA’s DART mission, or the Double Asteroid Redirection Test, which is set to crash into a near-Earth asteroid to try to change its motion in space.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211124211918-degrasse-tyson-large-169.jpg”,”title”:”‘Badass move’: Neil deGrasse Tyson praises NASA’s latest mission”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/25/degrasse-tyson-nasa-asteroid-ac360-berman-intv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/25/degrasse-tyson-nasa-asteroid-ac360-berman-intv-vpx.cnn”,”videoId”:”business/2021/11/25/degrasse-tyson-nasa-asteroid-ac360-berman-intv-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/25/degrasse-tyson-nasa-asteroid-ac360-berman-intv-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_2CE585F1-04A2-2D46-FC5D-54D5095B1449″},{“descriptionPlainText”:”NASA is launching a spacecraft that will deliberately crash into a near-earth asteroid, even though it does not pose a threat to earth. With the DART — double asteroid redirection test — NASA hopes to change an asteroid’s direction to avoid potential collisions with earth in the future. CNN’s Michael Holmes reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211124173553-screengrab-nasa-dart-1-large-169.jpg”,”title”:”Why is NASA crashing a spacecraft into an asteroid?”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/24/nasa-dart-asteroid-holmes-pkg-ovn-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/24/nasa-dart-asteroid-holmes-pkg-ovn-intl-hnk-vpx.cnn”,”videoId”:”business/2021/11/24/nasa-dart-asteroid-holmes-pkg-ovn-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/24/nasa-dart-asteroid-holmes-pkg-ovn-intl-hnk-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_1B44945C-84C8-C707-2B95-514CB9B8E5FF”},{“descriptionPlainText”:”Industry analysts say they started noticing a drop-off in shipping traffic toward the end of October, as China prepared to enact legislation governing data privacy. CNN’s Steven Jiang reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211124100703-china-shipping-trackers-jiang-pkg-large-169.jpeg”,”title”:”Ships in Chinese waters are disappearing from trackers”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/24/china-shipping-data-tracking.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/24/china-shipping-data-tracking.cnnbusiness”,”videoId”:”business/2021/11/24/china-shipping-data-tracking.cnnbusiness”,”videoUrl”:”/videos/business/2021/11/24/china-shipping-data-tracking.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_BD73C982-2BE0-6BBA-53E1-5246A7731602″}],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:”tv/2021/12/08/amanpour-supreme-court-abortion-roe-vs-wade-charles-fried-katie-roiphe.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-1z8n3rf’,videoDescriptionDivId: ‘js-video_description-1z8n3rf’,videoDurationDivId: ‘js-video_duration-1z8n3rf’,videoTitleDivId: ‘js-leaf-video_headline-1z8n3rf’,videoSourceDivId: ‘js-video_sourceName-1z8n3rf’});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