January: Leaders of the Game

0
74


‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘sports/2018/01/05/experts-of-the-game-january-2018-living-golf-spc.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_worldsport_golf_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180105154140-experts-of-the-game-january-2018-living-golf-spc-00083430-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180105154140-experts-of-the-game-january-2018-living-golf-spc-00083430-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180105154140-experts-of-the-game-january-2018-living-golf-spc-00083430-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180105154140-experts-of-the-game-january-2018-living-golf-spc-00083430-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180105154140-experts-of-the-game-january-2018-living-golf-spc-00083430-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180105154140-experts-of-the-game-january-2018-living-golf-spc-00083430-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180105154140-experts-of-the-game-january-2018-living-golf-spc-00083430-small-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”This month we focus on the leaders in various fields of golf. Despite being in the background, they are making their mark on the sport.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180105154140-experts-of-the-game-january-2018-living-golf-spc-00083430-large-169.jpg”,”title”:”Golf: Leaders of the Game”,”videoCMSUrl”:”/videos/sports/2018/01/05/experts-of-the-game-january-2018-living-golf-spc.cnn”,”videoId”:”sports/2018/01/05/experts-of-the-game-january-2018-living-golf-spc.cnn”,”videoUrl”:”/videos/sports/2018/01/05/experts-of-the-game-january-2018-living-golf-spc.cnn”},{“descriptionPlainText”:”Eric Ripert took the helm of Le Bernardin at 29, seven James Beard awards later he has shaped a New York institution.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180104113700-family-meal-nyc-eric-protrait-2-large-169.jpg”,”title”:”Eric Ripert’s unexpected path to fame”,”videoCMSUrl”:”/video/data/3.0/video/travel/2017/12/14/family-meal-nyc-with-eric-ripert.cnn/index.xml”,”videoId”:”travel/2017/12/14/family-meal-nyc-with-eric-ripert.cnn”,”videoUrl”:”/videos/travel/2017/12/14/family-meal-nyc-with-eric-ripert.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”The US Coast Guard pulls a man from a sinking car in Panama City, Florida, after he suffered a medical episode, according to police.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180102065244-coast-guard-sinking-car-2-large-169.jpg”,”title”:”Watch Coast Guard react to man in sinking car”,”videoCMSUrl”:”/video/data/3.0/video/us/2018/01/02/coast-guard-pulls-man-from-sinking-car-newday.cnn/index.xml”,”videoId”:”us/2018/01/02/coast-guard-pulls-man-from-sinking-car-newday.cnn”,”videoUrl”:”/videos/us/2018/01/02/coast-guard-pulls-man-from-sinking-car-newday.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”A candlelight vigil was held for fallen Douglas County sheriff deputy Zack Parrish. During the ceremony, his widow spoke about how she will raise their daughters to know and love him.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180102103046-fallen-douglas-co-sheriffs-deputy-large-169.jpg”,”title”:”Slain deputy’s 4-year-old comforts mom”,”videoCMSUrl”:”/video/data/3.0/video/us/2018/01/02/colorado-fallen-deputy-parrish-widow-sot.hln/index.xml”,”videoId”:”us/2018/01/02/colorado-fallen-deputy-parrish-widow-sot.hln”,”videoUrl”:”/videos/us/2018/01/02/colorado-fallen-deputy-parrish-widow-sot.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Veteran journalist Amanda Davis has died after suffering a stroke. She was 62.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171228083414-amanda-davis-large-169.jpg”,”title”:”Journalist dies after stroke at airport”,”videoCMSUrl”:”/video/data/3.0/video/health/2017/12/28/amanda-davis-stroke-death.hln/index.xml”,”videoId”:”health/2017/12/28/amanda-davis-stroke-death.hln”,”videoUrl”:”/videos/health/2017/12/28/amanda-davis-stroke-death.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”CNN’s Sara Sidner reports on what to expect at movie theaters in 2018.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171218140120-black-panther-movie-large-169.jpg”,”title”:”Here’s what’s in store for movies in 2018″,”videoCMSUrl”:”/video/data/3.0/video/world/2017/12/29/2018-movies-look-ahead-sidner-pkg.cnn/index.xml”,”videoId”:”world/2017/12/29/2018-movies-look-ahead-sidner-pkg.cnn”,”videoUrl”:”/videos/world/2017/12/29/2018-movies-look-ahead-sidner-pkg.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”A firework accident in a Houston parking lot caused damage to a man’s car.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180102064231-firework-accident-large-169.jpg”,”title”:”Watch firework explosion from car trunk”,”videoCMSUrl”:”/video/data/3.0/video/us/2018/01/02/houston-firework-accident-trunk.hln/index.xml”,”videoId”:”us/2018/01/02/houston-firework-accident-trunk.hln”,”videoUrl”:”/videos/us/2018/01/02/houston-firework-accident-trunk.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”A programming error in a South Carolina lottery game generated an overabundance of winning tickets.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171227230540-south-carolina-lottery-error-2-large-169.jpg”,”title”:”Glitch generates false lottery winners”,”videoCMSUrl”:”/video/data/3.0/video/us/2017/12/28/south-carolina-lottery-error.hln/index.xml”,”videoId”:”us/2017/12/28/south-carolina-lottery-error.hln”,”videoUrl”:”/videos/us/2017/12/28/south-carolina-lottery-error.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”The victim was hit more than 50 times and ended up at the hospital. Officials question why it took so long to shut down the assisted living facility.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171227164007-retirement-home-security-cam-large-169.jpg”,”title”:”Retirement home cam tapes attack on 86-year-old”,”videoCMSUrl”:”/video/data/3.0/video/health/2017/12/28/retirement-home-attack-florida.cnn/index.xml”,”videoId”:”health/2017/12/28/retirement-home-attack-florida.cnn”,”videoUrl”:”/videos/health/2017/12/28/retirement-home-attack-florida.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Solange Knowles has canceled her New Year’s Eve gig at the AfroPunk festival in South Africa, blaming health issues.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161012180348-solange-knowles-large-169.jpg”,”title”:”Solange reveals illness, cancels show”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2017/12/28/solange-illness-cancels-new-years-eve-show.hln/index.xml”,”videoId”:”entertainment/2017/12/28/solange-illness-cancels-new-years-eve-show.hln”,”videoUrl”:”/videos/entertainment/2017/12/28/solange-illness-cancels-new-years-eve-show.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Ohio parents who divorced in 2014 get engaged in an emotional Christmas proposal that went viral.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171226084529-divorced-couple-gets-engaged-again-ohio-large-169.jpg”,”title”:”Divorced couple’s engagement video goes viral”,”videoCMSUrl”:”/video/data/3.0/video/us/2017/12/26/divorced-couples-second-engagement-viral.hln/index.xml”,”videoId”:”us/2017/12/26/divorced-couples-second-engagement-viral.hln”,”videoUrl”:”/videos/us/2017/12/26/divorced-couples-second-engagement-viral.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Daniel Boulud, Jean-Georges Vongerichten, Eric Ripert, and Jacques Torres sit down for a unique family meal and revisit the ups and downs of how they achieved success. For the full documentary, click here.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171214163221-family-meal-nyc-the-empires-chapter-3-thumbnail-large-169.jpg”,”title”:”How Jean-Georges trained an immigrant army”,”videoCMSUrl”:”/video/data/3.0/video/travel/2017/12/14/family-meal-nyc-the-empires.cnn/index.xml”,”videoId”:”travel/2017/12/14/family-meal-nyc-the-empires.cnn”,”videoUrl”:”/videos/travel/2017/12/14/family-meal-nyc-the-empires.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Chefs Daniel Boulud, Jean-Georges Vongerichten, Eric Ripert, and Jacques Torres share an unique family meal together, looking back at first impressions of New York when they met in the 80s. For the full documentary, click here.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171214162831-family-meal-nyc-the-80s-chapter-1-thumbnail-large-169.jpg”,”title”:”You can’t imagine these chefs in the ’80s”,”videoCMSUrl”:”/video/data/3.0/video/travel/2017/12/14/family-meal-nyc-the-80s.cnn/index.xml”,”videoId”:”travel/2017/12/14/family-meal-nyc-the-80s.cnn”,”videoUrl”:”/videos/travel/2017/12/14/family-meal-nyc-the-80s.cnn/video/playlists/stories-worth-watching/”}],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) {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:”sports/2018/01/05/experts-of-the-game-january-2018-living-golf-spc.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-47chyv’,videoDescriptionDivId: ‘js-video_description-47chyv’,videoDurationDivId: ‘js-video_duration-47chyv’,videoTitleDivId: ‘js-leaf-video_headline-47chyv’,videoSourceDivId: ‘js-video_sourceName-47chyv’});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