Skip to content

Commit

Permalink
modified parameter of getUserMedia for new spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
youkinjoh committed Apr 1, 2014
1 parent 47e6267 commit 4a43eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/AR_slideshow/AR_mediaStream.html
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
video.autoplay = true;
video.style.display = 'none';
video.controls = true;
navigator.webkitGetUserMedia('video',
navigator.webkitGetUserMedia({'video': true},
function(stream) {
var url = webkitURL.createObjectURL(stream);
video.src = url;
Expand Down

0 comments on commit 4a43eba

Please sign in to comment.