addyosmani / addyosmani/getUserMedia.js

IE 12/Edge in Windows 10 Beta

未關閉
#40 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
help-wanted
主要語言
JavaScript
星號
901
分支
155
PR 合併指標
30 天內沒有已合併 PR

描述

Obviously, this may not be relevant for long since it's a beta build, but currently getUserMedia.js doesn't work on Windows 10/IE in Edge document mode. If I change to IE 11 document mode then it works fine.

![image](https://cloud.githubusercontent.com/assets/3195410/6884238/75a0204a-d59b-11e4-8c52-27b1d3731fac.png)

The problem seems to be that the Flash file doesn't load properly (after the fourth try calling register(), it gives up "Flash movie not yet registered"). Is the control possibly checking for a user agent as part of launching?

Also, there's a bug in demo.js:

```
deviceError: function (error) {
alert('No camera available.');
console.error('An error occurred: [CODE ' + error.code + ']');
},
```

The error object has no property when thrown from getUserMedia.js register() method. It should either be fixed by setting a code property for the error object, or not looking for that property in the demo class.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。