rico345100 / react-multimedia-capture

react-multimedia-capture is Multimedia capturing module via React, using HTML5 MediaDevice and MediaRecorder API
49 stars 14 forks source link

Fix typo in `MediaRecorder.onData` handler. #4

Closed MarkBennett closed 6 years ago

MarkBennett commented 6 years ago

Rename event variable to ev so that it works as intended. By fluke it worked before in browsers which defined Window.event (like Chrome and Internet Explorer) but not it ones which don't (Firefox).

Please let me know if there's anything else you'd like me to change in this PR!

Resolves #3

rico345100 commented 6 years ago

Thanks! I will republish npm package soon!