mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2024-11-08 10:51:53 +00:00
Merge branch 'master' of github.com:GlitchFamily/souvenir
This commit is contained in:
commit
2b89fba51a
3 changed files with 13 additions and 7 deletions
|
@ -45,7 +45,6 @@ a:hover {
|
|||
|
||||
a:focus {
|
||||
outline: none;
|
||||
border-radius: .3rem;
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<capture-options v-else/>
|
||||
|
||||
<div class="preview">
|
||||
<video ref="preview" class="preview-visual" height="200px" autoplay></video>
|
||||
<video ref="preview" class="preview-visual" height="200px" preload="yes" autoplay muted playsinline webkit-playsinline></video>
|
||||
</div>
|
||||
|
||||
<button class="capture-btn" :class="{ 'capture-btn--capturing': capturing.status }" @click="startCapture">Capture</button>
|
||||
|
|
|
@ -10,10 +10,17 @@ module.exports = {
|
|||
}
|
||||
},
|
||||
parallel: false,
|
||||
chainWebpack: (config) => {
|
||||
config.module.rule('worker')
|
||||
.test(/\.worker\.js$/i)
|
||||
.use('worker-loader')
|
||||
.loader('worker-loader')
|
||||
configureWebpack: {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.worker\.js$/,
|
||||
use: {
|
||||
loader: 'worker-loader',
|
||||
options: { inline: true }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue