fix mask display

This commit is contained in:
Harvey Zack committed 2022-05-19 07:33:02 +08:00
1 parent b0c6005a2e
commit 823c7b0b6f
4 files changed
+5 -3

No files matched your search

@@ -94,6 +94,7 @@ export default function eventInit(art) {
art.on('video:loadstart', () => {
art.loading.show = true;
art.controls.show = true;
art.mask.show = true;
});
art.on('video:pause', () => {
+1 -1
View File
@@ -33,7 +33,7 @@ export default class Template {
static get html() {
return `
<div class="art-video-player art-subtitle-show art-layer-show art-control-show">
<div class="art-video-player art-subtitle-show art-layer-show art-control-show art-mask-show">
<video class="art-video"></video>
<div class="art-poster"></div>
<div class="art-subtitle"></div>