addyosmani / addyosmani/getUserMedia.js

Object doesn't support property or method 'setTimeout' on IE

Đang mở
#48 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
901
Fork
155
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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 !

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.