addyosmani / addyosmani/getUserMedia.js
Object doesn't support property or method 'setTimeout' on IE
- 主要言語
- JavaScript
- スター
- 901
- フォーク
- 155
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hello,
I'm trying to use the fallback on IE (version 11), but I have a strange error :
```
Object doesn't support property or method setTimeout
```
It happens on line 129 of the unminified version, which is the following :
``` js
window.setTimeout(register, 1000 * (4 - run), run - 1);
```
Here is how I instanciate getUserMedia :
``` js
getUserMedia(_this.options.webcam, _this.initWebcamSuccess, _this.initWebcamError);
window.webcam = _this.options.webcam;
```
Here is my _this.options.webcam object :
``` js
{
'audio': false,
'video': true,
el: 'webcam-preview',
extern: null,
append: true,
noFallback: false,
swffile: '/jscam_canvas_only.swf',
width: 640,
height: 480,
mode: 'callback',
quality: 85,
context: 'webrtc',
debug: function() {},
onCapture: function() {},
onTick: function() {},
onSave: function(data) {},
onLoad: function() {}
}
```
Can somebody guess what is happening ? Your help is precious !
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。