addyosmani / addyosmani/getUserMedia.js

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

Aberta
#48 5 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
901
Forks
155
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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 !

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.