Patrick Mouratoglou on Leylah Fernandez and Emma Raducanu

0
14



‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘sports/2021/09/10/patrick-mouratoglou-leylah-fernandez-emma-raducanu-us-open-tennis-spt-intl.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/210910003850-emma-raducanu-leylah-fernandez-tennis-small-169.jpg”,”height”:124},”xsmall”:{“width”:300,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210910003850-emma-raducanu-leylah-fernandez-tennis-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210910003850-emma-raducanu-leylah-fernandez-tennis-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210910003850-emma-raducanu-leylah-fernandez-tennis-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210910003850-emma-raducanu-leylah-fernandez-tennis-super-169.jpg”,”height”:619},”full16x9″:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210910003850-emma-raducanu-leylah-fernandez-tennis-full-169.jpg”,”height”:259},”mini1x1″:{“width”:100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210910003850-emma-raducanu-leylah-fernandez-tennis-small-11.jpg”,”height”:100}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Top coach and tennis mentor Patrick Mouratoglou raves about the talent and excited tennis that teenage sensations Leylah Fernandez and Emma Raducanu are displaying at the US Open.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210910003850-emma-raducanu-leylah-fernandez-tennis-large-169.jpg”,”title”:”Patrick Mouratoglou on Leylah Fernandez and Emma Raducanu”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/09/10/patrick-mouratoglou-leylah-fernandez-emma-raducanu-us-open-tennis-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/09/10/patrick-mouratoglou-leylah-fernandez-emma-raducanu-us-open-tennis-spt-intl.cnn”,”videoId”:”sports/2021/09/10/patrick-mouratoglou-leylah-fernandez-emma-raducanu-us-open-tennis-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/09/10/patrick-mouratoglou-leylah-fernandez-emma-raducanu-us-open-tennis-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_FF9F45A5-4326-2766-3668-CF60C6DF9650″},{“descriptionPlainText”:”2019 US Open finalist Daniil Medvedev speaks to CNN Sports about the last grand slam of 2021 and whether or not he’s the player to stop Novak Djokovic from achieving the calendar slam.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210901140143-medvedev-us-open-2021-large-169.jpg”,”title”:”Daniil Medvedev on the 2021 US Open”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/09/01/daniil-medvedev-us-open-tennis-2021-djokovic-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/09/01/daniil-medvedev-us-open-tennis-2021-djokovic-spt-intl.cnn”,”videoId”:”sports/2021/09/01/daniil-medvedev-us-open-tennis-2021-djokovic-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/09/01/daniil-medvedev-us-open-tennis-2021-djokovic-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_3C4452CA-DB2F-98A6-5D06-DE5C5C47DDB2″},{“descriptionPlainText”:”American tennis hopeful Cori “Coco” Gauff will miss the Tokyo Olympics after announcing on Twitter she tested positive for coronavirus. CNN’s Andy Scholes reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210718154557-cori-coco-gauff-covid-19-olympics-spt-trnd-large-169.jpg”,”title”:”US tennis star to miss Olympics after positive Covid-19 test”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/07/18/cori-coco-gauff-coronavirus-tokyo-olympics-scholes-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/07/18/cori-coco-gauff-coronavirus-tokyo-olympics-scholes-nr-vpx.cnn”,”videoId”:”sports/2021/07/18/cori-coco-gauff-coronavirus-tokyo-olympics-scholes-nr-vpx.cnn”,”videoUrl”:”/videos/sports/2021/07/18/cori-coco-gauff-coronavirus-tokyo-olympics-scholes-nr-vpx.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_BF36AF96-ABEA-1910-E82A-DE5C7E160850″},{“descriptionPlainText”:”World No. 1 tennis player Ashleigh Barty talks to Amanda Davies about her Olympic “dream” ahead of Tokyo 2020.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210624145451-ash-barty-tease-large-169.jpg”,”title”:”Ashleigh Barty on her Olympic ‘dream'”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/06/28/ashleigh-barty-olympics-australia-tokyo-2020-tennis-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/06/28/ashleigh-barty-olympics-australia-tokyo-2020-tennis-spt-intl.cnn”,”videoId”:”sports/2021/06/28/ashleigh-barty-olympics-australia-tokyo-2020-tennis-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/06/28/ashleigh-barty-olympics-australia-tokyo-2020-tennis-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_FF9F45A5-4326-2766-3668-CF60C6DF9650″},{“descriptionPlainText”:”CNN’s Bianna Golodryga talks to sports writer Kavitha Davidson about tennis player Naomi Osaka after the world No. 2 withdrew from the French Open citing her mental health.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191219192924-81-decade-in-pictures-large-169.jpg”,”title”:”2018 photos of Naomi Osaka take on new meaning”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/06/02/naomi-osaka-mental-health-tennis-2018-photos-kavitha-davidson-intvw-amanpour-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/06/02/naomi-osaka-mental-health-tennis-2018-photos-kavitha-davidson-intvw-amanpour-vpx.cnn”,”videoId”:”sports/2021/06/02/naomi-osaka-mental-health-tennis-2018-photos-kavitha-davidson-intvw-amanpour-vpx.cnn”,”videoUrl”:”/videos/sports/2021/06/02/naomi-osaka-mental-health-tennis-2018-photos-kavitha-davidson-intvw-amanpour-vpx.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_6AAF85BB-9553-46BB-0172-A16978BC1298″},{“descriptionPlainText”:”Former pro tennis player and coach Patrick McEnroe says that Naomi Osaka pulling out of the French Open was like “a punch to the gut” and that the tennis world needs to pay attention to what she’s saying and “try to help her as much as possible.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210601175050-patrick-mcenroe-tease-large-169.jpg”,”title”:”Osaka withdrawal news was like ‘a punch to the gut,’ says Patrick McEnroe”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/06/01/patrick-mcenroe-naomi-osaka-withdrawal-french-open-mental-health-tennis-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/06/01/patrick-mcenroe-naomi-osaka-withdrawal-french-open-mental-health-tennis-spt-intl.cnn”,”videoId”:”sports/2021/06/01/patrick-mcenroe-naomi-osaka-withdrawal-french-open-mental-health-tennis-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/06/01/patrick-mcenroe-naomi-osaka-withdrawal-french-open-mental-health-tennis-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_7DDEA642-A374-E273-AE4B-BB97339307E6″},{“descriptionPlainText”:”Two-time grand slam winner Naomi Osaka tells Christina Macfarlane that she is using lockdown to draw more and to learn how to come out of her shell and stop being shy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191006083557-osaka-trophy-large-169.jpg”,”title”:”Time Out: Naomi Osaka draws and tries to come out of her shell”,”videoCMSUrl”:”/video/data/3.0/video/sports/2020/05/12/naomi-osaka-time-out-tennis-workouts-drawing-jay-z-beyonce-spt-intl-lon-orig-cmd.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2020/05/12/naomi-osaka-time-out-tennis-workouts-drawing-jay-z-beyonce-spt-intl-lon-orig-cmd.cnn”,”videoId”:”sports/2020/05/12/naomi-osaka-time-out-tennis-workouts-drawing-jay-z-beyonce-spt-intl-lon-orig-cmd.cnn”,”videoUrl”:”/videos/sports/2020/05/12/naomi-osaka-time-out-tennis-workouts-drawing-jay-z-beyonce-spt-intl-lon-orig-cmd.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_508BC772-5BC8-9571-25DA-5329A999E5AC”},{“descriptionPlainText”:”20-time grand slam winner Novak Djokovic caught up with CNN on a range of topics, from the journey of a young boy in a war-torn country, meeting his wife as college students to where he is today as the number one of no.1’s.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210221110426-djokovic-trophy-large-169.jpg”,”title”:”Novak Djokovic is the no. 1 of number ones”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/03/09/novak-djokovic-number-1-us-open-disqualification-jelena-tennis-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/03/09/novak-djokovic-number-1-us-open-disqualification-jelena-tennis-spt-intl.cnn”,”videoId”:”sports/2021/03/09/novak-djokovic-number-1-us-open-disqualification-jelena-tennis-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/03/09/novak-djokovic-number-1-us-open-disqualification-jelena-tennis-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_94BB6C00-FF0B-391A-89BC-CE936ABE3E98″},{“descriptionPlainText”:”After a successful run to the quarterfinals of the Australian Open, Taiwanese tennis player Hsieh Su-wei found herself with more attention than she was expecting. The funny, quirky, and food loving 35-year-old instantly became the breakout hit of the tournament.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210223084642-su-wei-hsieh-tease-large-169.jpg”,”title”:”Hsieh Su-Wei: Taiwanese tennis star reflects on memorable Australian Open”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/02/23/hsieh-su-wei-taiwan-tennis-star-australian-open-food-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/02/23/hsieh-su-wei-taiwan-tennis-star-australian-open-food-spt-intl.cnn”,”videoId”:”sports/2021/02/23/hsieh-su-wei-taiwan-tennis-star-australian-open-food-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/02/23/hsieh-su-wei-taiwan-tennis-star-australian-open-food-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_911A33AF-12DA-2092-C679-C878ABE8CD84″},{“descriptionPlainText”:”Tennis star Serena Williams shared a video of her 3-year-old daughter Olympia joining her on the court while practicing for the Australian Open.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210120102154-serena-williams-w-daughter-olympia-large-169.jpg”,”title”:”Tennis legend’s daughter joins her on the court”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/01/20/serena-williams-olympia-daughter-tennis-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/sports/2021/01/20/serena-williams-olympia-daughter-tennis-mxp-vpx.hln”,”videoId”:”sports/2021/01/20/serena-williams-olympia-daughter-tennis-mxp-vpx.hln”,”videoUrl”:”/videos/sports/2021/01/20/serena-williams-olympia-daughter-tennis-mxp-vpx.hln/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_3638718C-3389-C1C2-A133-0A2A6E261FB0″},{“descriptionPlainText”:”After quarantine controversy, some confirmed COVID cases, the Australian Open starts in Melbourne. 30,000 fans will be able to attend, mostly without masks and little social distancing. Melbourne’s prevention protocols have made it possible to host one of the biggest sporting events with some sort of “normalcy.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210207200629-04-australian-open-crowd-large-169.jpg”,”title”:”Australian Open: Amid pandemic, grand slam begins with 30,000 fans attending”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/02/08/australian-open-crowds-covid-19-quarantine-tennis-normalcy-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/02/08/australian-open-crowds-covid-19-quarantine-tennis-normalcy-spt-intl.cnn”,”videoId”:”sports/2021/02/08/australian-open-crowds-covid-19-quarantine-tennis-normalcy-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/02/08/australian-open-crowds-covid-19-quarantine-tennis-normalcy-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_C06C6967-024B-91E6-07CA-167C162C0C4B”},{“descriptionPlainText”:”2020 US Open champion Naomi Osaka talks about her push for further awareness of the names of victims she wore on her masks, the journey to the title and using her voice moving forward.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200913090421-naomi-osaka-tamir-rice-large-169.jpg”,”title”:”Naomi Osaka on raising awareness for racial injustice with her masks”,”videoCMSUrl”:”/video/data/3.0/video/sports/2020/09/14/naomi-osaka-us-open-2020-champion-masks-racial-injustice-tennis-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2020/09/14/naomi-osaka-us-open-2020-champion-masks-racial-injustice-tennis-spt-intl.cnn”,”videoId”:”sports/2020/09/14/naomi-osaka-us-open-2020-champion-masks-racial-injustice-tennis-spt-intl.cnn”,”videoUrl”:”/videos/sports/2020/09/14/naomi-osaka-us-open-2020-champion-masks-racial-injustice-tennis-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_64A578B5-C5A2-E6AF-AA1F-CE569661E682″},{“descriptionPlainText”:”Six years after his grandmother — and biggest fan — passed away, Nick Kyrgios found another reason to love the game of tennis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210201174635-krygios-large-169.jpg”,”title”:”Nick Kyrgios finds another reason to love tennis”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/02/04/nick-kyrgios-tennis-australian-open-inspiration-wildfires-djokovic-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/02/04/nick-kyrgios-tennis-australian-open-inspiration-wildfires-djokovic-spt-intl.cnn”,”videoId”:”sports/2021/02/04/nick-kyrgios-tennis-australian-open-inspiration-wildfires-djokovic-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/02/04/nick-kyrgios-tennis-australian-open-inspiration-wildfires-djokovic-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_3BC55E9B-C8B7-F5A9-97AE-2073C6E8931C”},{“descriptionPlainText”:”2021 US Open champion Daniil Medvedev talks to CNN Sport about his incredible win, which stopped Novak Djokovic from winning the calendar grand slam and a record 21st of his career.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210912210150-medvedev-us-open-deportes-cnn-large-169.jpg”,”title”:”Daniil Medvedev on stopping Novak Djokovic’s calendar grand slam”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/09/13/daniil-medvedev-us-open-winners-intv-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/09/13/daniil-medvedev-us-open-winners-intv-spt-intl.cnn”,”videoId”:”sports/2021/09/13/daniil-medvedev-us-open-winners-intv-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/09/13/daniil-medvedev-us-open-winners-intv-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_2983B6C7-8E5E-BD91-D16F-81071329DE0A”},{“descriptionPlainText”:”2021 US Open champion Emma Raducanu became the first tennis player — male or female — to win a grand slam as a qualifier. She speaks to CNN Sport about her dream run in New York.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210912233942-02-emma-raducanu-large-169.jpg”,”title”:”Emma Raducanu speaks to CNN after US Open win”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/09/13/emma-raducanu-us-open-winner-intv-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/09/13/emma-raducanu-us-open-winner-intv-spt-intl.cnn”,”videoId”:”sports/2021/09/13/emma-raducanu-us-open-winner-intv-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/09/13/emma-raducanu-us-open-winner-intv-spt-intl.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_614FC42B-3DD4-41E3-88A5-8BEEBF8917DF”}],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:”sports/2021/09/10/patrick-mouratoglou-leylah-fernandez-emma-raducanu-us-open-tennis-spt-intl.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-281463b’,videoDescriptionDivId: ‘js-video_description-281463b’,videoDurationDivId: ‘js-video_duration-281463b’,videoTitleDivId: ‘js-leaf-video_headline-281463b’,videoSourceDivId: ‘js-video_sourceName-281463b’});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