mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2025-01-20 22:10:20 +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 {
|
a:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-radius: .3rem;
|
|
||||||
box-shadow: var(--focus-ring);
|
box-shadow: var(--focus-ring);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<capture-options v-else/>
|
<capture-options v-else/>
|
||||||
|
|
||||||
<div class="preview">
|
<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>
|
</div>
|
||||||
|
|
||||||
<button class="capture-btn" :class="{ 'capture-btn--capturing': capturing.status }" @click="startCapture">Capture</button>
|
<button class="capture-btn" :class="{ 'capture-btn--capturing': capturing.status }" @click="startCapture">Capture</button>
|
||||||
|
|
|
@ -10,10 +10,17 @@ module.exports = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
parallel: false,
|
parallel: false,
|
||||||
chainWebpack: (config) => {
|
configureWebpack: {
|
||||||
config.module.rule('worker')
|
module: {
|
||||||
.test(/\.worker\.js$/i)
|
rules: [
|
||||||
.use('worker-loader')
|
{
|
||||||
.loader('worker-loader')
|
test: /\.worker\.js$/,
|
||||||
|
use: {
|
||||||
|
loader: 'worker-loader',
|
||||||
|
options: { inline: true }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue