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

Click event lost when Flash "Camera and Microphone Settings" window pops #28

Open
adamrabung opened this issue May 28, 2014 · 2 comments
Assignees

Comments

@adamrabung
Copy link

  1. go to http://cykod.github.io/FlashWavRecorder/html/ in a browser that does not have "allow" permissions for the microphone on "cykod.github.io".
  2. Click "Show Level" - Flash security modal pops up, as expected.
  3. Click "Allow" - at this point, I would expect "Show Level" to take effect, and for the audio levels to begin displaying, but they do not.

I'm sorry that I'm not more familiar with the Flash => Javascript interface - I wish I could add more. It looks like other similar projects are able to propagate the click event after the microphone is allowed, so it seems possible.

@michalstocki michalstocki self-assigned this May 29, 2014
@michalstocki
Copy link
Owner

Yes, it is possible to automatically "show level" after, the microphone permission is granted. I didn't do that because this behaviour is not expected when we click "record" - I think, we'd rather expect that recording starts just after click of "record" button, even if we have to click it twice (before allowing microphone and after).
However I'll add automatic "show level" in a have free moment.

@adamrabung
Copy link
Author

Thank you for the quick response! Would it be possible to make this "preserve click" behavior opt-in for FWRecorder.record as well? For my particular UI, I think it would make sense for the recording to start as soon as the permission is granted.

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

No branches or pull requests

2 participants