build all packages

This commit is contained in:
Harvey committed 2019-11-22 17:07:40 +08:00
1 parent 2fcd44e8e7
commit baaaa4c56c
29 files changed
+189 -203

No files matched your search

@@ -17,18 +17,14 @@ export default function miniProgressBar(art) {
background: theme,
},
mounted($progressBar) {
art.on('controls:show', () => {
$progressBar.style.display = 'none';
art.on('control:toggle', value => {
$progressBar.style.display = value ? 'none' : 'block';
});
art.on('destroy', () => {
$progressBar.style.display = 'none';
});
art.on('controls:hide', () => {
$progressBar.style.display = 'block';
});
art.on('video:timeupdate', () => {
$progressBar.style.width = `${player.played * 100}%`;
});