Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start recording automatically when the user loads the page #12

Open
adityagoel28 opened this issue Oct 29, 2021 · 3 comments
Open

Start recording automatically when the user loads the page #12

adityagoel28 opened this issue Oct 29, 2021 · 3 comments

Comments

@adityagoel28
Copy link

How to start audio recording automatically when the user loads the page instead of clicking the button - Start Recording

@timhunt
Copy link
Member

timhunt commented Oct 30, 2021

That is not possible. the question type does not support it.

I expect it is impossible to do - it would open serious privacy concerns if the WebRTC API allowed recording to start without the user taking an action.

Also, surely the student needs time to read the question and think about it before they can answer?

@adityagoel28
Copy link
Author

But I could just use onload function to run the js function when the page loads, right?

@timhunt
Copy link
Member

timhunt commented Oct 31, 2021

My guess is that if you try, the browser will block you. But, don't ask me. You can just try it. Let us know what you find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants