diff --git a/lms/static/js/verify_student/views/webcam_photo_view.js b/lms/static/js/verify_student/views/webcam_photo_view.js index 1659365bfb..acbf40b7e7 100644 --- a/lms/static/js/verify_student/views/webcam_photo_view.js +++ b/lms/static/js/verify_student/views/webcam_photo_view.js @@ -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'); },