Closed hems closed 9 years ago
Yes, it's fine for me
Cool, I think the message could be something like "If you leave the room your stream will still be live until you click "Stop broadcast", would you like to exit the room anyway?
@hems It looks like when I press the button GO OFFLINE, and i refresh the room page, the live flag is still set to true. Is it possible?
I was joking, it's working :dancer:
What if you close your tab or browser? You don't get any message but you're still live
I think we should also add a very simple style to the alert box. Could be the same style as the modal for publishing your recording
If the user tries to navigate away, and also on body.unload we should have a "Confirm" box telling the user about leaving the page and letting the stream live.
Something like this on body.unload would work:
And for now on navigation change i believe the confirm might be OK although in the future we will probably replace for a designed pop up?
@stefanoortisi / @thomas1602 what you guys think?