mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
artplayer@4.5.2
This commit is contained in:
1 parent
0971aba7f9
commit
c09713d50f
8 files changed
+21
-15
No files matched your search
@@ -54,8 +54,10 @@ export default function autoPlayback(art) {
|
||||
setStyle($autoPlayback, 'display', 'none');
|
||||
});
|
||||
|
||||
art.on('video:timeupdate', () => {
|
||||
setStyle($autoPlayback, 'display', 'none');
|
||||
art.once('video:timeupdate', () => {
|
||||
setTimeout(() => {
|
||||
setStyle($autoPlayback, 'display', 'none');
|
||||
}, constructor.AUTO_PLAYBACK_TIMEOUT);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user