Beijing Medalstandings

Beijing Medalstandings‘; } }); ]]> lastScrollTopBeijing){ // downscroll code body.classList.add(“beijing-2022-scroll”); } if(st == 0){ // upscroll code body.classList.remove(“beijing-2022-scroll”); } lastScrollTopBeijing = st { OVP.navigation.beforeNavigate((linkName, href, params) => { if (linkName === ‘video-live’) { // this is the line that connects the two playerController.then(c => c.setScheduleSessionId(params.scheduleSessionId)); document.getElementById(“live-listing-container1”).style.display = “block”; document.getElementById(“video_back”).style.display = “block”; //var elmntToView = document.getElementById(“video_back”); //elmntToView.scrollIntoView(); window.scrollTo(0,0); return false; } if (linkName === ‘video-highlight’) { // this is the line that connects the two playerController.then(c => c.setVODId(params.vodId)); document.getElementById(“live-listing-container1”).style.display = “block”; document.getElementById(“video_back”).style.display = “block”; //var elmntToView = document.getElementById(“live-listing-container1”); //elmntToView.scrollIntoView(); window.scrollTo(0,0); return false; } if (linkName === ‘video-fer’) { // this is the line that connects the two playerController.then(c => c.setScheduleSessionId(params.scheduleSessionId)); document.getElementById(“live-listing-container1”).style.display = “block”; document.getElementById(“video_back”).style.display = “block”; //var elmntToView = document.getElementById(“live-listing-container1”); //elmntToView.scrollIntoView(); window.scrollTo(0,0); return false; } return null; }); const playerController = OVP.widgets .renderWidget({ type: ‘player-embed’, id: ‘videoshort-w60-1’, wrapper: document.querySelector(‘.player-wrapper’), config: { }, }) const MedalsStandingController = OVP.widgets.renderWidget({ type: “medals”, id: ” medals-w41f-1″, wrapper: document.getElementById(“medals-full-container”), config: { “heading”: null, “description”: “Stay up to date with the latest medal wins and explore the rankings.”, “view”: “organisation”, “sort”: null, “showFavouriteSports”: true, “showFavouriteOrganisations”: true, “showRecentMedalsWon”: false, “showTeams”: false, “highlightRHBOrganisation”: true, “highlightRHBDisciplines”: true, “tableSize”: “large”, “pageNumber”: 1, “recentMedalsWonSize”: “medium”, “expandedOrganisationCode”: null, “expandedDisciplineCode”: null, “useFixedHeightIntro”: false, “useStickyHeader”: true } }) document.getElementById(“video_back”).onclick = function() {makeLiveExit()}; function makeLiveExit(){ document.getElementById(“live-listing-container1”).style.display = “none”; document.getElementById(“video_back”).style.display = “none”; playerController.then(c => { c.setVODId(null); c.setScheduleSessionId(null); }); } }); ]]> Enable JavaScript to ensure website accessibility

(Visited 1 times, 1 visits today)