Abortion wasn’t always taboo in America

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘us/2017/03/31/roe-vs-wade-abortion-supreme-court-decision-case-history-orig.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/170331143253-roe-vs-wade-animation-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170331143253-roe-vs-wade-animation-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170331143253-roe-vs-wade-animation-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170331143253-roe-vs-wade-animation-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170331143253-roe-vs-wade-animation-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170331143253-roe-vs-wade-animation-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170331143253-roe-vs-wade-animation-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Take a look at how abortions went from being widely practiced before the 1880s, to being outlawed after a crusade by the American Medical Association, to then being legalized by the Supreme Court in 1973.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170331143253-roe-vs-wade-animation-large-169.jpg”,”title”:”Abortion wasn’t always taboo in America”,”videoCMSUrl”:”/videos/us/2017/03/31/roe-vs-wade-abortion-supreme-court-decision-case-history-orig.cnn”,”videoLeafUrl”:”/videos/us/2017/03/31/roe-vs-wade-abortion-supreme-court-decision-case-history-orig.cnn”,”videoId”:”us/2017/03/31/roe-vs-wade-abortion-supreme-court-decision-case-history-orig.cnn”,”videoUrl”:”/videos/us/2017/03/31/roe-vs-wade-abortion-supreme-court-decision-case-history-orig.cnn”,”surrogateKey”:”video_684C0281-4312-C547-F681-25A42BF3E3D9″},{“descriptionPlainText”:”As the commission investigating the January 6th insurrection continues to try to get to the bottom of what happened, CNN’s John Avlon explains how laws are already on the books to prevent such events.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211201082910-john-avlon-12012021-large-169.jpg”,”title”:”Avlon: Trump really doesn’t want you to see these documents”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/12/01/trump-january-6-insurrection-documents-avlon-reality-check-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/12/01/trump-january-6-insurrection-documents-avlon-reality-check-newday-vpx.cnn”,”videoId”:”politics/2021/12/01/trump-january-6-insurrection-documents-avlon-reality-check-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/12/01/trump-january-6-insurrection-documents-avlon-reality-check-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_BB7D4694-3276-B2C3-4207-7616CCA7B378″},{“descriptionPlainText”:”Former Democratic Sen. Al Franken of Minnesota speaks with CNN’s John Berman about the death threat Rep. Ilhan Omar (D-MN) received by voicemail and reacts to Rep. Nancy Mace’s (R-SC) heated Twitter spat with Rep. Marjorie Taylor Greene (R-GA).”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211201104738-al-franken-newday-large-169.jpg”,”title”:”Former US senator reacts to death threat voicemail against Ilhan Omar”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/12/01/ilhan-omar-death-threat-voicemail-boebert-franken-newday-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/12/01/ilhan-omar-death-threat-voicemail-boebert-franken-newday-ldn-vpx.cnn”,”videoId”:”politics/2021/12/01/ilhan-omar-death-threat-voicemail-boebert-franken-newday-ldn-vpx.cnn”,”videoUrl”:”/videos/politics/2021/12/01/ilhan-omar-death-threat-voicemail-boebert-franken-newday-ldn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_7AC3AB06-3903-8C99-88D4-7630410A5D64″},{“descriptionPlainText”:”CNN legal analyst Elie Honig explains Trump’s legal team’s arguments and why he’s confident Trump will lose his executive privilege case.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130162618-honig-trumps-exec-priv-case-large-169.jpg”,”title”:”Fairly confident he is going to lose this: Honig on Trump’s arguments”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/trumps-executive-privilege-case-honig-nr-lv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/trumps-executive-privilege-case-honig-nr-lv-vpx.cnn”,”videoId”:”politics/2021/11/30/trumps-executive-privilege-case-honig-nr-lv-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/trumps-executive-privilege-case-honig-nr-lv-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_5A15A38F-EA54-BB40-8550-72B54DDA1B30″},{“descriptionPlainText”:”Rep. Ilhan Omar responds to remarks made by GOP Rep. Lauren Boebert, who was shown on video making anti-Muslim comments about her and suggesting that she could be a suicide bomber.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130192447-ilhan-omar-presser-large-169.jpg”,”title”:”Omar: Not just attack on me but millions of American Muslims”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/12/01/ilhan-omar-lauren-boebert-response-tsr-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/12/01/ilhan-omar-lauren-boebert-response-tsr-sot-vpx.cnn”,”videoId”:”politics/2021/12/01/ilhan-omar-lauren-boebert-response-tsr-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/12/01/ilhan-omar-lauren-boebert-response-tsr-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_93DA8BAD-3B84-278E-D857-735C421E2518″},{“descriptionPlainText”:”Republican Rep. Lauren Boebert of Colorado suggested to a crowd for a second time in September that Democratic Rep. Ilhan Omar, whom she called “black-hearted” and “evil,” was a terrorist. Video of Boebert making similar comments in November surfaced earlier this week.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130130135-kfile-lauren-boebert-second-video-vpx-large-169.jpg”,”title”:”Boebert calls Omar ‘black-hearted’ and ‘evil’ in new video”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/kfile-boebert-calls-omar-and-talib-black-hearted-evil-women-elevator-story-kaczynski-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/kfile-boebert-calls-omar-and-talib-black-hearted-evil-women-elevator-story-kaczynski-ip-vpx.cnn”,”videoId”:”politics/2021/11/30/kfile-boebert-calls-omar-and-talib-black-hearted-evil-women-elevator-story-kaczynski-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/kfile-boebert-calls-omar-and-talib-black-hearted-evil-women-elevator-story-kaczynski-ip-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_AF8C6018-4AA4-8C0B-6BE1-71AC2E8FE915″},{“descriptionPlainText”:”Rep. Nancy Mace (R-SC) and Rep. Marjorie Taylor Greene (R-GA) got into a heated argument on Twitter after Mace criticized Rep. Lauren Boebert’s (R-CO) offensive remarks about Rep. Ilhan Omar (D-MN)”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130130007-nancy-mace-marjorie-taylor-greene-split-large-169.jpg”,”title”:”GOP lawmaker fires back at Marjorie Taylor Greene”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/marjorie-taylor-greene-nancy-mace-boebert-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/marjorie-taylor-greene-nancy-mace-boebert-ip-vpx.cnn”,”videoId”:”politics/2021/11/30/marjorie-taylor-greene-nancy-mace-boebert-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/marjorie-taylor-greene-nancy-mace-boebert-ip-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_6458CF0A-139B-1E46-9862-71F84CAADE58″},{“descriptionPlainText”:”Defense attorney Shan Wu tells CNN’s Erica Hill why he believes the judges will not favor Trump’s attempt to block the release of his January 6 documents in court.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130123819-shan-wu-large-169.jpg”,”title”:”Defense attorney says Trump’s case will go the Supreme Court”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/trump-january-6-documents-court-reaction-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/trump-january-6-documents-court-reaction-vpx.cnn”,”videoId”:”politics/2021/11/30/trump-january-6-documents-court-reaction-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/trump-january-6-documents-court-reaction-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B547BF35-2568-7BC8-E776-71E353DC56BD”},{“descriptionPlainText”:”CNN’s Randi Kaye speaks to Republican Rep. Paul Gosar’s Arizona constituents about the photoshopped anime video he posted to his Twitter and Instagram accounts showing him appearing to kill Democratic Rep. Alexandria Ocasio-Cortez and attacking President Joe Biden.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211111211341-kaye-gosar-constituents-pkg-vpx-large-169.jpg”,”title”:”How Rep. Gosar’s constituents reacted to the violent video he posted”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/12/rep-paul-gosar-arizona-constituents-aoc-video-reaction-kaye-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/12/rep-paul-gosar-arizona-constituents-aoc-video-reaction-kaye-ac360-vpx.cnn”,”videoId”:”politics/2021/11/12/rep-paul-gosar-arizona-constituents-aoc-video-reaction-kaye-ac360-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/12/rep-paul-gosar-arizona-constituents-aoc-video-reaction-kaye-ac360-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_420E2078-A60E-A1A1-F720-11E18B0F38DC”},{“descriptionPlainText”:”Anderson Cooper talks with Republican Rep. Fred Upton about the threatening voicemail he received after voting for the bipartisan infrastructure bill.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211108233910-cooper-upton-split-large-169.jpg”,”title”:”‘We’ve seen civility really downslide’: GOP congressman on threatening voicemail”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/09/fred-upton-voicemail-ac360-intv-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/09/fred-upton-voicemail-ac360-intv-sot-vpx.cnn”,”videoId”:”politics/2021/11/09/fred-upton-voicemail-ac360-intv-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/09/fred-upton-voicemail-ac360-intv-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F3F221AB-E3D4-475A-DF92-02F603DEB387″},{“descriptionPlainText”:”Author David Cay Johnston says former President Donald Trump’s businesses made $1.7 billion in revenue while he was in office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210527101033-donald-trump-2018-file-large-169.jpg”,”title”:”Trump’s businesses made $1.7B while in office, book says”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/trump-businesses-made-1-7-billion-while-in-office-cay-johnston-book-intv-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/trump-businesses-made-1-7-billion-while-in-office-cay-johnston-book-intv-newday-vpx.cnn”,”videoId”:”politics/2021/11/30/trump-businesses-made-1-7-billion-while-in-office-cay-johnston-book-intv-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/trump-businesses-made-1-7-billion-while-in-office-cay-johnston-book-intv-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_69D49434-A035-8AFA-CB4A-70DF3CE47550″},{“descriptionPlainText”:”The CIA released a new report which discusses how intelligence officials struggled to brief President Donald Trump before and while he was in office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211124133405-01-trump-0925-large-169.jpg”,”title”:”Ex-CIA officer reacts to new report about Trump’s CIA briefings”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/trump-cia-briefings-transition-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/trump-cia-briefings-transition-newday-vpx.cnn”,”videoId”:”politics/2021/11/30/trump-cia-briefings-transition-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/trump-cia-briefings-transition-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F41FBF5A-2CD7-A8BD-A572-70DE34EEC52A”},{“descriptionPlainText”:”Former Secretary of Defense Mark Esper says Americans deserve an ”unvarnished” look at the ”tumultuous” Trump administration as he sues Pentagon over book redactions. CNN’s Jake Tapper has the exclusive interview.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211129165014-mark-esper-file-2020-large-169.jpg”,”title”:”Trump’s defense secretary files lawsuit against DoD over memoir censoring”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/29/former-secretary-defense-mark-esper-book-dod-lawsuit-intv-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/29/former-secretary-defense-mark-esper-book-dod-lawsuit-intv-lead-vpx.cnn”,”videoId”:”politics/2021/11/29/former-secretary-defense-mark-esper-book-dod-lawsuit-intv-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/29/former-secretary-defense-mark-esper-book-dod-lawsuit-intv-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_CE8070CA-C277-17B3-3088-6E20F76472E6″},{“descriptionPlainText”:”President Joe Biden delivers three messages to Americans as a growing number of countries report cases of the Covid-19 variant called Omicron.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211129120517-02-biden-omicron-remarks-1129-large-169.jpg”,”title”:”Biden on Omicron: We’re going to fight and beat this variant”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/29/joe-biden-omicron-variant-covid-19-three-messages-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/29/joe-biden-omicron-variant-covid-19-three-messages-vpx.cnn”,”videoId”:”politics/2021/11/29/joe-biden-omicron-variant-covid-19-three-messages-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/29/joe-biden-omicron-variant-covid-19-three-messages-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C8145D77-FE03-9D48-267A-6CBADFE3B754″},{“descriptionPlainText”:”In an interview with CBS News, Dr. Anthony Fauci reacted to comments from Sen. Ted Cruz (R-TX) saying that he should face federal prosecution over some of his testimony before Congress.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211128165132-fauci-large-169.jpg”,”title”:”‘What happened on January 6, senator?’: Fauci fires back at Sen. Cruz comments “,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/28/anthony-fauci-ted-cruz-coronavirus-january-6-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/28/anthony-fauci-ted-cruz-coronavirus-january-6-sot-vpx-nr.cnn”,”videoId”:”politics/2021/11/28/anthony-fauci-ted-cruz-coronavirus-january-6-sot-vpx-nr.cnn”,”videoUrl”:”/videos/politics/2021/11/28/anthony-fauci-ted-cruz-coronavirus-january-6-sot-vpx-nr.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_74E5108A-4890-CA61-8706-687ADA15A833″},{“descriptionPlainText”:”Rep. Nancy Mace (R-SC) reacts to inflammatory and anti-Muslim comments made by her colleague Rep. Lauren Boebert (R-CO).”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211128204311-nancy-mace-intv-boebert-split-large-169.jpg”,”title”:”GOP lawmaker condemns her colleague’s divisive anti-Muslim remarks”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/29/rep-nancy-mace-lauren-boebert-reaction-intv-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/29/rep-nancy-mace-lauren-boebert-reaction-intv-sot-nr-vpx.cnn”,”videoId”:”politics/2021/11/29/rep-nancy-mace-lauren-boebert-reaction-intv-sot-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/29/rep-nancy-mace-lauren-boebert-reaction-intv-sot-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F4136170-73CF-5C5C-75C2-6953BFB2F255″},{“descriptionPlainText”:”Republican Rep. Lauren Boebert and Democratic Rep. Ilhan Omar spoke on the phone, the two members of Congress confirmed, amid criticism of Boebert’s anti-Muslim remarks aimed at Omar.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211126111614-boebert-omar-split-vpx-large-169.jpg”,”title”:”Rep. Boebert releases response after Rep. Omar hangs up on her”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/11/30/lauren-boebert-ilhan-omar-call-islamophobic-comments-nd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/11/30/lauren-boebert-ilhan-omar-call-islamophobic-comments-nd-vpx.cnn”,”videoId”:”politics/2021/11/30/lauren-boebert-ilhan-omar-call-islamophobic-comments-nd-vpx.cnn”,”videoUrl”:”/videos/politics/2021/11/30/lauren-boebert-ilhan-omar-call-islamophobic-comments-nd-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D6414F27-F56D-F2FF-FC60-70D2F7E54E98″}],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:”us/2017/03/31/roe-vs-wade-abortion-supreme-court-decision-case-history-orig.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-1wlmxci’,videoDescriptionDivId: ‘js-video_description-1wlmxci’,videoDurationDivId: ‘js-video_duration-1wlmxci’,videoTitleDivId: ‘js-leaf-video_headline-1wlmxci’,videoSourceDivId: ‘js-video_sourceName-1wlmxci’});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