How to access webcam via Internet Explorer (11)? [closed]

我的未来我决定 提交于 2019-11-28 00:56:37

问题


Context: I'm building an offline website (html5, css, js) which i want to call over IE (11). For taking/saving a picture i need to access the webcam.

Approach: I read that IE doesn't support the getUserMedia; and the only way is to use flash.

Question: Is the only possibility to access the webcam over IE by using flash? If yes, please recommend an example.

I'd appreciate your input.


回答1:


Yes IE 11 and below currently doesn't support getUserMedia ,but there is a polyfill available on github, which you can find here

It uses flash fallback in case getUserMedia is unavailable so you can give it a try.

Update 1

There are a few more polyfills available and are listed under

webrtc4all and Temasys WebRTC can provides fallback via an NPAPI/ActiveX plugin.



来源:https://stackoverflow.com/questions/24676240/how-to-access-webcam-via-internet-explorer-11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!