[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: ‘sports/2018/05/31/roland-garros-corinne-dubreuil-photographer-rafael-nadal-spt-intl.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_worldsport_tennis_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180531071810-maria-sharapova-by-corinne-dubreuil-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180531071810-maria-sharapova-by-corinne-dubreuil-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180531071810-maria-sharapova-by-corinne-dubreuil-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180531071810-maria-sharapova-by-corinne-dubreuil-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180531071810-maria-sharapova-by-corinne-dubreuil-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180531071810-maria-sharapova-by-corinne-dubreuil-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180531071810-maria-sharapova-by-corinne-dubreuil-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Corinne Dubreuil is one of the best tennis photographers in the world – and she’s had a front row seat to history for decades. But for this Frenchwoman, coming to Roland Garros is still a privilege.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180531071810-maria-sharapova-by-corinne-dubreuil-large-169.jpg”,”title”:”Photographer to the tennis stars”,”videoCMSUrl”:”/videos/sports/2018/05/31/roland-garros-corinne-dubreuil-photographer-rafael-nadal-spt-intl.cnn”,”videoLeafUrl”:”/videos/sports/2018/05/31/roland-garros-corinne-dubreuil-photographer-rafael-nadal-spt-intl.cnn”,”videoId”:”sports/2018/05/31/roland-garros-corinne-dubreuil-photographer-rafael-nadal-spt-intl.cnn”,”videoUrl”:”/videos/sports/2018/05/31/roland-garros-corinne-dubreuil-photographer-rafael-nadal-spt-intl.cnn”},{“descriptionPlainText”:”16 Grand Slam titles, 10 French Open titles — here’s Rafael Nadal’s impressive career so far, by the numbers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180529102318-rafael-nadal-french-open-roland-garros-paris-day-two-large-169.jpg”,”title”:”Nadal by the numbers”,”videoCMSUrl”:”/video/data/3.0/video/sports/2018/05/29/rafael-nadal-by-the-numbers-intl-spt.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2018/05/29/rafael-nadal-by-the-numbers-intl-spt.cnn”,”videoId”:”sports/2018/05/29/rafael-nadal-by-the-numbers-intl-spt.cnn”,”videoUrl”:”/videos/sports/2018/05/29/rafael-nadal-by-the-numbers-intl-spt.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”CNN quizzed some of the world’s top female tennis players on their Roland Garros knowledge, including Caroline Wozniacki, Elina Svitolina, and more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180529061816-roland-garros-quiz-elina-svitolina-screenshot-large-169.jpg”,”title”:”Tennis players quizzed: Who was Roland Garros?”,”videoCMSUrl”:”/video/data/3.0/video/sports/2018/05/29/roland-garros-quiz-caroline-wozniacki-intl-spt.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2018/05/29/roland-garros-quiz-caroline-wozniacki-intl-spt.cnn”,”videoId”:”sports/2018/05/29/roland-garros-quiz-caroline-wozniacki-intl-spt.cnn”,”videoUrl”:”/videos/sports/2018/05/29/roland-garros-quiz-caroline-wozniacki-intl-spt.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”The French Open is renowned for its red clay courts and is the only grand slam not to have a roof! Pat Cash tells us more about the unique tournament.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160524111044-roland-garros-stadium-large-169.jpg”,”title”:”Red clay and no roof: The unique Roland Garros”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/05/31/roland-garros-french-open-pat-cash-unique-grand-slam-red-clay-open-court-spc.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2017/05/31/roland-garros-french-open-pat-cash-unique-grand-slam-red-clay-open-court-spc.cnn”,”videoId”:”sports/2017/05/31/roland-garros-french-open-pat-cash-unique-grand-slam-red-clay-open-court-spc.cnn”,”videoUrl”:”/videos/sports/2017/05/31/roland-garros-french-open-pat-cash-unique-grand-slam-red-clay-open-court-spc.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”20-time grand slam champ Roger Federer returned to world no. 1 after winning the 2018 Rotterdam Open. He speaks to CNN about his journey back to the top.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180217213916-roger-federer-mejor-tenista-mundo-rompe-marca-record-pkg-deportes-00000101-large-169.jpg”,”title”:”Roger Federer’s return to world number one”,”videoCMSUrl”:”/video/data/3.0/video/sports/2018/02/19/roger-federer-return-to-number-one-rotterdam-tennis-world-sport-beeper-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2018/02/19/roger-federer-return-to-number-one-rotterdam-tennis-world-sport-beeper-intl.cnn”,”videoId”:”sports/2018/02/19/roger-federer-return-to-number-one-rotterdam-tennis-world-sport-beeper-intl.cnn”,”videoUrl”:”/videos/sports/2018/02/19/roger-federer-return-to-number-one-rotterdam-tennis-world-sport-beeper-intl.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”Venus and Serena Williams have won a combined 30 grand slam singles titles but their beginnings were humble, as their father Richard Williams told CNN.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150821143850-serena-williams-childhood-large-169.jpg”,”title”:”The most successful family affair in tennis”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/01/27/australian-open-williams-sisters-childhood.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2017/01/27/australian-open-williams-sisters-childhood.cnn”,”videoId”:”sports/2017/01/27/australian-open-williams-sisters-childhood.cnn”,”videoUrl”:”/videos/sports/2017/01/27/australian-open-williams-sisters-childhood.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”Serena Williams and her then-fiancé, Alexis Ohanian, welcomed their first child on September 1, 2017. The couple married in November 2017.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170913150835-serena-williams-baby-large-169.jpg”,”title”:”Serena Williams shows off new baby girl”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2017/09/01/serena-williams-gives-birth-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2017/09/01/serena-williams-gives-birth-orig.cnn”,”videoId”:”entertainment/2017/09/01/serena-williams-gives-birth-orig.cnn”,”videoUrl”:”/videos/entertainment/2017/09/01/serena-williams-gives-birth-orig.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”Serena Williams randomly surprised two fans who were playing tennis in San Francisco while she was on a night stroll.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170228065015-serena-williams-snap-large-169.jpg”,”title”:”Serena Williams sneaks up on fans during match”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/02/28/serena-williams-surprises-fans-tennis-court-es.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2017/02/28/serena-williams-surprises-fans-tennis-court-es.cnn”,”videoId”:”sports/2017/02/28/serena-williams-surprises-fans-tennis-court-es.cnn”,”videoUrl”:”/videos/sports/2017/02/28/serena-williams-surprises-fans-tennis-court-es.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”Serena Williams’ coach Patrick Mouratoglou speaks about Serena’s pregnancy, a potential comeback and the controversy around John McEnroe’s comments.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170710085947-serena-williams-with-patrick-mouratoglou-large-169.jpg”,”title”:”Mouratoglou on Serena comeback and McEnroe”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/07/11/patrick-mouratoglou-serena-williams-pregnancy-comeback-mcenroe-comments-intv.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2017/07/11/patrick-mouratoglou-serena-williams-pregnancy-comeback-mcenroe-comments-intv.cnn”,”videoId”:”sports/2017/07/11/patrick-mouratoglou-serena-williams-pregnancy-comeback-mcenroe-comments-intv.cnn”,”videoUrl”:”/videos/sports/2017/07/11/patrick-mouratoglou-serena-williams-pregnancy-comeback-mcenroe-comments-intv.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”Seven-time Grand Slam winner John McEnroe clarified comments he made about Serena Williams playing against men to Stephen Colbert on “The Late Show.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170628042214-john-mcenroe-june-17-2017-large-169.jpg”,”title”:”McEnroe tries to clarify Serena Williams jab”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/06/28/john-mcenroe-colbert-late-night-serena-williams-ekr-orig-vstan.cnn/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2017/06/28/john-mcenroe-colbert-late-night-serena-williams-ekr-orig-vstan.cnn”,”videoId”:”cnnmoney/2017/06/28/john-mcenroe-colbert-late-night-serena-williams-ekr-orig-vstan.cnn”,”videoUrl”:”/videos/cnnmoney/2017/06/28/john-mcenroe-colbert-late-night-serena-williams-ekr-orig-vstan.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”John McEnroe did not offer an apology to Serena Williams during his interview on “CBS This Morning,” after telling NPR he thought Serena Williams would be ranked “700 in the world” if she played the men’s Tour.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170627103233-serena-williams-wimbledon-large-169.jpg”,”title”:”McEnroe won’t apologize to Serena Williams”,”videoCMSUrl”:”/video/data/3.0/video/tv/2017/06/27/john-mcenroe-serena-williams-no-apology-trnd-lab.cnn/index.xml”,”videoLeafUrl”:”/videos/tv/2017/06/27/john-mcenroe-serena-williams-no-apology-trnd-lab.cnn”,”videoId”:”tv/2017/06/27/john-mcenroe-serena-williams-no-apology-trnd-lab.cnn”,”videoUrl”:”/videos/tv/2017/06/27/john-mcenroe-serena-williams-no-apology-trnd-lab.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”Serena Williams shocked the world early Wednesday when she hinted she was pregnant on social media. A spokesperson for the tennis player later confirmed. CNN’s Jeanne Moos reports”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170420033423-serena-williams-pregnant-snapchat-brighter-large-169.jpg”,”title”:”Serena Williams is definitely pregnant “,”videoCMSUrl”:”/video/data/3.0/video/us/2017/04/19/serena-williams-pregnant-snapchat-tennis-moos-pkg-erin.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2017/04/19/serena-williams-pregnant-snapchat-tennis-moos-pkg-erin.cnn”,”videoId”:”us/2017/04/19/serena-williams-pregnant-snapchat-tennis-moos-pkg-erin.cnn”,”videoUrl”:”/videos/us/2017/04/19/serena-williams-pregnant-snapchat-tennis-moos-pkg-erin.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”It was an usual day at the office for Tommy Haas and Jiri Vesely in their 1st round match at the Miami Open, until an unusual fan dropped by — an iguana.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170324145411-iguana-miami-open-tease-large-169.jpg”,”title”:”The tennis-loving iguana at the Miami Open”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/03/24/iguana-miami-open-tommy-haas-jiri-vesely-atp-tennis-animals-orig.tennis-tv/index.xml”,”videoLeafUrl”:”/videos/sports/2017/03/24/iguana-miami-open-tommy-haas-jiri-vesely-atp-tennis-animals-orig.tennis-tv”,”videoId”:”sports/2017/03/24/iguana-miami-open-tommy-haas-jiri-vesely-atp-tennis-animals-orig.tennis-tv”,”videoUrl”:”/videos/sports/2017/03/24/iguana-miami-open-tommy-haas-jiri-vesely-atp-tennis-animals-orig.tennis-tv/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”In an interview with CNN Style, the tennis legend answered a unique set of questions. But did the Swiss ace the test?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170705111230-wimbledon-roger-federer-large-169.jpg”,”title”:” Federer as you’ve never heard him before “,”videoCMSUrl”:”/video/data/3.0/video/style/2017/07/05/federer-quickfire-ws2550.cnn/index.xml”,”videoLeafUrl”:”/videos/style/2017/07/05/federer-quickfire-ws2550.cnn”,”videoId”:”style/2017/07/05/federer-quickfire-ws2550.cnn”,”videoUrl”:”/videos/style/2017/07/05/federer-quickfire-ws2550.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”Puerto Rico tennis star, Monica Puig, spoke about the tough situation her home country is suffering at the hands of Hurricane Maria.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170322132626-getty-monica-puig-mexico-open-large-169.jpg”,”title”:”Puig’s emotional interview on Hurricane Maria”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/09/22/monica-puig-hurricane-maria-puerto-rico-tennis-star-olympic-gold-intv.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2017/09/22/monica-puig-hurricane-maria-puerto-rico-tennis-star-olympic-gold-intv.cnn”,”videoId”:”sports/2017/09/22/monica-puig-hurricane-maria-puerto-rico-tennis-star-olympic-gold-intv.cnn”,”videoUrl”:”/videos/sports/2017/09/22/monica-puig-hurricane-maria-puerto-rico-tennis-star-olympic-gold-intv.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”Rafael Nadal captures his 16th Grand Slam title after taking the US Open”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170910225410-nadal-bites-trophy-large-169.jpg”,”title”:”Nadal wins in New York”,”videoCMSUrl”:”/video/data/3.0/video/tv/2017/09/11/rafael-nadal-1-on-1.cnn/index.xml”,”videoLeafUrl”:”/videos/tv/2017/09/11/rafael-nadal-1-on-1.cnn”,”videoId”:”tv/2017/09/11/rafael-nadal-1-on-1.cnn”,”videoUrl”:”/videos/tv/2017/09/11/rafael-nadal-1-on-1.cnn/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”2017 US Open champion Sloane Stephens gave a memorable press conference after winning her first major title, filled with jokes and funny moments.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170909205004-sloane-with-trophy-large-169.jpg”,”title”:”Sloane Stephens’ press conference outtakes”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/09/11/sloane-stephens-us-open-hilarious-press-conference-tennis-orig.usta/index.xml”,”videoLeafUrl”:”/videos/sports/2017/09/11/sloane-stephens-us-open-hilarious-press-conference-tennis-orig.usta”,”videoId”:”sports/2017/09/11/sloane-stephens-us-open-hilarious-press-conference-tennis-orig.usta”,”videoUrl”:”/videos/sports/2017/09/11/sloane-stephens-us-open-hilarious-press-conference-tennis-orig.usta/video/playlists/intl-sports-tennis/”},{“descriptionPlainText”:”Amidst the crowds at Wimbledon, there’s one fan who stands above the rest for 18-time grand slam champ Roger Federer, and she’s got the tattoo to prove it.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170713144754-roger-federer-super-fan-tattoo-wimbledon-2017-orig-00000000-large-169.jpg”,”title”:”​Roger Federer’s tattooed superfan​”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/07/13/roger-federer-super-fan-tattoo-wimbledon-2017-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2017/07/13/roger-federer-super-fan-tattoo-wimbledon-2017-orig.cnn”,”videoId”:”sports/2017/07/13/roger-federer-super-fan-tattoo-wimbledon-2017-orig.cnn”,”videoUrl”:”/videos/sports/2017/07/13/roger-federer-super-fan-tattoo-wimbledon-2017-orig.cnn/video/playlists/intl-sports-tennis/”}],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:”sports/2018/05/31/roland-garros-corinne-dubreuil-photographer-rafael-nadal-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-16z6a7u’,videoDescriptionDivId: ‘js-video_description-16z6a7u’,videoDurationDivId: ‘js-video_duration-16z6a7u’,videoTitleDivId: ‘js-leaf-video_headline-16z6a7u’,videoSourceDivId: ‘js-video_sourceName-16z6a7u’});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