The conflict in Ethiopia's Tigray region explained



‘);$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/05/13/tigray-conflict-ethiopia-explainer-zain-asher-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/210504165912-03-cnn-tigray-axum-aid-blockade-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210504165912-03-cnn-tigray-axum-aid-blockade-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210504165912-03-cnn-tigray-axum-aid-blockade-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210504165912-03-cnn-tigray-axum-aid-blockade-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210504165912-03-cnn-tigray-axum-aid-blockade-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210504165912-03-cnn-tigray-axum-aid-blockade-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210504165912-03-cnn-tigray-axum-aid-blockade-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Zain Asher explains the history behind the conflict in Ethiopia’s war-torn northern Tigray region.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210504165912-03-cnn-tigray-axum-aid-blockade-large-169.jpg”,”title”:”The conflict in Ethiopia’s Tigray region explained”,”videoCMSUrl”:”/videos/world/2021/05/13/tigray-conflict-ethiopia-explainer-zain-asher-vpx.cnn”,”videoLeafUrl”:”/videos/world/2021/05/13/tigray-conflict-ethiopia-explainer-zain-asher-vpx.cnn”,”videoId”:”world/2021/05/13/tigray-conflict-ethiopia-explainer-zain-asher-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/13/tigray-conflict-ethiopia-explainer-zain-asher-vpx.cnn”,”surrogateKey”:”video_76601366-4730-D00F-551B-672401042274″},{“descriptionPlainText”:”Video shows ​mob violence between ​Arabs and Jews in ​two Israeli cities following days of air strikes and rocket attack​s. CNN’s John Vause has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210513110534-video-thumbnail-mob-clip-large-169.jpeg”,”title”:”Shocking video shows mob violence in Israel”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/13/mob-violence-israelis-arabs-nr-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/13/mob-violence-israelis-arabs-nr-intl-ldn-vpx.cnn”,”videoId”:”world/2021/05/13/mob-violence-israelis-arabs-nr-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/13/mob-violence-israelis-arabs-nr-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_3A4BDFBE-770D-B3EB-3296-6511101D698A”},{“descriptionPlainText”:”In less than three months, the world will be watching as Japan attempts to host the Summer Olympics in the midst of a global pandemic. As a fourth coronavirus wave takes shape, doctors fear the country’s medical system could be pushed beyond the breaking point. CNN’s Blake Essig gets rare access to the Covid-19 ward at Saitama Medical University International Medical Center.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210507154835-japan-coronavirus-olympics-essig-dnt-intl-ldn-vpx-00004629-large-169.png”,”title”:”Japan nears a Covid-19 crisis. The Olympics could tip it over the edge”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/07/japan-coronavirus-olympics-essig-dnt-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/07/japan-coronavirus-olympics-essig-dnt-intl-ldn-vpx.cnn”,”videoId”:”world/2021/05/07/japan-coronavirus-olympics-essig-dnt-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/07/japan-coronavirus-olympics-essig-dnt-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_08F6751E-18BD-4AD2-BFF3-4726DBD07555″},{“descriptionPlainText”:”About 10 weeks out from the Tokyo Olympic Games and opposition against the games being held continues to grow. Sponsors, athletes, and the medical community are expressing their concern to hold the Games amid Covid-19.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210507051910-anti-olympics-protest-japan-0325-large-169.jpg”,”title”:”Setbacks continue for Tokyo Olympics as Games are 10 weeks out”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/05/13/tokyo-2020-setbacks-10-weeks-to-go-olympics-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/05/13/tokyo-2020-setbacks-10-weeks-to-go-olympics-spt-intl.cnn”,”videoId”:”sports/2021/05/13/tokyo-2020-setbacks-10-weeks-to-go-olympics-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/05/13/tokyo-2020-setbacks-10-weeks-to-go-olympics-spt-intl.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1FB09E9D-5E00-55EE-6691-666370BBBF87″},{“descriptionPlainText”:”Israeli police have clashed with Palestinians in the Jerusalem neighborhood of Sheikh Jarrah, as well as other locations, for several weeks. One of the main sources of unrest has been the possible eviction of several Palestinian families from their homes in this neighborhood. On May 9, Israel’s Supreme Court postponed an appeal hearing on the decades-long legal case. CNN’s Andrew Carey reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210511151512-screengrab-palestinian-large-169.jpg”,”title”:”Palestinians fight eviction from homes in East Jerusalem”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/10/israel-palestinian-clash-jerusalem-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/10/israel-palestinian-clash-jerusalem-intl-hnk-vpx.cnn”,”videoId”:”world/2021/05/10/israel-palestinian-clash-jerusalem-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/10/israel-palestinian-clash-jerusalem-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_7BF2327B-8134-33BB-1389-5525600E96FB”},{“descriptionPlainText”:”CNN’s Rosemary Church speaks with Dr. Mustafa Barghouti, President of the Palestinian National Initiative political party, about the intensifying violence between Israelis and Palestinians.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210512124914-mustafa-barghouti-israel-gaza-may-12-large-169.jpg”,”title”:”Palestinian politician: Israel’s behavior led to this escalation”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/12/israel-gaza-palestinians-barghouti-intv-church-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/12/israel-gaza-palestinians-barghouti-intv-church-intl-ldn-vpx.cnn”,”videoId”:”world/2021/05/12/israel-gaza-palestinians-barghouti-intv-church-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/12/israel-gaza-palestinians-barghouti-intv-church-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_4B749299-350A-8821-F294-60453050A92D”},{“descriptionPlainText”:”Dozens of people, mostly school girls, have been killed and wounded in an explosion near a high school for girls in the Afghan capital, Kabul, Afghan officials said. Officials have not revealed the cause of the explosion, or if there was a target. There has been no claim of responsibility yet. CNN’s Michael Holmes reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210510140910-screengrab-kabul-bomb-large-169.jpg”,”title”:”Families of schoolgirls describe anguish after blast kills dozens”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/08/kabul-blast-girls-school-afghanistan-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/08/kabul-blast-girls-school-afghanistan-vpx.cnn”,”videoId”:”world/2021/05/08/kabul-blast-girls-school-afghanistan-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/08/kabul-blast-girls-school-afghanistan-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_EB06B3B7-E6D0-C261-E016-4CB091FA8BC1″},{“descriptionPlainText”:””The Sakura”, a purple-pink 15.81 carat diamond, could fetch up to $38 million when it goes on sale in Hong Kong next week.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210511153126-sakura-diamond-auction-large-169.jpg”,”title”:”Rare purple-pink diamond could break auction record”,”videoCMSUrl”:”/video/data/3.0/video/style/2021/05/11/sakura-diamond-auction-christies-lon-orig-mrg.cnn/index.xml”,”videoLeafUrl”:”/videos/style/2021/05/11/sakura-diamond-auction-christies-lon-orig-mrg.cnn”,”videoId”:”style/2021/05/11/sakura-diamond-auction-christies-lon-orig-mrg.cnn”,”videoUrl”:”/videos/style/2021/05/11/sakura-diamond-auction-christies-lon-orig-mrg.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5D3442A6-E6A2-867A-C430-5BBCF5B304A2″},{“descriptionPlainText”:”Researchers discovered remains of Neanderthals, an early ancestor of humans, that are more than 50,000 years old in a cave near Rome.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210510162621-neanderthal-remains-italy-large-169.jpg”,”title”:”See these 50,000-year-old Neanderthal skulls discovered in Italy”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/10/neanderthal-remains-italy-orig-jk-scn.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/10/neanderthal-remains-italy-orig-jk-scn.cnn”,”videoId”:”world/2021/05/10/neanderthal-remains-italy-orig-jk-scn.cnn”,”videoUrl”:”/videos/world/2021/05/10/neanderthal-remains-italy-orig-jk-scn.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F1F2E2ED-2C29-1201-85F3-57BFFCCCCC0C”},{“descriptionPlainText”:”A minke whale got stranded in London’s River Thames, hundreds of miles away from its natural habitat. Despite several rescue attempts, officials had to euthanize the whale.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210510161504-01-thames-whale-0509-large-169.jpg”,”title”:”See rescue attempt of whale stranded in London’s River Thames “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/10/thames-river-whale-freed-lon-orig-tp.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/10/thames-river-whale-freed-lon-orig-tp.cnn”,”videoId”:”world/2021/05/10/thames-river-whale-freed-lon-orig-tp.cnn”,”videoUrl”:”/videos/world/2021/05/10/thames-river-whale-freed-lon-orig-tp.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_331A189A-EA6B-8B85-9208-56D2C0A8EE4C”},{“descriptionPlainText”:”For many in Lebanon, observing Ramadan this year hasn’t proved as challenging as finding the food to break it each night.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210507130133-07-lebanon-ramadan-iftar-economy-intl-large-169.jpg”,”title”:”This year Ramadan in Lebanon proves harder than ever”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/07/ramadan-in-lebanon-iftar-poverty-lon-orig-mkd.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/07/ramadan-in-lebanon-iftar-poverty-lon-orig-mkd.cnn”,”videoId”:”world/2021/05/07/ramadan-in-lebanon-iftar-poverty-lon-orig-mkd.cnn”,”videoUrl”:”/videos/world/2021/05/07/ramadan-in-lebanon-iftar-poverty-lon-orig-mkd.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_712C8B26-329D-47BC-1C20-47C968D7D23F”},{“descriptionPlainText”:”Hundreds of Spanish citizens were seen partying as the country ended its coronavirus curfew in 13 of the country’s 17 regions. CNN’s Scott McLean reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210510124706-spain-end-state-of-emergency-coronavirus-covid-19-lok-mclean-intl-hnk-vpx-00000905-large-169.png”,”title”:”See celebrations in Spain as coronavirus curfew ends”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/10/spain-end-state-of-emergency-coronavirus-covid-19-lok-mclean-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/10/spain-end-state-of-emergency-coronavirus-covid-19-lok-mclean-intl-hnk-vpx.cnn”,”videoId”:”world/2021/05/10/spain-end-state-of-emergency-coronavirus-covid-19-lok-mclean-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/10/spain-end-state-of-emergency-coronavirus-covid-19-lok-mclean-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_701123D6-F11A-15A7-492F-548804E71D05″},{“descriptionPlainText”:”A woman who’s never been to Ireland wakes up with an Irish accent. Jeanne Moos reports on foreign accent syndrome.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210511195855-foreign-accent-syndrome-moos-pkg-large-169.jpg”,”title”:”Woman wakes days after surgery with different accent”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/12/overnight-new-accent-moos-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/12/overnight-new-accent-moos-vpx.cnn”,”videoId”:”world/2021/05/12/overnight-new-accent-moos-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/12/overnight-new-accent-moos-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F7CF0356-7A25-3529-7BAC-5DDF8433A135″},{“descriptionPlainText”:”CNN’s Ivan Watson speaks to several Uyghurs about a Chinese government policy that forces Uyghur families to host government officials in their homes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210508180452-uyghur-watson-pkg-large-169.jpg”,”title”:”‘How can we feel safe?’: Uyghur on Chinese government policy”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/08/china-uyghurs-xinjiang-policy-host-government-officials-watson-pkg-intl-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/08/china-uyghurs-xinjiang-policy-host-government-officials-watson-pkg-intl-nr-vpx.cnn”,”videoId”:”world/2021/05/08/china-uyghurs-xinjiang-policy-host-government-officials-watson-pkg-intl-nr-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/08/china-uyghurs-xinjiang-policy-host-government-officials-watson-pkg-intl-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_13CCBD8F-BDDF-95EC-4C7F-4DE0FF7E86D4″},{“descriptionPlainText”:”At least 205 people were injured at Jerusalem’s Al Aqsa mosque after Israeli police in riot gear clashed with Palestinians following evening prayers, according to the Palestinian Red Crescent.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210507182048-03-al-aqsa-clashes-0507-large-169.jpg”,”title”:”Israeli police clash with Palestinians at mosque”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/08/jerusalem-israeli-police-palestinians-al-aqsa-mosque-gold-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/08/jerusalem-israeli-police-palestinians-al-aqsa-mosque-gold-ndwknd-vpx.cnn”,”videoId”:”world/2021/05/08/jerusalem-israeli-police-palestinians-al-aqsa-mosque-gold-ndwknd-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/08/jerusalem-israeli-police-palestinians-al-aqsa-mosque-gold-ndwknd-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F5104EF9-CBBD-3CDD-9676-4C0FC3F54D7B”},{“descriptionPlainText”:”France is angry that after decades of unfettered access to the waters around Jersey, fishing boats must now provide proof they have historically fished in the waters, and paperwork that is required since Britain left the European Union. CNN’s Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210509131710-jersey-fishermen-robertson-pkg-large-169.jpg”,”title”:”Fishermen caught in the middle of dispute between Britain and France”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/09/jersey-fishing-britain-france-robertson-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/09/jersey-fishing-britain-france-robertson-pkg-vpx.cnn”,”videoId”:”world/2021/05/09/jersey-fishing-britain-france-robertson-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/09/jersey-fishing-britain-france-robertson-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_77883B22-FD80-C4A7-A765-521926F4D2D9″}],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/05/13/tigray-conflict-ethiopia-explainer-zain-asher-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-owajq8’,videoDescriptionDivId: ‘js-video_description-owajq8’,videoDurationDivId: ‘js-video_duration-owajq8’,videoTitleDivId: ‘js-leaf-video_headline-owajq8’,videoSourceDivId: ‘js-video_sourceName-owajq8’});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 *