diff --git a/src/imagecapture.js b/src/imagecapture.js index bff9be8..55233a3 100644 --- a/src/imagecapture.js +++ b/src/imagecapture.js @@ -46,7 +46,7 @@ if (typeof ImageCapture === 'undefined') { this.videoElement.src = URL.createObjectURL(this._previewStream); this.videoElement.muted = true; this.videoElement.setAttribute('playsinline', ''); // Required by Safari on iOS 11. See https://webkit.org/blog/6784 - this.videoElement.play(); // Required by Firefox and Safari + this.videoElement.play(); this.canvasElement = document.createElement('canvas'); // TODO Firefox has https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas