Beijing Schedule

Beijing Schedule‘; } }); ]]> 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 === ‘session-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 elemntToView = document.getElementById(“live-listing-container1”); elemntToView.scrollIntoView(); return false; } 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 elemntToView = document.getElementById(“live-listing-container1”); elemntToView.scrollIntoView(); 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 elemntToView = document.getElementById(“live-listing-container1”); elemntToView.scrollIntoView(); 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 elemntToView = document.getElementById(“live-listing-container1”); elemntToView.scrollIntoView(); return false; } return null; }); const playerController = OVP.widgets .renderWidget({ type: ‘player-embed’, id: ‘videoshort-w60-1’, wrapper: document.querySelector(‘.player-wrapper’), config: { }, }) const scheduleController = OVP.widgets.renderWidget({ type: “schedule”, id: “schedule-w40f-1”, wrapper: document.getElementById(“schedule-container”), config: { “heading”: “Beijing 2022”, “view”: “list”, “highlightRHBOrganisation”: true, “showTimeZones”: true, “showDayDetails”: true, “showEventCarousel”: false, “enableGridView”: false, “enableListView”: true, “enableOverview”: true, “useStickyHeaders”: true, “showMetaData”: false, “showEventReminderCTA”: false, “olympicDate”: “2020-07-20”, “relativeTimeZone”: “local”, “disciplineCodes”: “”, “stickyOffset”: 70, “disciplineLimit”: null } }) 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)