Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4a43eba

Browse files
committed
modified parameter of getUserMedia for new spec.
1 parent 47e6267 commit 4a43eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/AR_slideshow/AR_mediaStream.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
video.autoplay = true;
355355
video.style.display = 'none';
356356
video.controls = true;
357-
navigator.webkitGetUserMedia('video',
357+
navigator.webkitGetUserMedia({'video': true},
358358
function(stream) {
359359
var url = webkitURL.createObjectURL(stream);
360360
video.src = url;

0 commit comments

Comments
 (0)