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

+2 -1
View File
@@ -1238,7 +1238,7 @@ 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>
@@ -2692,6 +2692,7 @@ function eventInit(art) {
art.on('video:loadstart', ()=>{
art.loading.show = true;
art.controls.show = true;
art.mask.show = true;
});
art.on('video:pause', ()=>{
art.controls.show = true;