fix loading display

This commit is contained in:
Harvey Zack committed 2022-05-19 07:35:41 +08:00
1 parent 823c7b0b6f
commit d3fbe7c288
3 files changed
+7 -3

No files matched your search

+3 -1
View File
@@ -93,8 +93,8 @@ export default function eventInit(art) {
art.on('video:loadstart', () => {
art.loading.show = true;
art.mask.show = false;
art.controls.show = true;
art.mask.show = true;
});
art.on('video:pause', () => {
@@ -125,6 +125,7 @@ export default function eventInit(art) {
art.on('video:seeking', () => {
art.loading.show = true;
art.mask.show = false;
});
// art.on('video:stalled', () => {
@@ -145,5 +146,6 @@ export default function eventInit(art) {
art.on('video:waiting', () => {
art.loading.show = true;
art.mask.show = false;
});
}