See judge rule against Djokovic over visa appeal

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2022/01/16/djokovic-ruling-australia-open-newday-vpx.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/220116064823-judge-novak-djokovic-01-16-2022-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220116064823-judge-novak-djokovic-01-16-2022-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220116064823-judge-novak-djokovic-01-16-2022-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220116064823-judge-novak-djokovic-01-16-2022-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220116064823-judge-novak-djokovic-01-16-2022-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220116064823-judge-novak-djokovic-01-16-2022-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220116064823-judge-novak-djokovic-01-16-2022-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Tennis star Novak Djokovic will leave Australia after a judge denied his appeal. In a statement, Djokovic confirmed he will not be playing in the Australian Open.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220116064823-judge-novak-djokovic-01-16-2022-large-169.jpg”,”title”:”Watch judge rule against Novak Djokovic over visa appeal”,”videoCMSUrl”:”/videos/world/2022/01/16/djokovic-ruling-australia-open-newday-vpx.cnn”,”videoLeafUrl”:”/videos/world/2022/01/16/djokovic-ruling-australia-open-newday-vpx.cnn”,”videoId”:”world/2022/01/16/djokovic-ruling-australia-open-newday-vpx.cnn”,”videoUrl”:”/videos/world/2022/01/16/djokovic-ruling-australia-open-newday-vpx.cnn”,”surrogateKey”:”video_2A41C80C-6E02-3453-14F7-62B39C2373E1″},{“descriptionPlainText”:”Novak Djokovic’s Australian visa has been revoked for a second time, putting in serious doubt the world’s No.1 men’s tennis player’s chances of contesting the Australian Open and winning a record 21st Grand Slam. Justin Quill, a partner with an Australian law firm in Melbourne breaks down the legal actions Djokovic’s team could do next.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220114155513-screengrab-justin-quill-australian-lawyer-large-169.jpeg”,”title”:”Lawyer breaks down what Djokovic’s team could do next”,”videoCMSUrl”:”/video/data/3.0/video/sports/2022/01/14/australia-novak-djokovic-visa-revoke-again-ovn-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2022/01/14/australia-novak-djokovic-visa-revoke-again-ovn-intl-hnk-vpx.cnn”,”videoId”:”sports/2022/01/14/australia-novak-djokovic-visa-revoke-again-ovn-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/sports/2022/01/14/australia-novak-djokovic-visa-revoke-again-ovn-intl-hnk-vpx.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_5BE41C13-888B-BF87-D91C-578D195C3B7E”},{“descriptionPlainText”:”In Serbia, no one is revered quite like Novak Djokovic, who is deemed a national hero. The world’s No.1 tennis player is struggling to stay in Australia for the Australian Open, largely due to his unvaccinated status. CNN’s Scott McLean travels to Belgrade, Serbia, and talks to his Serbian fans.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220114142552-split-djokovic-fans-large-169.jpg”,”title”:”Hear Djokovic’s Serbian fans react to his Covid-19 scandal “,”videoCMSUrl”:”/video/data/3.0/video/sports/2022/01/14/serbia-reaction-novak-djokovic-covid-mclean-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2022/01/14/serbia-reaction-novak-djokovic-covid-mclean-pkg-intl-hnk-vpx.cnn”,”videoId”:”sports/2022/01/14/serbia-reaction-novak-djokovic-covid-mclean-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/sports/2022/01/14/serbia-reaction-novak-djokovic-covid-mclean-pkg-intl-hnk-vpx.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_DB3229F8-CDC8-A71A-4FBE-5753BEF01348″},{“descriptionPlainText”:”As Novak Djokovic is named the number one seed in the Australian Open men’s singles draw, the tennis superstar is awaiting a decision by Australian Immigration Minister Alex Hawke who could decide whether or not to revoke his reinstated visa and deport him. Djokovic’s visa was previously canceled after he arrived without a valid exemption for Australia’s vaccination requirement for all arrivals.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220112123611-djokovic-wednesday-jan-12-large-169.jpg”,”title”:”Djokovic trains as questions linger over eligibility to play in Australian Open”,”videoCMSUrl”:”/video/data/3.0/video/sports/2022/01/13/novak-djokovic-australian-open-draw-visa-intl-ovn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2022/01/13/novak-djokovic-australian-open-draw-visa-intl-ovn-vpx.cnn”,”videoId”:”sports/2022/01/13/novak-djokovic-australian-open-draw-visa-intl-ovn-vpx.cnn”,”videoUrl”:”/videos/sports/2022/01/13/novak-djokovic-australian-open-draw-visa-intl-ovn-vpx.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_0D1D07AF-3B27-35D8-5F26-51D53DE68E6F”},{“descriptionPlainText”:”Tennis star Novak Djokovic has admitted he did not immediately isolate after testing positive for Covid-19 in December — but denied knowing he had the virus when attending public events. CNN’s Patrick Snell reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220111081722-novak-djokovic-australian-open-2021-large-169.jpg”,”title”:”CNN anchor breaks down Djokovic’s lengthy statement amid controversy”,”videoCMSUrl”:”/video/data/3.0/video/sports/2022/01/12/novak-djokovic-australian-open-statement-snell-ovn-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2022/01/12/novak-djokovic-australian-open-statement-snell-ovn-intl-hnk-vpx.cnn”,”videoId”:”sports/2022/01/12/novak-djokovic-australian-open-statement-snell-ovn-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/sports/2022/01/12/novak-djokovic-australian-open-statement-snell-ovn-intl-hnk-vpx.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_6FA271D4-0D7E-288F-7DF6-4CF8F6A4D728″},{“descriptionPlainText”:”The family of tennis star Novak Djokovic held a presser in Belgrade, Serbia, after an Australian judge in Melbourne ruled that the tennis star should be released from detention, and the government’s cancellation of his visa overruled.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220110110852-novak-djokovic-australian-open-family-press-conference-intl-ldn-vpx-00002703-large-169.png”,”title”:”Hear from Djokovic’s family as tennis star wins appeal”,”videoCMSUrl”:”/video/data/3.0/video/sports/2022/01/10/novak-djokovic-australian-open-family-press-conference-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2022/01/10/novak-djokovic-australian-open-family-press-conference-intl-ldn-vpx.cnn”,”videoId”:”sports/2022/01/10/novak-djokovic-australian-open-family-press-conference-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/sports/2022/01/10/novak-djokovic-australian-open-family-press-conference-intl-ldn-vpx.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_94DCCEA3-68BD-F4E7-CAB3-44467DA85FE3″},{“descriptionPlainText”:”The nine-time Australian Open champion may not be able to defend his 2021 title after his visa to enter Australia was canceled. This comes after Djokovic’s medical exemption, granted by the tournament organizers, sparked a backlash among the public with the tournament held in one of the most locked-down cities in 2021.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220106174118-djokovic-australian-open-debacle-lon-orig-na-large-169.jpeg”,”title”:”Tennis stars react to Djokovic’s Australian Open debacle”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/01/06/novak-djokovic-visa-reaction-lon-orig-na.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/01/06/novak-djokovic-visa-reaction-lon-orig-na.cnn”,”videoId”:”world/2022/01/06/novak-djokovic-visa-reaction-lon-orig-na.cnn”,”videoUrl”:”/videos/world/2022/01/06/novak-djokovic-visa-reaction-lon-orig-na.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_DFC03B86-13D5-3B51-D515-3023BBC67D4D”},{“descriptionPlainText”:”Novak Djokovic is facing backlash in Australia after receiving a medical exemption from the country’s coronavirus vaccination rules to compete in the Australian Open tennis tournament. Djokovic may not be able to defend his title after his visa was revoked upon arrival in Melbourne.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211208111705-novak-djokovic-large-169.jpg”,”title”:”‘A disgrace’: See how some Australians are reacting to Djokovic visa row”,”videoCMSUrl”:”/video/data/3.0/video/sports/2022/01/05/novak-djokovic-australian-open-exemption-orig-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2022/01/05/novak-djokovic-australian-open-exemption-orig-bdk.cnn”,”videoId”:”sports/2022/01/05/novak-djokovic-australian-open-exemption-orig-bdk.cnn”,”videoUrl”:”/videos/sports/2022/01/05/novak-djokovic-australian-open-exemption-orig-bdk.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_17A0202D-A6A2-6D63-655D-2B26377CD1D4″},{“descriptionPlainText”:”CNN speaks with 6-time major champion Boris Becker about the controversy surrounding men’s tennis No. 1 Novak Djokovic being granted an exemption to compete in this year’s Australian Open in Melbourne.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220105130610-boris-becker-world-sport-interview-large-169.jpg”,”title”:”Djokovic’s former coach: Novak should speak openly”,”videoCMSUrl”:”/video/data/3.0/video/sports/2022/01/05/boris-becker-novak-djokovic-australian-open-medical-exemption-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2022/01/05/boris-becker-novak-djokovic-australian-open-medical-exemption-vpx.cnn”,”videoId”:”sports/2022/01/05/boris-becker-novak-djokovic-australian-open-medical-exemption-vpx.cnn”,”videoUrl”:”/videos/sports/2022/01/05/boris-becker-novak-djokovic-australian-open-medical-exemption-vpx.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_116C5927-3B34-C957-B6D4-2B6AFA1B9341″},{“descriptionPlainText”:”Chinese tennis star Peng Shuai is now changing her story, saying she never accused a senior Communist leader of sexual assault despite a since-deleted post on her verified social media account nearly seven weeks ago detailing the allegation. CNN’s Will Ripley has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211124083424-peng-shuai-wta-large-169.jpg”,”title”:”Tennis star Peng Shuai changes story on assault allegations”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/12/20/peng-shuai-denies-making-sexual-assault-allegations-ripley-pkg-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/12/20/peng-shuai-denies-making-sexual-assault-allegations-ripley-pkg-intl-vpx.cnn”,”videoId”:”world/2021/12/20/peng-shuai-denies-making-sexual-assault-allegations-ripley-pkg-intl-vpx.cnn”,”videoUrl”:”/videos/world/2021/12/20/peng-shuai-denies-making-sexual-assault-allegations-ripley-pkg-intl-vpx.cnn/video/playlists/intl-sports-tennis/”,”surrogateKey”:”video_BB440EFE-9406-B624-FE0E-DA33D16F08C9″},{“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_3C4452CA-DB2F-98A6-5D06-DE5C5C47DDB2″},{“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_BF36AF96-ABEA-1910-E82A-DE5C7E160850″},{“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_6AAF85BB-9553-46BB-0172-A16978BC1298″},{“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_7DDEA642-A374-E273-AE4B-BB97339307E6″},{“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_508BC772-5BC8-9571-25DA-5329A999E5AC”}],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:”world/2022/01/16/djokovic-ruling-australia-open-newday-vpx.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-sjtfpn’,videoDescriptionDivId: ‘js-video_description-sjtfpn’,videoDurationDivId: ‘js-video_duration-sjtfpn’,videoTitleDivId: ‘js-leaf-video_headline-sjtfpn’,videoSourceDivId: ‘js-video_sourceName-sjtfpn’});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(‘

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow by Email
Pinterest
LinkedIn
Share