fix(capture): Fix black gif rendered on Chrome Android

This commit is contained in:
Tixie 2019-03-13 00:30:53 +01:00
parent 8c945d36bb
commit 5ff7b47fde

View file

@ -11,7 +11,6 @@ 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', '')