A A+ A++

‘);$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/02/05/nigeria-national-identification-numbers-coronavirus-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/210205133736-nigerian-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210205133736-nigerian-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210205133736-nigerian-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210205133736-nigerian-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210205133736-nigerian-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210205133736-nigerian-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210205133736-nigerian-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Stephanie Busari reports on Nigeria’s policy that mandates citizens pair their national identification number with their phone lines, forcing them to congregate in crowds amid a pandemic in order to meet the registration deadline.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210205133736-nigerian-large-169.jpg”,”title”:”Nigerians speak out against new SIM card registration policy”,”videoCMSUrl”:”/videos/world/2021/02/05/nigeria-national-identification-numbers-coronavirus-vpx.cnn”,”videoLeafUrl”:”/videos/world/2021/02/05/nigeria-national-identification-numbers-coronavirus-vpx.cnn”,”videoId”:”world/2021/02/05/nigeria-national-identification-numbers-coronavirus-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/05/nigeria-national-identification-numbers-coronavirus-vpx.cnn”,”surrogateKey”:”video_CA382377-68F3-D9EE-66B7-7366DFEBDCEB”},{“descriptionPlainText”:”CNN’s Vedika Sud reports from the outskirts of Delhi, where thousands of protesting farmers infuriated by new agricultural reforms are living in tents.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210205221805-indian-farmer-protest-large-169.jpg”,”title”:”Life at Indian farmers protest camps on Delhi’s outskirts”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/06/indian-farmers-protest-camp-sud-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/06/indian-farmers-protest-camp-sud-pkg-vpx.cnn”,”videoId”:”world/2021/02/06/indian-farmers-protest-camp-sud-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/06/indian-farmers-protest-camp-sud-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_380080F2-64D0-8FC2-7E75-753ECECF42FC”},{“descriptionPlainText”:”Hong Kong has introduced sweeping new restrictions in schools, months after the Beijing government imposed a new national security law giving authorities wide-ranging powers to crack down on vaguely defined political crimes. CNN’s Kristie Lu Stout reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210205095414-hong-kong-national-security-law-education-animation-large-169.jpg”,”title”:”See animated video used to teach Hong Kong national security law”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/05/hong-kong-national-security-law-education-schools-lu-stout-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/05/hong-kong-national-security-law-education-schools-lu-stout-intl-ldn-vpx.cnn”,”videoId”:”world/2021/02/05/hong-kong-national-security-law-education-schools-lu-stout-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/05/hong-kong-national-security-law-education-schools-lu-stout-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_8A5EBC4C-28ED-0B05-0F0D-7198AB3F90D4″},{“descriptionPlainText”:”Days after the military coup in Myanmar, some protesters took to the streets to peacefully demonstrate in Mandalay while hospital workers in the country’s largest city Yangon threatened to go on strike.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210204172633-myanmar-protests-large-169.jpg”,”title”:”See how Burmese are using non-violence to protest coup”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/04/myanmar-coup-protests-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/04/myanmar-coup-protests-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/02/04/myanmar-coup-protests-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/04/myanmar-coup-protests-ctw-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_A54752B9-EC97-49FC-422D-6DFFA651CA56″},{“descriptionPlainText”:”Former Director of National Intelligence James Clapper said that Russian President Vladimir Putin is scared of the support Putin critic Alexey Navalny has in Russia after a Moscow court sentenced Navalny to two and a half years in jail.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210203161633-james-clapper-large-169.jpg”,”title”:”Clapper: Putin is afraid of Navalny and support he garners”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/03/clapper-sot-navalny-russia-putin-jail-sanctions-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/03/clapper-sot-navalny-russia-putin-jail-sanctions-nr-vpx.cnn”,”videoId”:”world/2021/02/03/clapper-sot-navalny-russia-putin-jail-sanctions-nr-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/03/clapper-sot-navalny-russia-putin-jail-sanctions-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_51EF0265-27D8-2292-791C-69B0AC09E34C”},{“descriptionPlainText”:”Hundreds of thousands of farmers drove their tractors into New Delhi, as part of ongoing nationwide protests against controversial agricultural laws that farmers say put their livelihoods at risk. CNN’s Vedika Sud reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210126164251-screengrab-farmers-protest-republic-day-2-large-169.jpg”,”title”:”Indian farmers vow to fight on after violent protest”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/26/india-farmers-protest-republic-day-sud-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/26/india-farmers-protest-republic-day-sud-intl-hnk-vpx.cnn”,”videoId”:”world/2021/01/26/india-farmers-protest-republic-day-sud-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/26/india-farmers-protest-republic-day-sud-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_BAA7B92D-362C-B4D9-0A90-3DBE4695A7BB”},{“descriptionPlainText”:”CNN’s Matthew Chance reports on the protests in Russia after a Moscow court sentenced Putin critic Alexey Navalny to two and a half years in jail.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210202153304-alexey-navalny-sentencing-february-2-2021-02-large-169.jpg”,”title”:”Anger pours onto Moscow streets after Navalny sentencing”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/02/alexey-navalny-russia-rolling-the-dice-clarissa-ward-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/02/alexey-navalny-russia-rolling-the-dice-clarissa-ward-sot-nr-vpx.cnn”,”videoId”:”world/2021/02/02/alexey-navalny-russia-rolling-the-dice-clarissa-ward-sot-nr-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/02/alexey-navalny-russia-rolling-the-dice-clarissa-ward-sot-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_3C363863-AA94-309B-87AF-643B136381A6″},{“descriptionPlainText”:”Scottish fishermen say post-Brexit red tape has made it almost impossible to sell British seafood to the European Union. CNN’s Anna Stewart reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210122164228-brexit-fisherman-large-169.jpg”,”title”:”Scottish fishermen say Brexit threatens to kill their business”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/01/brexit-shellfish-industry-stewart-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/01/brexit-shellfish-industry-stewart-dnt-vpx.cnn”,”videoId”:”world/2021/02/01/brexit-shellfish-industry-stewart-dnt-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/01/brexit-shellfish-industry-stewart-dnt-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_08B7C307-C16B-2BB3-C596-5FE003688AF2″},{“descriptionPlainText”:”CNN’s Fred Pleitgen reports from outside court as Russian opposition campaigner Alexey Navalny appears for a hearing. The hearing will determine whether Navalny will face jail time for allegedly violating terms of a suspended sentence over 2014 fraud claims.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210202113350-navalny-hearing-protester-detained-02022021-large-169.jpg”,”title”:”Video shows police detaining protester amid Navalny hearing”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/02/alexey-navalny-russia-court-hearing-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/02/alexey-navalny-russia-court-hearing-intl-ldn-vpx.cnn”,”videoId”:”world/2021/02/02/alexey-navalny-russia-court-hearing-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/02/alexey-navalny-russia-court-hearing-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_ACABCD27-C9B1-D7A5-676A-62046BCF40EB”},{“descriptionPlainText”:”CNN’s Max Boot discusses Ukraine’s President Zelensky’s interview with HBO’s Axios where he said the Capitol riots were a strong blow to US democracy and Zelensky couldn’t believe something like that was possible in the US.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210201150823-president-zelensky-large-169.jpg”,”title”:”Ukraine’s President: Capitol riots a ‘strong blow’ to US democracy”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/02/01/boot-intv-axios-ukraine-president-zelensky-us-capitol-riots-democracy-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/02/01/boot-intv-axios-ukraine-president-zelensky-us-capitol-riots-democracy-nr-vpx.cnn”,”videoId”:”politics/2021/02/01/boot-intv-axios-ukraine-president-zelensky-us-capitol-riots-democracy-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/02/01/boot-intv-axios-ukraine-president-zelensky-us-capitol-riots-democracy-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9C285A8C-2B9A-B6EB-2ABF-5F3E1422A82F”},{“descriptionPlainText”:”A Russian fighter jet flew low over the Black Sea on January 31, near the USS Donald Cook, a naval missile destroyer operating in the Black Sea, according to a tweet from US Naval Forces Europe-Africa/US 6th Fleet, which tweeted video of the incident.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210201170250-russian-jet-black-sea-uss-donald-cook-large-169.jpg”,”title”:”See Russian jet fly low near US Navy ship in Black Sea”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/01/us-navy-ship-russian-jet-black-sea-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/01/us-navy-ship-russian-jet-black-sea-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/02/01/us-navy-ship-russian-jet-black-sea-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/01/us-navy-ship-russian-jet-black-sea-ctw-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_310C2754-E2BE-0D75-89DB-5E8037D43351″},{“descriptionPlainText”:”Myanmar’s powerful military has taken control of the country in a coup and declared a state of emergency, following the detention of Aung San Suu Kyi and other senior government leaders in early morning raids on February 1. CNN’s Ivan Watson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210201154523-myanmar-military-coup-soldiers-large-169.jpg”,”title”:”Videos from Myanmar show ‘textbook example’ of military coup”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/01/myanmar-military-coup-aung-san-suu-kyi-watson-dnt-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/01/myanmar-military-coup-aung-san-suu-kyi-watson-dnt-intl-ldn-vpx.cnn”,”videoId”:”world/2021/02/01/myanmar-military-coup-aung-san-suu-kyi-watson-dnt-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/01/myanmar-military-coup-aung-san-suu-kyi-watson-dnt-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_015A8E4F-297F-B52E-56E5-5E27E11CFC37″},{“descriptionPlainText”:”CNN’s Fred Pleitgen reports that thousands of opposition protesters calling for the release of Kremlin critic Alexey Navalny have been detained amid a crackdown by Russian security forces.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210131150745-russian-protestor-vpx-screengrab-large-169.jpg”,”title”:”Russian protester on why he is demonstrating amid security crackdown”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/31/russian-security-forces-crack-down-opposition-protests-pleitgen-pkg-newsroom-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/31/russian-security-forces-crack-down-opposition-protests-pleitgen-pkg-newsroom-vpx.cnn”,”videoId”:”world/2021/01/31/russian-security-forces-crack-down-opposition-protests-pleitgen-pkg-newsroom-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/31/russian-security-forces-crack-down-opposition-protests-pleitgen-pkg-newsroom-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_403CEEA4-9040-8C96-1F93-5A0405092338″},{“descriptionPlainText”:”Supporters of the Marseille football club in France marched onto the team’s training ground in protest. A fire broke out and forced the club to postpone a match. CNN’s Don Riddell has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210131122412-marseille-training-ground-protest-large-169.jpg”,”title”:”Protesters storm Marseille training ground”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/01/31/marseille-protest-training-ground-fire-riddell-vpx-worldsport.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/01/31/marseille-protest-training-ground-fire-riddell-vpx-worldsport.cnn”,”videoId”:”sports/2021/01/31/marseille-protest-training-ground-fire-riddell-vpx-worldsport.cnn”,”videoUrl”:”/videos/sports/2021/01/31/marseille-protest-training-ground-fire-riddell-vpx-worldsport.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_62784E73-DBE6-BD2C-4D19-5964C51D0C8D”},{“descriptionPlainText”:”The Polish government has imposed a near-total ban on abortions, including the termination of pregnancies with fetal defects, delivering a major blow to pro-choice advocates and sparking protests in one of Europe’s most devout Catholic countries.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210127232130-01-poland-abortion-protest-210127-large-169.jpg”,”title”:”A culture war is raging in Poland. The battleground: Women’s bodies”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/31/poland-abortion-law-black-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/31/poland-abortion-law-black-pkg-vpx.cnn”,”videoId”:”world/2021/01/31/poland-abortion-law-black-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/31/poland-abortion-law-black-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F17752A8-E8CD-5427-1385-59697444A2FE”},{“descriptionPlainText”:”Pakistan’s Supreme Court has ruled that four men convicted of kidnapping and murdering US journalist Daniel Pearl should go free. Pearl was working for the Wall Street Journal in 2002 when he was kidnapped in the southern Pakistani city of Karachi. Assailants later filmed Pearl’s beheading and sent it to United States officials. CNN’s Ivan Watson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210128042047-daniel-pearl-file-large-169.jpg”,”title”:”CNN reporter who covered Pearl case in 2002: This is a shocking development”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/28/daniel-pearl-pakistan-supreme-court-watson-newday-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/28/daniel-pearl-pakistan-supreme-court-watson-newday-intl-ldn-vpx.cnn”,”videoId”:”world/2021/01/28/daniel-pearl-pakistan-supreme-court-watson-newday-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/28/daniel-pearl-pakistan-supreme-court-watson-newday-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_4BAB6A07-5348-2598-862D-48D3CF5B5208″}],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/02/05/nigeria-national-identification-numbers-coronavirus-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-14pg0x0’,videoDescriptionDivId: ‘js-video_description-14pg0x0’,videoDurationDivId: ‘js-video_duration-14pg0x0’,videoTitleDivId: ‘js-leaf-video_headline-14pg0x0’,videoSourceDivId: ‘js-video_sourceName-14pg0x0’});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(‘

Oryginalne źródło: ZOBACZ
0
Udostępnij na fb
Udostępnij na twitter
Udostępnij na WhatsApp

Oryginalne źródło ZOBACZ

Subskrybuj
Powiadom o

Dodaj kanał RSS

Musisz być zalogowanym aby zaproponować nowy kanal RSS

Dodaj kanał RSS
0 komentarzy
Informacje zwrotne w treści
Wyświetl wszystkie komentarze
Poprzedni artykułJanecki w “Sieci”: Platforma nie wie, co z sobą począć
Następny artykułTrzeba być basiorem, a nie Lechem próbującym gonić czołówkę