EnCiv / undebate

Not debates, but recorded online video Q&A with candidates so voters can quickly can get to know them, for every candidate, for every election, across the US.
Other
20 stars 14 forks source link

Poor experience if camera/mic blocked #365

Open ddfridley opened 1 year ago

ddfridley commented 1 year ago

If the user blocks the camera / mic on visiting a recorder page, there is only a not suppored here message.

1) User navigator.permissions to figure out the current permissions - before getting the camera 2) If permission has already been allowed - then go ahead 3) If permission has been blocked, pop up a dialog box that explains that to use this page they will need to allow the mic/and camera 3a. figure you what browser they are using, and give them specific instructions on how to allow the mic camera. For chrome - see if you can open a tab to chrome://settings/content/siteDetails?site=https%3A%2F%2Fundebate-qa.herokuapp.com%2F&search=permission where the can set the permissions. (make sure to use the hostname to calculate the right path. 4) If permission is set to ask, show a dialog telling the user they are going to be asked for permission to use the camera and microphone.