Some cities reform policing as violent crime surges

‘);$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/06/18/us-escalating-violence-policing-campbell-tsr-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/210618182124-new-york-crime-scene-campbell-pkg-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210618182124-new-york-crime-scene-campbell-pkg-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210618182124-new-york-crime-scene-campbell-pkg-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210618182124-new-york-crime-scene-campbell-pkg-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210618182124-new-york-crime-scene-campbell-pkg-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210618182124-new-york-crime-scene-campbell-pkg-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210618182124-new-york-crime-scene-campbell-pkg-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Some of the biggest US cities are reforming policing while violent crime surges. CNN’s Josh Campbell reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618182124-new-york-crime-scene-campbell-pkg-large-169.jpg”,”title”:”Some cities reform policing as violent crime surges”,”videoCMSUrl”:”/videos/us/2021/06/18/us-escalating-violence-policing-campbell-tsr-vpx.cnn”,”videoLeafUrl”:”/videos/us/2021/06/18/us-escalating-violence-policing-campbell-tsr-vpx.cnn”,”videoId”:”us/2021/06/18/us-escalating-violence-policing-campbell-tsr-vpx.cnn”,”videoUrl”:”/videos/us/2021/06/18/us-escalating-violence-policing-campbell-tsr-vpx.cnn”,”surrogateKey”:”video_A49372A4-7DD8-A065-9F10-2120DD693338″},{“descriptionPlainText”:”While moderate Democrat Senator Joe Manchin waves the flag of bipartisanship on voting rights, Minority Leader Mitch McConnell again seems intent on acting like a blockade.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210619091907-smerconish-can-manchins-voting-rights-compromise-sway-gop-00031430-large-169.jpg”,”title”:”Smerconish: Can Manchin’s voting rights compromise sway GOP? “,”videoCMSUrl”:”/video/data/3.0/video/tv/2021/06/19/smerconish-can-manchins-voting-rights-compromise-sway-gop.cnn/index.xml”,”videoLeafUrl”:”/videos/tv/2021/06/19/smerconish-can-manchins-voting-rights-compromise-sway-gop.cnn”,”videoId”:”tv/2021/06/19/smerconish-can-manchins-voting-rights-compromise-sway-gop.cnn”,”videoUrl”:”/videos/tv/2021/06/19/smerconish-can-manchins-voting-rights-compromise-sway-gop.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_236B304F-52AD-50D1-0098-23E8EAEA306B”},{“descriptionPlainText”:”Claudette continues to threaten portions of the Southeast with tornadoes, damaging winds, and heavy rain. Meteorologist Allison Chinchar has the latest.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210619110420-weather-tropical-storm-claudette-severe-storms-06192021-large-169.jpg”,”title”:”Tropical Storm Claudette brings tornado threat to Southeast”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/06/19/tropical-storm-claudette-rain-flood-tornado-landfall.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/06/19/tropical-storm-claudette-rain-flood-tornado-landfall.cnn”,”videoId”:”weather/2021/06/19/tropical-storm-claudette-rain-flood-tornado-landfall.cnn”,”videoUrl”:”/videos/weather/2021/06/19/tropical-storm-claudette-rain-flood-tornado-landfall.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_B8A545D9-BFE4-9E4A-4DD6-23927892FBBF”},{“descriptionPlainText”:”Ebrahim Raisi, a hardline judiciary chief with a brutal human rights record, is set to win Iran’s controversial presidential election, according to preliminary results announced by the interior ministry and reported by state media Saturday.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617165426-ebrahim-raeesi-0616-restricted-large-169.jpg”,”title”:”Ultra-conservative candidate set to win 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/top-news-videos/”,”surrogateKey”:”video_9E18E875-C0AF-ACDF-C85C-23C71E8EAC6F”},{“descriptionPlainText”:”CNN’s Drew Griffin speaks with Josh Pruitt, a member of the Proud Boys who stormed the Capitol on January 6. Watch “Assault on Democracy: The Roots of Trump’s Insurrection” at 6pm on June 20, 2021.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618160037-drew-griffin-josh-pruitt-capitol-riot-split-large-169.jpg”,”title”:”‘You know that’s not true’: CNN reporter corrects man who stormed Capitol”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/18/capitol-riot-documentary-cnn-preview-drew-griffin-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/18/capitol-riot-documentary-cnn-preview-drew-griffin-vpx.cnn”,”videoId”:”politics/2021/06/18/capitol-riot-documentary-cnn-preview-drew-griffin-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/18/capitol-riot-documentary-cnn-preview-drew-griffin-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_BAEC77D4-6FBC-A1C2-5889-20ACC20C3158″},{“descriptionPlainText”:”Members of the crowd heckled former Vice President Mike Pence while he was speaking at a Faith and Freedom Coalition conference in Kissimmee, Florida.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618131544-mike-pence-heckled-at-conservative-conference-vpx-00000918-large-169.jpg”,”title”:”Mike Pence heckled at conservative conference”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/18/mike-pence-heckled-at-conservative-conference-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/18/mike-pence-heckled-at-conservative-conference-vpx.cnn”,”videoId”:”politics/2021/06/18/mike-pence-heckled-at-conservative-conference-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/18/mike-pence-heckled-at-conservative-conference-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_71AC2449-3D00-1C8E-CF9B-201097AECE98″},{“descriptionPlainText”:”Newly released footage from January 6 shows a supporter of former President Donald Trump taunting, stalking and punching law enforcement outside the US Capitol — the latest release of up-close video of rioters who have been charged with assaulting police.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618123919-new-capitol-riot-video-large-169.jpg”,”title”:”New video shows police getting punched during Capitol riot”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/18/police-punched-capitol-riot-video-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/18/police-punched-capitol-riot-video-ip-vpx.cnn”,”videoId”:”politics/2021/06/18/police-punched-capitol-riot-video-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/18/police-punched-capitol-riot-video-ip-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_6C73BF4C-2FBA-6F0E-1A69-1FF5499B6ADA”},{“descriptionPlainText”:”Ronnie Oneal, a man in Tampa, Florida, accused of killing his wife and daughter and attempting to kill his son, is serving as his own attorney in his murder trial.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618000343-ronnie-oneal-tampa-florida-murder-trial-2-large-169.jpg”,”title”:”11-year-old cross-examined by father in Florida murder trial”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/06/17/tampa-florida-murder-trial-ronnie-oneal-jk-eg-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/06/17/tampa-florida-murder-trial-ronnie-oneal-jk-eg-orig.cnn”,”videoId”:”us/2021/06/17/tampa-florida-murder-trial-ronnie-oneal-jk-eg-orig.cnn”,”videoUrl”:”/videos/us/2021/06/17/tampa-florida-murder-trial-ronnie-oneal-jk-eg-orig.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_A6277C72-5047-85E9-C66F-1C0B06E3F946″},{“descriptionPlainText”:”A boatman found the three-week-old baby in a wooden box, which also contained incense sticks, an image of a Hindu deity and the child’s astrological birth chart, according to local police.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618154111-abandoned-baby-video-thumbnail-lon-orig-sd-na-large-169.jpg”,”title”:”Newborn girl found abandoned in a box floating down river”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/18/baby-found-in-box-india-ganges-lon-orig-sd-na.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/18/baby-found-in-box-india-ganges-lon-orig-sd-na.cnn”,”videoId”:”world/2021/06/18/baby-found-in-box-india-ganges-lon-orig-sd-na.cnn”,”videoUrl”:”/videos/world/2021/06/18/baby-found-in-box-india-ganges-lon-orig-sd-na.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_5278BE38-AC98-9FC5-9CDD-1F8881113BB8″},{“descriptionPlainText”:”CNN’s John Avlon looks at the many hurdles that the Affordable Care Act has had to overcome. Despite all the attempts to repeal it, the latest Supreme Court ruling saved it again, the ACA remains the law.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617192603-supreme-court-aca-large-169.jpg”,”title”:”Obamacare has survived over 2,000 attempts to kill it”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/18/obamacare-affordable-care-act-scotus-reality-check-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/18/obamacare-affordable-care-act-scotus-reality-check-avlon-newday-vpx.cnn”,”videoId”:”politics/2021/06/18/obamacare-affordable-care-act-scotus-reality-check-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/18/obamacare-affordable-care-act-scotus-reality-check-avlon-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_75607C9D-FC13-87D7-EE19-1F252386A68F”},{“descriptionPlainText”:”Nearly a year after being indicted on federal bribery charges, the Ohio State House voted to expel former speaker Larry Householder.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617205536-larry-householder-ohio-state-house-expelled-large-169.jpg”,”title”:”Ohio lawmaker expelled from state house in historic vote”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/17/larry-householder-ohio-lawmaker-expelled-orig-vf.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/17/larry-householder-ohio-lawmaker-expelled-orig-vf.cnn”,”videoId”:”politics/2021/06/17/larry-householder-ohio-lawmaker-expelled-orig-vf.cnn”,”videoUrl”:”/videos/politics/2021/06/17/larry-householder-ohio-lawmaker-expelled-orig-vf.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_45333199-1E06-94B7-B9B7-1B87CF86FEBC”},{“descriptionPlainText”:”Sen. Ted Cruz (R-TX) criticizes teaching critical race theory in schools, where he accuses it of being as racist as Klansmen in white sheets.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618130333-ted-cruz-large-169.jpg”,”title”:”Ted Cruz: Critical race theory is as racist as Klansmen”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/18/critical-race-theory-ted-cruz-sot-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/18/critical-race-theory-ted-cruz-sot-ip-vpx.cnn”,”videoId”:”politics/2021/06/18/critical-race-theory-ted-cruz-sot-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/18/critical-race-theory-ted-cruz-sot-ip-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_67D3B6D6-D9C0-E1B0-1953-2007E87A8444″},{“descriptionPlainText”:”Daredevil Nik Wallenda performed a 320-foot high-wire walk during an event at D’Youville College campus in Buffalo, New York.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618134651-nik-wallenda-buffalo-high-wire-walk-1-large-169.jpg”,”title”:”Watch world-renowned daredevil complete 320-foot high-wire walk”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/06/18/nik-wallenda-high-wire-walk-buffalo-orig-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/06/18/nik-wallenda-high-wire-walk-buffalo-orig-bdk.cnn”,”videoId”:”us/2021/06/18/nik-wallenda-high-wire-walk-buffalo-orig-bdk.cnn”,”videoUrl”:”/videos/us/2021/06/18/nik-wallenda-high-wire-walk-buffalo-orig-bdk.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_6C922775-B091-EFBC-97C7-1FFDFC02F060″},{“descriptionPlainText”:”Cities debate keeping extra outdoor dining spaces for restaurants as the pandemic winds down. CNN’s Tom Foreman reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618172212-outdoor-dining-tom-foreman-pkg-vpx-large-169.jpg”,”title”:”Cities debate future of outdoor dining post-pandemic “,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/18/restaurants-extra-outdoor-dining-space-debate-foreman-lead-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/18/restaurants-extra-outdoor-dining-space-debate-foreman-lead-dnt-vpx.cnn”,”videoId”:”business/2021/06/18/restaurants-extra-outdoor-dining-space-debate-foreman-lead-dnt-vpx.cnn”,”videoUrl”:”/videos/business/2021/06/18/restaurants-extra-outdoor-dining-space-debate-foreman-lead-dnt-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_1901593B-707F-24AF-429D-20EAACE4453A”},{“descriptionPlainText”:”Tropical Storm Claudette is likely to form today and impact much of the South this weekend while the Southwest continues to deal with very hot temperatures. CNN Meteorologist Tyler Mauldin has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618040117-tropics-rainfall-forecast-0518-large-169.jpg”,”title”:”Developing tropical storm takes aim at Gulf Coast”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/06/18/daily-weather-forecast-claudette-hurricane-tropics-heat-fire-severe.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/06/18/daily-weather-forecast-claudette-hurricane-tropics-heat-fire-severe.cnn”,”videoId”:”weather/2021/06/18/daily-weather-forecast-claudette-hurricane-tropics-heat-fire-severe.cnn”,”videoUrl”:”/videos/weather/2021/06/18/daily-weather-forecast-claudette-hurricane-tropics-heat-fire-severe.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_A2433CC5-7B6B-B944-D5D8-1E15699AA46C”},{“descriptionPlainText”:”CNN’s Stephanie Elam reports on the harsh drought plaguing the Western US and explains the impact this can have on the rest of the country.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618110404-cattle-rancher-large-169.jpg”,”title”:”Cattle rancher grapples with punishing drought in Western US”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/06/18/west-drought-impact-colorado-river-pkg-elam-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/06/18/west-drought-impact-colorado-river-pkg-elam-newday-vpx.cnn”,”videoId”:”us/2021/06/18/west-drought-impact-colorado-river-pkg-elam-newday-vpx.cnn”,”videoUrl”:”/videos/us/2021/06/18/west-drought-impact-colorado-river-pkg-elam-newday-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_42E97EF9-1F69-BD0E-9EDA-1F9AF5DB3551″},{“descriptionPlainText”:”Opal Lee, a 94-year-old woman who helped lead the fight to make Juneteenth a federal holiday, tells CNN’s Chris Cuomo what the bill passing means to her.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617221450-opal-lee-cpt-large-169.jpeg”,”title”:”See grandmother’s priceless reaction after Juneteenth bill passes”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/18/opal-lee-juneteenth-grandmother-sot-cpt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/18/opal-lee-juneteenth-grandmother-sot-cpt-vpx.cnn”,”videoId”:”politics/2021/06/18/opal-lee-juneteenth-grandmother-sot-cpt-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/18/opal-lee-juneteenth-grandmother-sot-cpt-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_ED23E117-1894-89D7-E1A2-1CD6E9767B08″}],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/06/18/us-escalating-violence-policing-campbell-tsr-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-snbjbz’,videoDescriptionDivId: ‘js-video_description-snbjbz’,videoDurationDivId: ‘js-video_duration-snbjbz’,videoTitleDivId: ‘js-leaf-video_headline-snbjbz’,videoSourceDivId: ‘js-video_sourceName-snbjbz’});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