Home World Wide News Coronavirus presents chance to help London’s homeless

Coronavirus presents chance to help London’s homeless

0
Coronavirus presents chance to help London’s homeless

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2020/06/28/london-homeless-housed-coronavirus-black-pkg-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/200628080052-london-homeless-housed-coronavirus-black-pkg-vpx-00000906-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200628080052-london-homeless-housed-coronavirus-black-pkg-vpx-00000906-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200628080052-london-homeless-housed-coronavirus-black-pkg-vpx-00000906-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200628080052-london-homeless-housed-coronavirus-black-pkg-vpx-00000906-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200628080052-london-homeless-housed-coronavirus-black-pkg-vpx-00000906-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200628080052-london-homeless-housed-coronavirus-black-pkg-vpx-00000906-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200628080052-london-homeless-housed-coronavirus-black-pkg-vpx-00000906-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”As England’s coronavirus lockdown gets set to be relaxed, some charities are seeing an opportunity to help thousands of homeless people living in the streets of London. CNN’s Phil Black reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200628080052-london-homeless-housed-coronavirus-black-pkg-vpx-00000906-large-169.jpg”,”title”:”Coronavirus presents chance to help London’s homeless”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/28/london-homeless-housed-coronavirus-black-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/28/london-homeless-housed-coronavirus-black-pkg-vpx.cnn”,”videoId”:”world/2020/06/28/london-homeless-housed-coronavirus-black-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/28/london-homeless-housed-coronavirus-black-pkg-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_C3DB60BA-106E-812C-0666-FAC45FFDA182″},{“descriptionPlainText”:”Three meat packing facilities have found themselves in coronavirus hotspots as Covid-19 continues to spread. CNN’s Anna Stewart reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200627072840-anna-stewart-wales-pkg-large-169.jpg”,”title”:”Meat packing facility reports over 200 cases of coronavirus”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/27/meatpacking-plants-coronavirus-stewart-pkg-qmb-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/27/meatpacking-plants-coronavirus-stewart-pkg-qmb-vpx.cnn”,”videoId”:”world/2020/06/27/meatpacking-plants-coronavirus-stewart-pkg-qmb-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/27/meatpacking-plants-coronavirus-stewart-pkg-qmb-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_C3DB60BA-106E-812C-0666-FAC45FFDA182″},{“descriptionPlainText”:”CNN’s Cyril Vanier visits the Eiffel Tower in Paris as it reopens following its longest period of closure since WWII as the French capital emerges from lockdown.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200625093207-paris-france-eiffel-tower-reopening-coronavirus-covid-19-pandemic-lockdown-vanier-pkg-intl-ldn-vpx-00001618-large-169.jpg”,”title”:”Fancy a peek from the top of Eiffel Tower? You’ll need to earn it”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/06/25/paris-france-eiffel-tower-reopening-coronavirus-covid-19-pandemic-lockdown-vanier-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/06/25/paris-france-eiffel-tower-reopening-coronavirus-covid-19-pandemic-lockdown-vanier-pkg-intl-ldn-vpx.cnn”,”videoId”:”travel/2020/06/25/paris-france-eiffel-tower-reopening-coronavirus-covid-19-pandemic-lockdown-vanier-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/travel/2020/06/25/paris-france-eiffel-tower-reopening-coronavirus-covid-19-pandemic-lockdown-vanier-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_BB6A1612-A381-6A05-56B5-F57312AC1CAC”},{“descriptionPlainText”:”Experts are researching a set of premature babies who tested positive for coronavirus after birth in San Luis Potosí, Mexico. Dr. Tanya Altmann tells CNN’s Brianna Keilar more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200625151025-keilar-health-expert-large-169.jpg”,”title”:”Triplets diagnosed with Covid-19 after birth. Experts investigate why”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/06/25/triplets-babies-diagnosed-with-coronavirus-mexico-keilar-intv-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/06/25/triplets-babies-diagnosed-with-coronavirus-mexico-keilar-intv-nr-vpx.cnn”,”videoId”:”health/2020/06/25/triplets-babies-diagnosed-with-coronavirus-mexico-keilar-intv-nr-vpx.cnn”,”videoUrl”:”/videos/health/2020/06/25/triplets-babies-diagnosed-with-coronavirus-mexico-keilar-intv-nr-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_3020DB68-9681-2FA3-E0BB-EA8C27CCD2E1″},{“descriptionPlainText”:”New Delhi’s government is warning that the Indian capital could reach half a million Covid-19 cases by late July. CNN’s Vedika Sud reports on a growing number of reports of patients dying after being unable to get medical attention.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200624142736-india-new-delhi-covid-19-coronavirus-pandemic-hospitals-sud-pkg-intl-ldn-vpx-00033712-large-169.jpg”,”title”:”New Delhi, India, braces for ‘tsunami’ of Covid-19 cases”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/24/india-new-delhi-covid-19-coronavirus-pandemic-hospitals-sud-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/24/india-new-delhi-covid-19-coronavirus-pandemic-hospitals-sud-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/06/24/india-new-delhi-covid-19-coronavirus-pandemic-hospitals-sud-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/24/india-new-delhi-covid-19-coronavirus-pandemic-hospitals-sud-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_635F3E0F-9403-9821-FBDD-ECD196D6C0B7″},{“descriptionPlainText”:”CNN’s Hala Gorani speaks with World Health Organization Special Envoy Dr. David Nabarro, who warns that as countries prepare to ease lockdowns they need to do so carefully and take the virus seriously.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200624164642-nabarro-world-health-organization-gorani-interview-06242020-large-169.jpg”,”title”:”WHO Special Envoy to US: Please take this virus very seriously”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/24/coronavirus-covid-19-pandemic-who-special-envoy-nabarro-warning-gorani-intv-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/24/coronavirus-covid-19-pandemic-who-special-envoy-nabarro-warning-gorani-intv-intl-ldn-vpx.cnn”,”videoId”:”world/2020/06/24/coronavirus-covid-19-pandemic-who-special-envoy-nabarro-warning-gorani-intv-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/24/coronavirus-covid-19-pandemic-who-special-envoy-nabarro-warning-gorani-intv-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_408E6AE1-DA89-7FFB-4483-E671CB77369B”},{“descriptionPlainText”:”CNN’s David Culver goes into a mass coronavirus testing site in Beijing as the capital city tries to maintain control over the most recent Covid-19 outbreak.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200624133250-china-beijing-coronavirus-testing-site-culver-lkl-intl-hnk-vpx-00003108-large-169.jpg”,”title”:”Inside a mass Covid-19 testing site in Beijing”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/24/china-beijing-coronavirus-testing-site-culver-lkl-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/24/china-beijing-coronavirus-testing-site-culver-lkl-intl-hnk-vpx.cnn”,”videoId”:”world/2020/06/24/china-beijing-coronavirus-testing-site-culver-lkl-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/24/china-beijing-coronavirus-testing-site-culver-lkl-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_1EB85AE3-9739-127E-B0C7-E6F6ECA31DA8″},{“descriptionPlainText”:”A Brazilian federal judge has ordered President Jair Bolsonaro to wear a face mask in public after the coronavirus skeptic appeared in many rallies without one. CNN’s Shasta Darlington reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200624111852-brazil-jair-bolsonaro-ordered-to-wear-mask-intl-hnk-vpx-00001129-large-169.jpg”,”title”:”Bolsonaro ordered to wear mask in public”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/24/brazil-jair-bolsonaro-ordered-to-wear-mask-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/24/brazil-jair-bolsonaro-ordered-to-wear-mask-intl-hnk-vpx.cnn”,”videoId”:”world/2020/06/24/brazil-jair-bolsonaro-ordered-to-wear-mask-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/24/brazil-jair-bolsonaro-ordered-to-wear-mask-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_726CBA6B-FC7F-B9B1-BB5A-E4C9A5047759″},{“descriptionPlainText”:”More than 50,000 people in the United Kingdom have died after contracting Covid-19, according to statistic bodies from all of the nations within the UK. CNN’s Nic Robertson reports on how Britain reached this grim milestone.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200609102129-uk-coronavirus-covid-19-pandemic-response-boris-johnson-cummings-lockdown-robertson-pkg-intl-ldn-vpx-00004009-large-169.jpg”,”title”:”A timeline of the UK’s coronavirus response”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/09/uk-coronavirus-covid-19-pandemic-response-boris-johnson-cummings-lockdown-robertson-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/09/uk-coronavirus-covid-19-pandemic-response-boris-johnson-cummings-lockdown-robertson-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/06/09/uk-coronavirus-covid-19-pandemic-response-boris-johnson-cummings-lockdown-robertson-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/09/uk-coronavirus-covid-19-pandemic-response-boris-johnson-cummings-lockdown-robertson-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_BD56DFF2-77D2-A5DB-8E3F-E4440ABB62AE”},{“descriptionPlainText”:”Mexico has started to reopen its economy, but the crematorium show the Covid-19 epidemic is far from over. The country is faced with a dilemma between saving lives and saving its dire economy. CNN’s Matt Rivers reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200623122804-mexico-coronavirus-reopening-crematorium-rivers-pkg-intl-hnk-vpx-00002625-large-169.jpg”,”title”:”Crematorium busier than ever as Mexico reopens economy “,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/23/mexico-coronavirus-reopening-crematorium-rivers-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/23/mexico-coronavirus-reopening-crematorium-rivers-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2020/06/23/mexico-coronavirus-reopening-crematorium-rivers-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/23/mexico-coronavirus-reopening-crematorium-rivers-pkg-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_2BA94B29-BFE0-10DA-47F3-9852B22B5CEB”},{“descriptionPlainText”:”The reproduction number of the coronavirus in Germany has risen sharply after an outbreak at a meat processing plant infected hundreds of workers. CNN’s Frederik Pleitgen reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200622142340-germany-coronavirus-covid-19-meatpacking-plant-reproduction-rate-pleitgen-pkg-intl-ldn-vpx-00000326-large-169.jpg”,”title”:”Germany calls army after virus outbreak in meat processing plant”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/22/germany-coronavirus-covid-19-meatpacking-plant-reproduction-rate-pleitgen-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/22/germany-coronavirus-covid-19-meatpacking-plant-reproduction-rate-pleitgen-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/06/22/germany-coronavirus-covid-19-meatpacking-plant-reproduction-rate-pleitgen-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/22/germany-coronavirus-covid-19-meatpacking-plant-reproduction-rate-pleitgen-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_576A4205-6B2E-3BFB-ABF4-DF4D255C91DB”},{“descriptionPlainText”:”About 80 percent of residents in the Shipibo village in Peru’s central Amazon have Covid-19, including Elias — a nurse left to administer aid and treatment to the more than 700 people. The village is just an example of the reality in Peru where daily infection rate is climbing without an end in sight. Journalist Guillermo Galdos reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200622133516-shipibo-village-peru-large-169.jpg”,”title”:”Covid-19 devastates remote village in Amazon”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/22/peru-coronavirus-nurse-amazon-village-galdos-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/22/peru-coronavirus-nurse-amazon-village-galdos-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2020/06/22/peru-coronavirus-nurse-amazon-village-galdos-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/22/peru-coronavirus-nurse-amazon-village-galdos-pkg-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_CD263396-DC26-FE56-FD38-DC2472EE31A8″},{“descriptionPlainText”:”Restaurants in Paris are scrambling to reopen after French President Emmanuel Macron declared the first wave of the coronavirus crisis over.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200621130228-paris-france-gourmet-restaurant-reopening-pkg-vpx-00021206-large-169.jpg”,”title”:”Gourmet restaurants scramble to reopen in France “,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/21/paris-france-gourmet-restaurant-reopening-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/21/paris-france-gourmet-restaurant-reopening-pkg-vpx.cnn”,”videoId”:”world/2020/06/21/paris-france-gourmet-restaurant-reopening-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/21/paris-france-gourmet-restaurant-reopening-pkg-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_127135CD-9C65-5C8F-970B-DA72EEBA9E85″},{“descriptionPlainText”:”CNN’s Arwa Damon shares a Syrian refugee family’s story of danger and difficulty during the coronavirus pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200620064728-syria-refugees-damon-package-large-169.jpg”,”title”:”Coronavirus diverting funds for traumatized refugees”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/20/syria-refugees-turkey-coronavirus-covid-19-damon-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/20/syria-refugees-turkey-coronavirus-covid-19-damon-pkg-vpx.cnn”,”videoId”:”world/2020/06/20/syria-refugees-turkey-coronavirus-covid-19-damon-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/20/syria-refugees-turkey-coronavirus-covid-19-damon-pkg-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_4FF76134-B3F4-32AA-3761-D7C85100FAA7″},{“descriptionPlainText”:”CNN’s Matt Rivers reports that Brazil now has 1 million coronavirus cases as President Jaie Bolsonaro remains defiant about his administration’s response to the pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200612193829-01-brazil-coronavirus-0611-large-169.jpg”,”title”:”Brazil passes 1 million coronavirus cases”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/06/19/brazil-one-million-coronavirus-cases-matt-rivers-pkg-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/06/19/brazil-one-million-coronavirus-cases-matt-rivers-pkg-intl-vpx.cnn”,”videoId”:”world/2020/06/19/brazil-one-million-coronavirus-cases-matt-rivers-pkg-intl-vpx.cnn”,”videoUrl”:”/videos/world/2020/06/19/brazil-one-million-coronavirus-cases-matt-rivers-pkg-intl-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_191E4E8D-7F98-4CBE-FE7D-D15224674A6F”}],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/2020/06/28/london-homeless-housed-coronavirus-black-pkg-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-1j4iit4’,videoDescriptionDivId: ‘js-video_description-1j4iit4’,videoDurationDivId: ‘js-video_duration-1j4iit4’,videoTitleDivId: ‘js-leaf-video_headline-1j4iit4’,videoSourceDivId: ‘js-video_sourceName-1j4iit4’});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

Please enter your comment!
Please enter your name here