aspnet / live.asp.net

Code for live.asp.net, which hosts the ASP.NET Community Stand-up
https://live.asp.net/
MIT License
289 stars 114 forks source link

Refresh the page when it's ShowTime #43

Closed M-Zuber closed 4 years ago

M-Zuber commented 9 years ago

If I understood what was said during the 8/11 standup, the solution for this would be to start a simple polling as the showtime gets closer? Assuming that yes, I would like to take a stab at that

hishamco commented 9 years ago

Last week I notice a latency the time stopped while the YouTube player not started yet

peterblazejewicz commented 9 years ago

@M-Zuber AFAIK the page needs to either reload - so HangOut embed partial gets incorporated into page and show starts streaming or JS code should modify view to embed HangOut stream: https://github.com/aspnet/live.asp.net/blob/dev/src/live.asp.net/Views/Home/Index.cshtml#L34-L38 If I'm not wrong, the current endCallback closure just clears counter: https://github.com/aspnet/live.asp.net/blob/dev/src/live.asp.net/wwwroot/js/site.js#L131-L133

M-Zuber commented 9 years ago

@peterblazejewicz you are correct, in today's standup it was verified that the page needs to be refreshed.

45 seems to take care of it quite nicely