He lost his job after announcing his sexuality on national TV

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2021/06/08/bisi-alimi-nigerian-gay-rights-activist-hurdles-oneworld-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/210608020724-bisi-alimi-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210608020724-bisi-alimi-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210608020724-bisi-alimi-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210608020724-bisi-alimi-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210608020724-bisi-alimi-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210608020724-bisi-alimi-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210608020724-bisi-alimi-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Bisi Alimi is a Nigerian gay rights activist that became the first to discuss his homosexuality on national TV.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210608020724-bisi-alimi-large-169.jpg”,”title”:”He lost his job after announcing his sexuality on national TV”,”videoCMSUrl”:”/videos/world/2021/06/08/bisi-alimi-nigerian-gay-rights-activist-hurdles-oneworld-vpx.cnn”,”videoLeafUrl”:”/videos/world/2021/06/08/bisi-alimi-nigerian-gay-rights-activist-hurdles-oneworld-vpx.cnn”,”videoId”:”world/2021/06/08/bisi-alimi-nigerian-gay-rights-activist-hurdles-oneworld-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/08/bisi-alimi-nigerian-gay-rights-activist-hurdles-oneworld-vpx.cnn”,”surrogateKey”:”video_5C815DB6-F4AF-0EFF-715A-EA269EAE9337″},{“descriptionPlainText”:”Iranian President-Elect Ebrahim Raisi said in his first news conference that the United States violated the 2015 nuclear agreement, known as the JCPOA, and called on President Joe Biden to return to the agreement. Answering a question by CNN’s Frederik Pleitgen in Tehran, Raisi called on Biden to lift all sanctions before adding that Iran’s ballistic missile program “is not up for negotiation.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210621055800-ebrahim-raisi-presser-210621-large-169.jpg”,”title”:”CNN asked Iran’s President-Elect about nuclear deal. Hear his reply”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/21/iran-nuclear-deal-president-elect-raisi-joe-biden-pleitgen-newday-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/21/iran-nuclear-deal-president-elect-raisi-joe-biden-pleitgen-newday-intl-ldn-vpx.cnn”,”videoId”:”world/2021/06/21/iran-nuclear-deal-president-elect-raisi-joe-biden-pleitgen-newday-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/21/iran-nuclear-deal-president-elect-raisi-joe-biden-pleitgen-newday-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_733440DB-D02B-E475-88A0-2E70DFD9DF5C”},{“descriptionPlainText”:”CNN’s Selina Wang takes a look at Tokyo’s Olympic Village, a city within a city where elite athletes from all over the world will spend their time when they’re not competing for Olympic gold.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210620200856-tokyo-olympic-village-exterior-wang-large-169.jpg”,”title”:”See where Olympians will eat, sleep and relax in Tokyo”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/06/21/olympic-village-first-look-tokyo-wang-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/06/21/olympic-village-first-look-tokyo-wang-pkg-vpx.cnn”,”videoId”:”sports/2021/06/21/olympic-village-first-look-tokyo-wang-pkg-vpx.cnn”,”videoUrl”:”/videos/sports/2021/06/21/olympic-village-first-look-tokyo-wang-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_0EAD7787-9D1A-9260-0099-2D8095A24B4F”},{“descriptionPlainText”:”Ebrahim Raisi, a hardline judiciary chief with a brutal human rights record, will be the next president of Iran following his win in an uncompetitive election that most of the country sat out.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617165426-ebrahim-raeesi-0616-restricted-large-169.jpg”,”title”:”Ultra-conservative candidate wins Iran’s presidential election”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/19/ebrahim-raisi-iran-election-results-update-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/19/ebrahim-raisi-iran-election-results-update-vpx.cnn”,”videoId”:”world/2021/06/19/ebrahim-raisi-iran-election-results-update-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/19/ebrahim-raisi-iran-election-results-update-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9E18E875-C0AF-ACDF-C85C-23C71E8EAC6F”},{“descriptionPlainText”:”CNN’s Zain Asher explores the reasons why Nigeria is suffering through a wave of kidnappings.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618154822-nigeria-kidnapping-explainer-africa-asher-pkg-oneworld-intl-ldn-vpx-00021802-large-169.png”,”title”:”‘The stuff of nightmares’: Breaking down Nigeria’s kidnapping epidemic”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/18/nigeria-kidnapping-explainer-africa-asher-pkg-oneworld-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/18/nigeria-kidnapping-explainer-africa-asher-pkg-oneworld-intl-ldn-vpx.cnn”,”videoId”:”world/2021/06/18/nigeria-kidnapping-explainer-africa-asher-pkg-oneworld-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/18/nigeria-kidnapping-explainer-africa-asher-pkg-oneworld-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_0A953F18-F213-94C9-3420-1F5DED813A45″},{“descriptionPlainText”:”China successfully launched three astronauts into space, bringing the country one step closer to completing its new space station. CNN’s David Culver reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617132932-screengrab-china-shenzhou-12-launch-large-169.jpg”,”title”:”See Chinese rocket launch to send astronauts to its space station”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/17/china-manned-launch-space-station-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/17/china-manned-launch-space-station-intl-hnk-vpx.cnn”,”videoId”:”world/2021/06/17/china-manned-launch-space-station-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/17/china-manned-launch-space-station-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_3B97A7F2-0AEE-67C7-9277-1860E85BC17C”},{“descriptionPlainText”:”Speaking during a video conference meeting with graduates from Russia’s Graduate School of Public Administration, Russian President Vladimir Putin praised his US counterpart Joe Biden, describing him as a “professional” who is “completely knowledgeable on all issues.” CNN’s Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618114921-putin-praises-biden-geneva-summit-robertson-lkl-intl-hnk-vpx-00010025-large-169.png”,”title”:”Hear Putin offer rare praise for President Biden “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/18/putin-praises-biden-geneva-summit-robertson-lkl-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/18/putin-praises-biden-geneva-summit-robertson-lkl-intl-hnk-vpx.cnn”,”videoId”:”world/2021/06/18/putin-praises-biden-geneva-summit-robertson-lkl-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/18/putin-praises-biden-geneva-summit-robertson-lkl-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_03642F45-45DC-19D2-3360-1CF318F79C9B”},{“descriptionPlainText”:”Iranians are heading to the polls to elect a successor to President Hassan Rouhani as the country continues to struggle with the Covid-19 pandemic and crippling sanctions. Many observers believe that hardline candidate Ebrahim Raisi will likely win the race. CNN’s Fred Pleitgen reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618143520-iran-presidential-election-pleitgen-pkg-intl-hnk-vpx-00021422-large-169.png”,”title”:”Hear from Iranian voters as they head to polls in presidential election “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/18/iran-presidential-election-pleitgen-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/18/iran-presidential-election-pleitgen-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/06/18/iran-presidential-election-pleitgen-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/18/iran-presidential-election-pleitgen-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_64E309CF-35DB-5AAF-1089-1D8EF9970959″},{“descriptionPlainText”:”Russian President Vladimir Putin took questions from international reporters following his meeting with President Joe Biden, including a question from ABC News reporter Rachel Scott who asked Putin about a recent law that banned individuals designated as “extremists” from running for public offices.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210616150456-abc-reporter-valdimir-putin-june-16-2021-split-for-video-large-169.jpg”,”title”:”‘What are you so afraid of?’: Journalist presses Putin on political opposition “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/16/vladimir-putin-press-conference-questioning-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/16/vladimir-putin-press-conference-questioning-sot-vpx.cnn”,”videoId”:”world/2021/06/16/vladimir-putin-press-conference-questioning-sot-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/16/vladimir-putin-press-conference-questioning-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1F025CB9-F24E-5594-A790-15B728D4A8C1″},{“descriptionPlainText”:”CNN’s Matthew Chance asks Russian President Vladimir Putin if he was committed to stopping cyberattacks on the United States. Hear Putin’s response.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210616183637-vladimir-putin-joe-biden-summit-press-conference-large-169.jpg”,”title”:”Putin faces question about cyberattacks against the US”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/16/vladimir-putin-biden-summit-sot-matthew-chance-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/16/vladimir-putin-biden-summit-sot-matthew-chance-intl-ldn-vpx.cnn”,”videoId”:”world/2021/06/16/vladimir-putin-biden-summit-sot-matthew-chance-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/16/vladimir-putin-biden-summit-sot-matthew-chance-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5864D47B-F25A-D869-874A-15BDC335AE54″},{“descriptionPlainText”:”CNN’s Christiane Amanpour provides analysis following a summit between President Joe Biden and Russian President Vladimir Putin.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210616173653-amanpour-biden-putin-summit-analysis-large-169.jpg”,”title”:”Amanpour: Biden did something very different than Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/16/biden-putin-summit-geneva-switzerland-amanpour-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/16/biden-putin-summit-geneva-switzerland-amanpour-nr-vpx.cnn”,”videoId”:”politics/2021/06/16/biden-putin-summit-geneva-switzerland-amanpour-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/16/biden-putin-summit-geneva-switzerland-amanpour-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_C0017797-1E60-D2C7-52E6-1579FFABEDD5″},{“descriptionPlainText”:”CNN anchors react to the photo op with President Biden and President Putin as they begin their meeting in Geneva.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210616081722-20-biden-putin-summit-0616-large-169.jpg”,”title”:”Ward describes ‘uncomfortable’ photo op between Biden and Putin”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/16/president-biden-president-putin-uncomfortable-photo-op-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/16/president-biden-president-putin-uncomfortable-photo-op-newday-vpx.cnn”,”videoId”:”world/2021/06/16/president-biden-president-putin-uncomfortable-photo-op-newday-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/16/president-biden-president-putin-uncomfortable-photo-op-newday-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_8A2D3707-175F-854B-5833-14E372E4D203″},{“descriptionPlainText”:”CNN’s Kaitlan Collins describes the chaotic exchange between the US and Russian press pools that led to several American reporters being left out of the room as the Biden-Putin summit got underway.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210616084656-biden-putin-summit-us-russia-press-pools-clash-collins-sot-vpx-00012417-large-169.jpeg”,”title”:”Collins: ‘Combative exchanges’ between Russian and US press corps”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/16/biden-putin-summit-us-russia-press-pools-clash-collins-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/16/biden-putin-summit-us-russia-press-pools-clash-collins-sot-vpx.cnn”,”videoId”:”politics/2021/06/16/biden-putin-summit-us-russia-press-pools-clash-collins-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/16/biden-putin-summit-us-russia-press-pools-clash-collins-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_4CB0A653-70D0-D72F-C5F6-14BEFAC81D53″},{“descriptionPlainText”:”President Joe Biden convenes the highest-stakes talks of his long career when he joins Russia’s Vladimir Putin for a summit, an encounter set to test his decades of experience on the world stage and lay down an early marker of his diplomatic skills.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210616072605-biden-putin-handshake-screengrab-large-169.jpg”,”title”:”See Biden and Putin shake hands as summit begins in Geneva”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/16/biden-putin-meeting-geneva-summit-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/16/biden-putin-meeting-geneva-summit-newday-vpx.cnn”,”videoId”:”politics/2021/06/16/biden-putin-meeting-geneva-summit-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/16/biden-putin-meeting-geneva-summit-newday-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_B6EB8F3E-5613-FF86-CB0F-145E6C31FBE9″},{“descriptionPlainText”:”The Israeli military struck targets in Gaza overnight Wednesday, the Israel Defense Forces (IDF) said in a statement, citing incendiary balloons launched from Gaza earlier in the day. CNN’s Hadas Gold reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210615230347-israeli-air-strike-gaza-restricted-large-169.jpg”,”title”:”Israel launches airstrikes in Gaza over incendiary balloons”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/16/gaza-israel-idf-airstrikes-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/16/gaza-israel-idf-airstrikes-intl-hnk-vpx.cnn”,”videoId”:”world/2021/06/16/gaza-israel-idf-airstrikes-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/16/gaza-israel-idf-airstrikes-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F2ED3F92-AF48-BA4B-9FF2-12FA94BA905C”},{“descriptionPlainText”:”China successfully launched the first module of its planned space station from the Wenchang launch site in the southern island of Hainan, according to the China National Space Administration.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210429155240-china-rocket-launch-module-planned-space-station-large-169.jpg”,”title”:”See China’s last rocket launch to send in space key component of its space station “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/29/china-module-space-station-launch-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/29/china-module-space-station-launch-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/04/29/china-module-space-station-launch-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/29/china-module-space-station-launch-ctw-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_7FF88F24-7921-5F4C-A9CE-1E0FE89EE3AC”}],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:”world/2021/06/08/bisi-alimi-nigerian-gay-rights-activist-hurdles-oneworld-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-xdbidq’,videoDescriptionDivId: ‘js-video_description-xdbidq’,videoDurationDivId: ‘js-video_duration-xdbidq’,videoTitleDivId: ‘js-leaf-video_headline-xdbidq’,videoSourceDivId: ‘js-video_sourceName-xdbidq’});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