Merge pull request #17135 from edx/waheed/LEARNER-3758-fix-webcam-not-loading
Fix webcam not loading in safari.
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