Breaking down the data on the Vallejo PD

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘us/2021/04/29/united-shades-policing-the-police-102.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/210429203018-united-shades-policing-the-police-102-00001730-small-169.png”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210429203018-united-shades-policing-the-police-102-00001730-medium-plus-169.png”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210429203018-united-shades-policing-the-police-102-00001730-large-169.png”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210429203018-united-shades-policing-the-police-102-00001730-exlarge-169.png”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210429203018-united-shades-policing-the-police-102-00001730-super-169.png”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210429203018-united-shades-policing-the-police-102-00001730-full-169.png”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210429203018-united-shades-policing-the-police-102-00001730-small-11.png”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”W. Kamau Bell speaks with Open Vallejo founder Geoffrey King. For more on the history and current state of policing in America, watch “United Shades of America with W. Kamau Bell” on Sunday, May 2 at 10 p.m. ET/PT.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210429203018-united-shades-policing-the-police-102-00001730-large-169.png”,”title”:”‘United Shades’ examines the data on the Vallejo Police Department”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/04/29/united-shades-policing-the-police-102.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/04/29/united-shades-policing-the-police-102.cnn”,”videoId”:”us/2021/04/29/united-shades-policing-the-police-102.cnn”,”videoUrl”:”/videos/us/2021/04/29/united-shades-policing-the-police-102.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_9F61C530-D059-5633-0EB2-1FF115FA4ED9″},{“descriptionPlainText”:”W. Kamau Bell visits Los Angeles to explore the homelessness crisis on “United Shades of America” Sunday, August 30 at 10 p.m. ET/PT.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200827144056-united-shades-of-america-la-clip-1-00003414-large-169.jpg”,”title”:”LA’s houseless fought for this right”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/08/27/united-shades-of-america-la-clip-1.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/08/27/united-shades-of-america-la-clip-1.cnn”,”videoId”:”us/2020/08/27/united-shades-of-america-la-clip-1.cnn”,”videoUrl”:”/videos/us/2020/08/27/united-shades-of-america-la-clip-1.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_CBCE4EC3-AA56-2516-0C3A-1FF0E680C224″},{“descriptionPlainText”:”W. Kamau Bell joins Shirley Raines, who runs the non-profit Beauty 2 The Streetz, as she and her team get to work helping those without shelter feel renewed. “United Shades of America” airs Sunday, August 30 at 9 p.m. and 10 p.m. ET/PT.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200827135912-united-shades-of-america-la-clip-2-00002513-large-169.jpg”,”title”:”W. Kamau Bell helps bring ‘Beauty 2 the Streetz'”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/08/27/united-shades-of-america-la-clip-2.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/08/27/united-shades-of-america-la-clip-2.cnn”,”videoId”:”us/2020/08/27/united-shades-of-america-la-clip-2.cnn”,”videoUrl”:”/videos/us/2020/08/27/united-shades-of-america-la-clip-2.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_9F61C530-D059-5633-0EB2-1FF115FA4ED9″},{“descriptionPlainText”:”W. Kamau Bell visits South Florida, home of the largest number of Venezuelans in the United States, to understand the crisis that led them to seek asylum. Watch “United Shades of America” Sunday at 10 p.m. ET.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200821080339-united-shades-of-america-florida-clip-1-00000515-large-169.jpg”,”title”:”Venezuelan asylum seeker describes being detained”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/08/21/united-shades-of-america-florida-clip-1.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/08/21/united-shades-of-america-florida-clip-1.cnn”,”videoId”:”us/2020/08/21/united-shades-of-america-florida-clip-1.cnn”,”videoUrl”:”/videos/us/2020/08/21/united-shades-of-america-florida-clip-1.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_8F4BEC84-3C82-4A5E-31D2-2DDCBBA80191″},{“descriptionPlainText”:”W. Kamau Bell visits South Florida, home of the largest number of Venezuelans in the United States, to understand the crisis that led them to seek asylum. Watch “United Shades of America” Sunday at 10 p.m. ET.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200821080036-united-shades-of-america-florida-clip-2-00002107-large-169.jpg”,”title”:”Sending care to a Venezuela deep in crisis”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/08/21/united-shades-of-america-florida-clip-2.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/08/21/united-shades-of-america-florida-clip-2.cnn”,”videoId”:”us/2020/08/21/united-shades-of-america-florida-clip-2.cnn”,”videoUrl”:”/videos/us/2020/08/21/united-shades-of-america-florida-clip-2.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_E96B79AF-C287-CE1C-64EA-2DE0551B48EA”},{“descriptionPlainText”:”W. Kamau Bell visits New Orleans to explore the topic of reparations. Watch “United Shades of America” Sunday at 10 p.m. ET.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200813170231-united-shades-of-america-reparations-clip-1-00000209-large-169.jpg”,”title”:”What one New Orleans resident would do with reparations”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/08/13/united-shades-of-america-reparations-clip-1.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/08/13/united-shades-of-america-reparations-clip-1.cnn”,”videoId”:”us/2020/08/13/united-shades-of-america-reparations-clip-1.cnn”,”videoUrl”:”/videos/us/2020/08/13/united-shades-of-america-reparations-clip-1.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_1760FA8A-4D87-DA52-5637-10C6C702FD18″},{“descriptionPlainText”:”W. Kamau Bell explores working America today, where the fastest-growing category of new jobs is gig work. Watch “United Shades of America” Sundays at 10 p.m. ET.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200806125813-united-shades-of-america-gig-economy-clip-3-00003320-large-169.jpg”,”title”:”What it’s like to be a grocery delivery gig worker”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/08/06/united-shades-of-america-gig-economy-clip-3.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/08/06/united-shades-of-america-gig-economy-clip-3.cnn”,”videoId”:”business/2020/08/06/united-shades-of-america-gig-economy-clip-3.cnn”,”videoUrl”:”/videos/business/2020/08/06/united-shades-of-america-gig-economy-clip-3.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_3578EABB-F282-5D5B-723F-10D34F1BECDE”},{“descriptionPlainText”:”Host W. Kamau Bell explores working America today, where the fastest-growing category of new jobs is gig work. Watch “United Shades of America” Sundays at 10 p.m. ET.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200806125309-united-shades-of-america-gig-economy-clip-2-00002420-large-169.jpg”,”title”:”He has a full-time job — plus three gigs”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/08/06/united-shades-of-america-gig-economy-clip-2.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/08/06/united-shades-of-america-gig-economy-clip-2.cnn”,”videoId”:”business/2020/08/06/united-shades-of-america-gig-economy-clip-2.cnn”,”videoUrl”:”/videos/business/2020/08/06/united-shades-of-america-gig-economy-clip-2.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_1D714401-93D3-7927-3606-E99066DD831F”},{“descriptionPlainText”:”W. Kamau Bell explores working America, where the fastest-growing category of new jobs is gig work. Watch “United Shades of America” Sundays at 10 p.m. ET.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200806144114-united-shades-of-america-gig-economy-clip-1-00000920-large-169.jpg”,”title”:”Gig worker: These jobs aren’t for extra money. They’re essential”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/08/06/united-shades-of-america-gig-economy-clip-1.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/08/06/united-shades-of-america-gig-economy-clip-1.cnn”,”videoId”:”business/2020/08/06/united-shades-of-america-gig-economy-clip-1.cnn”,”videoUrl”:”/videos/business/2020/08/06/united-shades-of-america-gig-economy-clip-1.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_AC628ADC-4DB5-03EF-8BAC-C44C67C057B1″},{“descriptionPlainText”:”W. Kamau Bell speaks with author and Harvard professor Anthony Abraham Jack on educational inequities in the US. For more, watch “United Shades of America” Sunday at 10 p.m. ET/PT.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200731130312-united-shades-public-school-lockers-large-169.jpg”,”title”:”The difference a zip code makes in public education”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/07/31/united-shades-of-america-public-school-clip-1.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/07/31/united-shades-of-america-public-school-clip-1.cnn”,”videoId”:”us/2020/07/31/united-shades-of-america-public-school-clip-1.cnn”,”videoUrl”:”/videos/us/2020/07/31/united-shades-of-america-public-school-clip-1.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_08FC9EB0-F216-B502-C5D2-C469179767A8″},{“descriptionPlainText”:”W. Kamau Bell speaks with Oakland Police Chief LeRonne Armstrong about the current state of policing in the US. Watch “United Shades of America with W. Kamau Bell” on Sunday, May 2 at 10 p.m. ET/PT.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210429201304-united-shades-policing-the-police-101-00001903-large-169.png”,”title”:”Oakland Police Chief on whether this moment is different”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/04/29/united-shades-policing-the-police-101.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/04/29/united-shades-policing-the-police-101.cnn”,”videoId”:”us/2021/04/29/united-shades-policing-the-police-101.cnn”,”videoUrl”:”/videos/us/2021/04/29/united-shades-policing-the-police-101.cnn/video/playlists/united-shades-of-america-season-4/”,”surrogateKey”:”video_A67D1A21-54F3-F0EF-186E-C479231C2C65″}],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:”us/2021/04/29/united-shades-policing-the-police-102.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-17gv3ef’,videoDescriptionDivId: ‘js-video_description-17gv3ef’,videoDurationDivId: ‘js-video_duration-17gv3ef’,videoTitleDivId: ‘js-leaf-video_headline-17gv3ef’,videoSourceDivId: ‘js-video_sourceName-17gv3ef’});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