‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘sports/2017/11/24/copa90-argentina-part-1-mengem.copa90’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-video-leaf’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171124155654-copa90-argentina-part-1-mengem-00030814-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171124155654-copa90-argentina-part-1-mengem-00030814-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171124155654-copa90-argentina-part-1-mengem-00030814-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171124155654-copa90-argentina-part-1-mengem-00030814-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171124155654-copa90-argentina-part-1-mengem-00030814-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171124155654-copa90-argentina-part-1-mengem-00030814-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171124155654-copa90-argentina-part-1-mengem-00030814-small-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”On the heels of Argentina managing to qualify for the World Cup, Copa90’s Eli Mengem reports from a football-mad nation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171124155654-copa90-argentina-part-1-mengem-00030814-large-169.jpg”,”title”:”Copa90 on Maradona, Messi and Argentina”,”videoCMSUrl”:”/videos/sports/2017/11/24/copa90-argentina-part-1-mengem.copa90″,”videoId”:”sports/2017/11/24/copa90-argentina-part-1-mengem.copa90″,”videoUrl”:”/videos/sports/2017/11/24/copa90-argentina-part-1-mengem.copa90″},{“descriptionPlainText”:”An 11-year-old boy showed up Tiger Woods with a hole-in-one at the opening of the golf superstar’s new course in Montgomery, Texas.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160303091306-kid-hole-in-one-2-large-169.jpg”,”title”:”11-year-old’s shot stuns Tiger Woods”,”videoCMSUrl”:”/video/data/3.0/video/sports/2016/03/03/tiger-woods-course-hole-in-one-orig-vstop.cnn/index.xml”,”videoId”:”sports/2016/03/03/tiger-woods-course-hole-in-one-orig-vstop.cnn”,”videoUrl”:”/videos/sports/2016/03/03/tiger-woods-course-hole-in-one-orig-vstop.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”This last-second shot during a high school basketball championship game will have you shaking your head in amazement.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/130304063454-high-school-buzzer-beater-story-top.jpg”,”title”:”Watch this amazing buzzer beater”,”videoCMSUrl”:”/video/data/3.0/video/sports/2013/03/04/early-high-school-basketball-buzzer-beater.cnn/index.xml”,”videoId”:”sports/2013/03/04/early-high-school-basketball-buzzer-beater.cnn”,”videoUrl”:”/videos/sports/2013/03/04/early-high-school-basketball-buzzer-beater.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”Surfer Kelly Slater did an incredible maneuver at a World Surf League event in California that left the judges only mildly impressed.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150913162254-kelly-slater-surf-maneuver-hurley-pro-00000724-large-169.jpg”,”title”:”Surfer Kelly Slater’s crazy maneuver doesn’t awe judges”,”videoCMSUrl”:”/video/data/3.0/video/sports/2015/09/13/kelly-slater-surf-maneuver-hurley-pro.world-surf-league/index.xml”,”videoId”:”sports/2015/09/13/kelly-slater-surf-maneuver-hurley-pro.world-surf-league”,”videoUrl”:”/videos/sports/2015/09/13/kelly-slater-surf-maneuver-hurley-pro.world-surf-league/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”A woman in Chandler, Arizona, is a bodybuilder competing at the national level and she’s been able to do it with no arms.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/131022170502-pkg-bodybuilder-has-no-arms-00005830-story-top.jpg”,”title”:”She’s not your typical bodybuilder”,”videoCMSUrl”:”/video/data/3.0/video/us/2013/10/22/pkg-bodybuilder-has-no-arms.knxv/index.xml”,”videoId”:”us/2013/10/22/pkg-bodybuilder-has-no-arms.knxv”,”videoUrl”:”/videos/us/2013/10/22/pkg-bodybuilder-has-no-arms.knxv/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”Turner Sports broadcaster Ernie Johnson gives his sports Emmy to Stuart Scott’s daughters. Scott, a veteran “SportsCenter” anchor, died in January at the age of 49 after years of battling cancer.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150506225255-orig-ernie-johnson-gives-emmy-to-stuart-scotts-daughters-00012514-large-169.jpg”,”title”:”Ernie Johnson gives Emmy to Stuart Scott’s daughters”,”videoCMSUrl”:”/video/data/3.0/video/sports/2015/05/07/orig-ernie-johnson-gives-emmy-to-stuart-scotts-daughters.cnn/index.xml”,”videoId”:”sports/2015/05/07/orig-ernie-johnson-gives-emmy-to-stuart-scotts-daughters.cnn”,”videoUrl”:”/videos/sports/2015/05/07/orig-ernie-johnson-gives-emmy-to-stuart-scotts-daughters.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”A Georgia high school student with autism scored his 1,000th half-court shot and fans stormed the court.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150129144352-pkg-orig-georgia-teen-1000-half-court-shots-large-169.png”,”title”:”Autistic teen scores 1,000 half-court shots “,”videoCMSUrl”:”/video/data/3.0/video/sports/2015/01/29/orig-autistic-teen-1000-half-court-shots.cnn/index.xml”,”videoId”:”sports/2015/01/29/orig-autistic-teen-1000-half-court-shots.cnn”,”videoUrl”:”/videos/sports/2015/01/29/orig-autistic-teen-1000-half-court-shots.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”Ballard High School student Jake Ramsey pulled down a rebound and nailed an amazing full-court buzzer-beater with only 0.6 seconds in the game to force overtime.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160305155845-high-school-basketball-game-full-court-shot-orig-bpb-vstop-00001626-large-169.jpg”,”title”:”See player nail wild full-court buzzer-beater”,”videoCMSUrl”:”/video/data/3.0/video/us/2016/03/05/high-school-basketball-game-full-court-shot-orig-bpb-vstop.cnn/index.xml”,”videoId”:”us/2016/03/05/high-school-basketball-game-full-court-shot-orig-bpb-vstop.cnn”,”videoUrl”:”/videos/us/2016/03/05/high-school-basketball-game-full-court-shot-orig-bpb-vstop.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”A photo of Shaun Cunningham saving his son from a rogue bat at a baseball game has gone viral. CNN affiliate WFTV spoke to the family.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160308105655-dad-saves-son-from-bat-pkg-00001512-large-169.jpg”,”title”:”Dad who saved son from bat: ‘It was a dad move'”,”videoCMSUrl”:”/video/data/3.0/video/sports/2016/03/08/dad-saves-son-from-bat-pkg.wftv/index.xml”,”videoId”:”sports/2016/03/08/dad-saves-son-from-bat-pkg.wftv”,”videoUrl”:”/videos/sports/2016/03/08/dad-saves-son-from-bat-pkg.wftv/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”Marisa Arriaga tried 20 times to master this amazing trick, and she even debated posting it because she thought it wasn’t that good.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150826080924-viral-softball-trick-daily-hit-newday-00002517-large-169.jpg”,”title”:”Watch 16-year-old’s amazing softball trick”,”videoCMSUrl”:”/video/data/3.0/video/tv/2015/08/26/viral-softball-trick-daily-hit-newday.cnn/index.xml”,”videoId”:”tv/2015/08/26/viral-softball-trick-daily-hit-newday.cnn”,”videoUrl”:”/videos/tv/2015/08/26/viral-softball-trick-daily-hit-newday.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”YouTube user Kevin Libertowski posted this video of himself shooting two basketballs into a hoop while doing a flip on a trampoline. But is it real? You be the judge.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150724124057-crazy-trick-basketball-shot-rumble-orig-00001102-large-169.jpg”,”title”:”Best trick shot ever — or fake?”,”videoCMSUrl”:”/video/data/3.0/video/us/2015/07/24/crazy-trick-basketball-shot-rumble-orig.cnn/index.xml”,”videoId”:”us/2015/07/24/crazy-trick-basketball-shot-rumble-orig.cnn”,”videoUrl”:”/videos/us/2015/07/24/crazy-trick-basketball-shot-rumble-orig.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”TNT NBA analyst Shaquille O’Neal is offering $500 to the person that makes the best meme of his epic fall on the “Inside the NBA” studio set.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150507112438-shaq-takes-tumble-1-large-169.png”,”title”:”Shaq faceplants during NBA broadcast”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2015/05/07/orig-shaq-falls-on-tnt-set.cnn/index.xml”,”videoId”:”entertainment/2015/05/07/orig-shaq-falls-on-tnt-set.cnn”,”videoUrl”:”/videos/entertainment/2015/05/07/orig-shaq-falls-on-tnt-set.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”13-yr-old Easton Gamoke made an amazing full-court shot at the buzzer to help his team win the big game.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/140121132949-newday-cuomo-basketball-kid-00042215-story-top.jpg”,”title”:”13-yr-old makes 2 full-court shots”,”videoCMSUrl”:”/video/data/3.0/video/bestoftv/2014/01/21/newday-cuomo-basketball-kid.cnn/index.xml”,”videoId”:”bestoftv/2014/01/21/newday-cuomo-basketball-kid.cnn”,”videoUrl”:”/videos/bestoftv/2014/01/21/newday-cuomo-basketball-kid.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”A hockey player clotheslines himself with his stick after being ejected from the game.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150114112436-worldsport-hockey-player-hits-himself-00000620-large-169.jpg”,”title”:”Ejected hockey player has unforgettable exit”,”videoCMSUrl”:”/video/data/3.0/video/sports/2015/01/14/worldsport-hockey-player-hits-himself.cnn/index.xml”,”videoId”:”sports/2015/01/14/worldsport-hockey-player-hits-himself.cnn”,”videoUrl”:”/videos/sports/2015/01/14/worldsport-hockey-player-hits-himself.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”CNN’s Nick Valencia reports on Curtis Harmon III, a man determined to beat the odds in his dream of playing pro football.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/140525154933-valencia-dnt-one-arm-football-player-00011212-story-top.jpg”,”title”:”Man with one arm follows football dreams”,”videoCMSUrl”:”/video/data/3.0/video/sports/2014/05/25/valencia-dnt-one-arm-football-player.cnn/index.xml”,”videoId”:”sports/2014/05/25/valencia-dnt-one-arm-football-player.cnn”,”videoUrl”:”/videos/sports/2014/05/25/valencia-dnt-one-arm-football-player.cnn/video/playlists/amazing-sports-moments/”},{“descriptionPlainText”:”Meet the 2-year-old hockey fan whose priceless facial expressions have made him a viral sensation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/140425063625-buckle-up-baby-penguins-fan-two-year-old-wtae-00011904-story-top.jpg”,”title”:”Tot’s amazing hockey reaction goes viral”,”videoCMSUrl”:”/video/data/3.0/video/offbeat/2014/04/24/buckle-up-baby-penguins-fan-two-year-old-wtae.wtae/index.xml”,”videoId”:”offbeat/2014/04/24/buckle-up-baby-penguins-fan-two-year-old-wtae.wtae”,”videoUrl”:”/videos/offbeat/2014/04/24/buckle-up-baby-penguins-fan-two-year-old-wtae.wtae/video/playlists/amazing-sports-moments/”}],currentVideoCollectionId = ”,isLivePlayer = false,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 = 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 = {videoCollection: this.videoCollection,autostart: false},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) {/* Remove videoobject metadata script.If the user click other than initial loaded video */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 is null that means it’s not initialized yet so* pass in the thumbnail, too.*/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) {/* Remove videoobject metadata script.If the user click other than initial loaded video */jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, videoId, overrides);}/* Video player isn’t autoplay, so init itif (shouldStartVideo && this.carouselClickAutostartsVideo) {try {videoPlayer.videoInstance.start();} catch (startError) {console.log(“error in initializing video player” + startError);}}*/}}}} 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:”sports/2017/11/24/copa90-argentina-part-1-mengem.copa90″, 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-1gma5ur’,videoDescriptionDivId: ‘js-video_description-1gma5ur’,videoDurationDivId: ‘js-video_duration-1gma5ur’,videoTitleDivId: ‘js-leaf-video_headline-1gma5ur’,videoSourceDivId: ‘js-video_sourceName-1gma5ur’});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