ngrandjean
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
web_widget_image_webcam/static/src/js/webcam.js
|
|
@ -141,9 +141,9 @@ var Webcam = { |
|
|
|
// got access, attach stream to video
|
|
|
|
try { |
|
|
|
video.srcObject = stream; |
|
|
|
} catch (error) { |
|
|
|
video.src = window.URL.createObjectURL(stream) || stream; |
|
|
|
} |
|
|
|
} catch (error) { |
|
|
|
video.src = window.URL.createObjectURL(stream) || stream; |
|
|
|
} |
|
|
|
self.stream = stream; |
|
|
|
self.loaded = true; |
|
|
|
self.live = true; |
|
|
|