addyosmani / getUserMedia.js

Shim for getUserMedia(). Uses native implementation for modern browsers and a Flash fallback for everyone else.
MIT License
903 stars 158 forks source link

Safari not working. Tested on demo too. #38

Open leona opened 9 years ago

leona commented 9 years ago

Hello,

At first I thought it was an issue with my code, but after testing the library demo on multiple different devices using Safari I can confirm it doesn't work. If you could send me a fix that'd be great.

Thanks :) Leon

dandv commented 9 years ago

Safari and IE don't support getUserMedia.

Maybe fallback to fallback to <input type="file" accept="image/*;capture=camera"> ?

ponyfleisch commented 9 years ago

Well, this is a shim with a flash fallback, so it should work in safari too. I'm having the same problem with safari, would be grateful for a fix.

addyosmani commented 9 years ago

I'm unfortunately slammed at the moment and won't have a chance to patch this for a while. If someone does get a chance to address this with a PR, I'd be happy to review.

yueranyuan commented 9 years ago

I had the same problem so I wrote up a PR https://github.com/addyosmani/getUserMedia.js/pull/46

tennety commented 8 years ago

Can this issue be closed? @leonharvey @ponyfleisch