[ad_1]

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘tv/2018/07/16/looking-back-on-the-scottish-open-and-wimbledon.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_specialreports_rolexminute_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180716194214-looking-back-on-the-scottish-open-and-wimbledon-00004101-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180716194214-looking-back-on-the-scottish-open-and-wimbledon-00004101-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180716194214-looking-back-on-the-scottish-open-and-wimbledon-00004101-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180716194214-looking-back-on-the-scottish-open-and-wimbledon-00004101-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180716194214-looking-back-on-the-scottish-open-and-wimbledon-00004101-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180716194214-looking-back-on-the-scottish-open-and-wimbledon-00004101-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180716194214-looking-back-on-the-scottish-open-and-wimbledon-00004101-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Brandon Stone wins a record breaking Scottish Open, while it’s a return to winning ways for Novak Djokovic and Angelique Kerber at Wimbledon”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180716194214-looking-back-on-the-scottish-open-and-wimbledon-00004101-large-169.jpg”,”title”:”Looking Back on the Scottish Open, and Wimbledon “,”videoCMSUrl”:”/videos/tv/2018/07/16/looking-back-on-the-scottish-open-and-wimbledon.cnn”,”videoLeafUrl”:”/videos/tv/2018/07/16/looking-back-on-the-scottish-open-and-wimbledon.cnn”,”videoId”:”tv/2018/07/16/looking-back-on-the-scottish-open-and-wimbledon.cnn”,”videoUrl”:”/videos/tv/2018/07/16/looking-back-on-the-scottish-open-and-wimbledon.cnn”},{“descriptionPlainText”:”Insurance, closing costs, fixed-rate mortgages — here’s how you avoid the pitfalls of being a first-time home buyer.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180718171433-first-time-home-buyers-thumb-large-169.jpg”,”title”:”What to know before buying your first home”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/18/first-time-home-buyers-guide-orig.cnnmoney/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/18/first-time-home-buyers-guide-orig.cnnmoney”,”videoId”:”cnnmoney/2018/07/18/first-time-home-buyers-guide-orig.cnnmoney”,”videoUrl”:”/videos/cnnmoney/2018/07/18/first-time-home-buyers-guide-orig.cnnmoney/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Victoria’s Secret is still the industry leader when it comes to selling bras. But as it struggles to lure in new customers, online bra sellers like ThirdLove are using tech and data to build a fanbase.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180723165219-victorias-secret-bra-large-169.jpg”,”title”:”Here’s what’s wrong with the bra business”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/23/bra-business-broken-orig.cnnmoney/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/23/bra-business-broken-orig.cnnmoney”,”videoId”:”cnnmoney/2018/07/23/bra-business-broken-orig.cnnmoney”,”videoUrl”:”/videos/cnnmoney/2018/07/23/bra-business-broken-orig.cnnmoney/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:””Guardians of the Galaxy” director a James Gunn has been fired by Disney after offensive tweets from his past resurfaced.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180723080516-01-james-gunn-0723-large-169.jpg”,”title”:”Disney director fired after offensive tweets “,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/23/guardians-of-the-galaxy-director-james-gunn-fired-tweets-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/23/guardians-of-the-galaxy-director-james-gunn-fired-tweets-vpx.hln”,”videoId”:”cnnmoney/2018/07/23/guardians-of-the-galaxy-director-james-gunn-fired-tweets-vpx.hln”,”videoUrl”:”/videos/cnnmoney/2018/07/23/guardians-of-the-galaxy-director-james-gunn-fired-tweets-vpx.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”CNN political analyst and New York Times reporter Maggie Haberman discusses how President Trump operates with CNN’s Brian Stelter, saying people shouldn’t always look for underlying motives for Trump’s actions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180722114736-maggie-haberman-rs-7-22-2018-large-169.jpg”,”title”:”NYT reporter: Trump often tells the truth”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/22/maggie-haberman-trump-tells-the-truth-rs-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/22/maggie-haberman-trump-tells-the-truth-rs-vpx.cnn”,”videoId”:”cnnmoney/2018/07/22/maggie-haberman-trump-tells-the-truth-rs-vpx.cnn”,”videoUrl”:”/videos/cnnmoney/2018/07/22/maggie-haberman-trump-tells-the-truth-rs-vpx.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Kimberly Guilfoyle, a Fox News Channel host and longtime network personality, is soon leaving her role at the network to hit the campaign trail with Donald Trump Jr., who she is dating.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180720102226-kim-guilfoyle-large-169.jpg”,”title”:”Kimberly Guilfoyle leaving Fox News to campaign with Donald Trump Jr.”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/20/kimberly-guilfoyle-exits-fox-donald-trump-jr-orig.cnnmoney/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/20/kimberly-guilfoyle-exits-fox-donald-trump-jr-orig.cnnmoney”,”videoId”:”cnnmoney/2018/07/20/kimberly-guilfoyle-exits-fox-donald-trump-jr-orig.cnnmoney”,”videoUrl”:”/videos/cnnmoney/2018/07/20/kimberly-guilfoyle-exits-fox-donald-trump-jr-orig.cnnmoney/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Today’s kids are surrounded by technology, but can they figure out how to operate a simple ‘dumbphone’ from the 2000s? Watch “The 2000s” on Sundays at 9pm ET/PT”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180718183913-kids-vs-dumbphones-03-large-169.jpg”,”title”:”Kids vs. ‘dumbphones’ from the 2000s”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/18/kids-vs-dumphones-from-the-2000s.cnn/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/18/kids-vs-dumphones-from-the-2000s.cnn”,”videoId”:”cnnmoney/2018/07/18/kids-vs-dumphones-from-the-2000s.cnn”,”videoUrl”:”/videos/cnnmoney/2018/07/18/kids-vs-dumphones-from-the-2000s.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Mark Zuckerberg is doing damage control after comments he made on Holocaust deniers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180501132442-f8-conference-zuckerberg-2-large-169.jpg”,”title”:”Listen: Zuckerberg on Holocaust deniers”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/19/mark-zuckerberg-holocaust-deniers-facebook-cnnmoney-orig-js.cnn/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/19/mark-zuckerberg-holocaust-deniers-facebook-cnnmoney-orig-js.cnn”,”videoId”:”cnnmoney/2018/07/19/mark-zuckerberg-holocaust-deniers-facebook-cnnmoney-orig-js.cnn”,”videoUrl”:”/videos/cnnmoney/2018/07/19/mark-zuckerberg-holocaust-deniers-facebook-cnnmoney-orig-js.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Late night hosts went after President Donald Trump for his comments made during the summit with Russian President Vladimir Putin in Helsinki, Finland.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180717042252-colbert-07162018-large-169.jpg”,”title”:”Late night tries to explain Trump-Putin summit”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/17/late-night-reaction-trump-putin-summit-wmj-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/17/late-night-reaction-trump-putin-summit-wmj-orig.cnn”,”videoId”:”cnnmoney/2018/07/17/late-night-reaction-trump-putin-summit-wmj-orig.cnn”,”videoUrl”:”/videos/cnnmoney/2018/07/17/late-night-reaction-trump-putin-summit-wmj-orig.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Fans have been sharing footage from Beyoncé’s “On the Run II” tour with her husband Jay-Z to try to figure out if a fourth child is on the way.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180617034959-beyonce-jay-z-everything-is-love-joint-album-orig-gs-00001230-large-169.jpg”,”title”:”Beyoncé pregnancy rumors swirl “,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/18/beyonce-fourth-baby-rumors-ots-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/18/beyonce-fourth-baby-rumors-ots-vpx.hln”,”videoId”:”cnnmoney/2018/07/18/beyonce-fourth-baby-rumors-ots-vpx.hln”,”videoUrl”:”/videos/cnnmoney/2018/07/18/beyonce-fourth-baby-rumors-ots-vpx.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”The last two Blockbuster stores in Alaska are closing their doors for good, leaving only one store left in the United States.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180713123301-blockbuster-bend-oregon-large-169.jpg”,”title”:”Blockbuster has only 1 store left standing”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/13/alaska-blockbuster-stores-closing-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/13/alaska-blockbuster-stores-closing-orig.cnn”,”videoId”:”cnnmoney/2018/07/13/alaska-blockbuster-stores-closing-orig.cnn”,”videoUrl”:”/videos/cnnmoney/2018/07/13/alaska-blockbuster-stores-closing-orig.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:””Queer Eye” star Jonathan Van Ness had an emotional celebration with his co-stars over their Emmy nominations for “Queer Eye” and his additional nomination for “Gay of Thrones.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180714233327-queer-eye-van-ness-emmy-reaction-orig-vstan-bdk-00001127-large-169.jpg”,”title”:”‘Queer Eye’ star’s emotional Emmy reaction”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/07/13/queer-eye-van-ness-emmy-reaction-orig-vstan-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/07/13/queer-eye-van-ness-emmy-reaction-orig-vstan-bdk.cnn”,”videoId”:”cnnmoney/2018/07/13/queer-eye-van-ness-emmy-reaction-orig-vstan-bdk.cnn”,”videoUrl”:”/videos/cnnmoney/2018/07/13/queer-eye-van-ness-emmy-reaction-orig-vstan-bdk.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Cardi B announced on her Instagram that she gave birth to her first child on July 10.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180711144515-cardi-b-baby-large-169.jpg”,”title”:”Cardi B gives birth to first child”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/09/27/cardi-b-is-breaking-records-as-a-solo-female-rapper-orig-tc-duplicate-2.cnn/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2017/09/27/cardi-b-is-breaking-records-as-a-solo-female-rapper-orig-tc-duplicate-2.cnn”,”videoId”:”cnnmoney/2017/09/27/cardi-b-is-breaking-records-as-a-solo-female-rapper-orig-tc-duplicate-2.cnn”,”videoUrl”:”/videos/cnnmoney/2017/09/27/cardi-b-is-breaking-records-as-a-solo-female-rapper-orig-tc-duplicate-2.cnn/video/playlists/stories-worth-watching/”}],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,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 = {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:”tv/2018/07/16/looking-back-on-the-scottish-open-and-wimbledon.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-tn589r’,videoDescriptionDivId: ‘js-video_description-tn589r’,videoDurationDivId: ‘js-video_duration-tn589r’,videoTitleDivId: ‘js-leaf-video_headline-tn589r’,videoSourceDivId: ‘js-video_sourceName-tn589r’});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(‘

[ad_2]
Source link