mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
fix loading display
This commit is contained in:
1 parent
823c7b0b6f
commit
d3fbe7c288
3 files changed
+7
-3
No files matched your search
@@ -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;
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user