diff --git a/src/services/capture.js b/src/services/capture.js index 439c71b..24a5f13 100644 --- a/src/services/capture.js +++ b/src/services/capture.js @@ -11,6 +11,9 @@ export function capture (commit, mediaStream, duration) { return new Promise((resolve, reject) => { const video = document.createElement('video') video.autoplay = true + video.muted = true + video.setAttribute('playsinline', '') + video.setAttribute('webkit-playsinline', '') const canvas = document.createElement('canvas') canvas.width = WIDTH