mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2025-01-20 22:10:20 +00:00
fix(capture): Fix black gif rendered on Chrome Android
This commit is contained in:
parent
8c945d36bb
commit
5ff7b47fde
1 changed files with 0 additions and 1 deletions
|
@ -11,7 +11,6 @@ export function capture (commit, mediaStream, duration) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const video = document.createElement('video')
|
const video = document.createElement('video')
|
||||||
video.autoplay = true
|
video.autoplay = true
|
||||||
video.muted = true
|
|
||||||
video.setAttribute('playsinline', '')
|
video.setAttribute('playsinline', '')
|
||||||
video.setAttribute('webkit-playsinline', '')
|
video.setAttribute('webkit-playsinline', '')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue