mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2025-02-01 11:49:40 +00:00
fix(capture): show preview during encoding too
This commit is contained in:
parent
cc3c3b2d75
commit
0ab48094fc
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ export default {
|
||||||
window.objectFitPolyfill(this.$refs.preview)
|
window.objectFitPolyfill(this.$refs.preview)
|
||||||
document.body.classList.add('capture-body')
|
document.body.classList.add('capture-body')
|
||||||
},
|
},
|
||||||
|
updated: function () {
|
||||||
|
this.updatePreviewMediaStream()
|
||||||
|
},
|
||||||
destroyed: function () {
|
destroyed: function () {
|
||||||
document.body.classList.remove('capture-body')
|
document.body.classList.remove('capture-body')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue