Skip to content

Commit

Permalink
fix video not playing
Browse files Browse the repository at this point in the history
  • Loading branch information
positlabs committed May 30, 2015
1 parent 2e53176 commit 4e0cb48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SlitScan.js
Expand Up @@ -39,6 +39,7 @@ SlitScan = function () {
audio: false
}, function (localMediaStream) {
video.src = window.URL.createObjectURL(localMediaStream);
video.play();
}, function (e) {
if (e.code === 1) {
console.log('User declined permissions.', e);
Expand Down

0 comments on commit 4e0cb48

Please sign in to comment.