Fix webcam not loading in safari.
LEARNER-3758
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
getUserMediaCallback: function(stream) {
|
||||
var video = this.getVideo();
|
||||
this.stream = stream;
|
||||
video.src = this.URL.createObjectURL(stream);
|
||||
video.srcObject = stream;
|
||||
video.play();
|
||||
this.trigger('webcam-loaded');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user