Obamas' official portraits unveiled


‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2018/02/12/obamas-official-portraits-unveiled-amanpour.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_shows_amanpour_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180212151757-obamas-official-portraits-unveiled-amanpour-00000815-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180212151757-obamas-official-portraits-unveiled-amanpour-00000815-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180212151757-obamas-official-portraits-unveiled-amanpour-00000815-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180212151757-obamas-official-portraits-unveiled-amanpour-00000815-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180212151757-obamas-official-portraits-unveiled-amanpour-00000815-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180212151757-obamas-official-portraits-unveiled-amanpour-00000815-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180212151757-obamas-official-portraits-unveiled-amanpour-00000815-small-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”The National Portrait Gallery has unveiled portraits of former President Barack Obama and former First Lady Michelle Obama, both painted by African-American artists who were chosen by the Obamas.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180212151757-obamas-official-portraits-unveiled-amanpour-00000815-large-169.jpg”,”title”:”Obamas’ official portraits unveiled “,”videoCMSUrl”:”/videos/politics/2018/02/12/obamas-official-portraits-unveiled-amanpour.cnn”,”videoId”:”politics/2018/02/12/obamas-official-portraits-unveiled-amanpour.cnn”,”videoUrl”:”/videos/politics/2018/02/12/obamas-official-portraits-unveiled-amanpour.cnn”},{“descriptionPlainText”:”The Smithsonian’s National Portrait Gallery unveiled former first lady Michelle Obama’s portrait by artist Amy Sherald.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180212101652-02-obama-portraits-0212-large-169.jpg”,”title”:”See Michelle Obama’s portrait unveiled “,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/02/12/michelle-obama-portrait-unveiled-bts-nr.cnn/index.xml”,”videoId”:”politics/2018/02/12/michelle-obama-portrait-unveiled-bts-nr.cnn”,”videoUrl”:”/videos/politics/2018/02/12/michelle-obama-portrait-unveiled-bts-nr.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”At The Smithsonian’s National Portrait Gallery unveiling on Monday, February 12, President Obama spoke about the parallels between his life and artist Kehinde Wiley’s childhood and what led him to ultimately pick Wiley to do his portrait.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180212103453-03-obama-portraits-0212-large-169.jpg”,”title”:”President Obama’s official portrait unveiled”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/02/12/barack-obama-portraits-unveiling-national-gallery-sot.cnn/index.xml”,”videoId”:”politics/2018/02/12/barack-obama-portraits-unveiling-national-gallery-sot.cnn”,”videoUrl”:”/videos/politics/2018/02/12/barack-obama-portraits-unveiling-national-gallery-sot.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”In a BBC interview conducted by Britain’s Prince Harry, former President Barack Obama warned that the internet risked reinforcing people’s prejudices and leading to a fractured society.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171227045001-obama-harry-getty-images-large-169.jpg”,”title”:”Obama cautions irresponsible social media use”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/12/27/obama-warns-irresponsible-use-social-media-sot.bbc-radio-4/index.xml”,”videoId”:”world/2017/12/27/obama-warns-irresponsible-use-social-media-sot.bbc-radio-4″,”videoUrl”:”/videos/world/2017/12/27/obama-warns-irresponsible-use-social-media-sot.bbc-radio-4/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”Former President Barack Obama referenced Nazi Germany while cautioning voters to “tend to this garden of democracy” during an event at the Economic Club of Chicago.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171208133346-barack-obama-chicago-speech-12-05-17-large-169.jpg”,”title”:”Obama: Tend to democracy or risk Nazism”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/12/08/obama-nazi-germany-reference-orig-vstop.cnn/index.xml”,”videoId”:”politics/2017/12/08/obama-nazi-germany-reference-orig-vstop.cnn”,”videoUrl”:”/videos/politics/2017/12/08/obama-nazi-germany-reference-orig-vstop.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”Former President Barack Obama, speaking at an event sponsored by the Bill and Melinda Gates Foundation, says he gets aggravated with the repeated attempts by the GOP-led Congress to repeal his landmark health care reform legislation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170920134613-02-obama-goalkeepers-09-20-2017-large-169.jpg”,”title”:”Obama rips GOP attempts to repeal Obamacare”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/09/20/barack-obama-health-care-frustration-sot.cnn/index.xml”,”videoId”:”politics/2017/09/20/barack-obama-health-care-frustration-sot.cnn”,”videoUrl”:”/videos/politics/2017/09/20/barack-obama-health-care-frustration-sot.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”Former President Barack Obama says climate change is a “threat that may define the contours of this century more than any other.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170811085311-barack-obama-large-169.jpg”,”title”:”Obama: Climate change may define the century”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/09/20/obama-climate-change-bill-gates-foundation-speech.cnn/index.xml”,”videoId”:”politics/2017/09/20/obama-climate-change-bill-gates-foundation-speech.cnn”,”videoUrl”:”/videos/politics/2017/09/20/obama-climate-change-bill-gates-foundation-speech.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”Former President Barack Obama snapped a photo of former first lady Michelle Obama as she posed on the top deck of a yacht where the couple and celebrity friends spent Friday morning off the island of Mo’orea, in the South Pacific.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170417122701-obama-large-169.jpg”,”title”:”Obama snaps photo of Michelle on yacht “,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/04/17/obama-snaps-photo-michelle-yacht-tsr.cnn/index.xml”,”videoId”:”politics/2017/04/17/obama-snaps-photo-michelle-yacht-tsr.cnn”,”videoUrl”:”/videos/politics/2017/04/17/obama-snaps-photo-michelle-yacht-tsr.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”While on a vacation in the British Virgin Islands, former President Barack Obama engaged in a friendly challenge with Virgin Group founder Richard Branson.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170207080749-obama-branson-kitesurf-challenge-large-169.jpg”,”title”:”Obama learns to kitesurf while on vacation”,”videoCMSUrl”:”/video/data/3.0/video/us/2017/02/07/barack-obama-richard-branson-surfing-jpm-orig.cnn/index.xml”,”videoId”:”us/2017/02/07/barack-obama-richard-branson-surfing-jpm-orig.cnn”,”videoUrl”:”/videos/us/2017/02/07/barack-obama-richard-branson-surfing-jpm-orig.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”Wrap your mind (and your arms) around a product that lets you hug Obama. CNN’s Jeanne Moos reports he’s living it up.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170207195525-obama-vacation-large-169.jpg”,”title”:”Obama lives it up on vacation”,”videoCMSUrl”:”/video/data/3.0/video/us/2017/02/08/barack-obama-on-vacation-moos-pkg-erin.cnn/index.xml”,”videoId”:”us/2017/02/08/barack-obama-on-vacation-moos-pkg-erin.cnn”,”videoUrl”:”/videos/us/2017/02/08/barack-obama-on-vacation-moos-pkg-erin.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”Don Lemon, and a collection of media, cultural, and historical experts, respond to Michelle Obama’s first lady insights and advice for Melania Trump”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161219233522-flotus-michelle-obama-interview-with-oprah-jpm-orig-00000126-large-169.jpg”,”title”:”First lady on Trump: We’ll help in any way”,”videoCMSUrl”:”/video/data/3.0/video/tv/2017/01/04/obama-interview-oprah-trump-transition-interview-don-lemon-cnn-tonight.cnn/index.xml”,”videoId”:”tv/2017/01/04/obama-interview-oprah-trump-transition-interview-don-lemon-cnn-tonight.cnn”,”videoUrl”:”/videos/tv/2017/01/04/obama-interview-oprah-trump-transition-interview-don-lemon-cnn-tonight.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”Stevie Wonder serenades Michelle Obama at her last talk show appearance as first lady. CNN’s Jeanne Moos has the best of her comedy bits.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170111203926-michelle-obama-4-large-169.jpg”,”title”:”Michelle Obama’s late-night farewell “,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/01/13/bye-bye-michelle-moos-pkg-erin.cnn/index.xml”,”videoId”:”politics/2017/01/13/bye-bye-michelle-moos-pkg-erin.cnn”,”videoUrl”:”/videos/politics/2017/01/13/bye-bye-michelle-moos-pkg-erin.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”During President Obama’s farewell address he spoke to his daughters and said of all his accomplishments, he is most proud to be their dad.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170111065211-malia-obama-large-169.jpg”,”title”:”Malia Obama tears up during dad’s speech”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/01/11/obama-farewell-address-daughters-sot-09.cnn/index.xml”,”videoId”:”politics/2017/01/11/obama-farewell-address-daughters-sot-09.cnn”,”videoUrl”:”/videos/politics/2017/01/11/obama-farewell-address-daughters-sot-09.cnn/video/playlists/the-obamas-post-presidency/”},{“descriptionPlainText”:”Michelle Obama, Malia Obama, Vice President Joe Biden and Jill Biden joined President Obama on stage after his farewell address in Chicago.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170110220812-obama-farewell-address-hug-large-169.jpg”,”title”:”Obamas, Bidens take stage together”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/01/11/obama-farewell-address-obamas-bidens-stage.cnn/index.xml”,”videoId”:”politics/2017/01/11/obama-farewell-address-obamas-bidens-stage.cnn”,”videoUrl”:”/videos/politics/2017/01/11/obama-farewell-address-obamas-bidens-stage.cnn/video/playlists/the-obamas-post-presidency/”}],currentVideoCollectionId = ”,isLivePlayer = false,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 = 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/2018/02/12/obamas-official-portraits-unveiled-amanpour.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-1zpu0az’,videoDescriptionDivId: ‘js-video_description-1zpu0az’,videoDurationDivId: ‘js-video_duration-1zpu0az’,videoTitleDivId: ‘js-leaf-video_headline-1zpu0az’,videoSourceDivId: ‘js-video_sourceName-1zpu0az’});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(‘



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *