mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
Fix autoPlayback ready
This commit is contained in:
1 parent
65fcc3d128
commit
e0ddedaff5
3 files changed
+3
-3
No files matched your search
@@ -15,7 +15,7 @@ export default function autoPlayback(art) {
|
||||
storage.set('times', times);
|
||||
});
|
||||
|
||||
art.once('video:loadedmetadata', () => {
|
||||
art.on('ready', () => {
|
||||
const times = storage.get('times') || {};
|
||||
const currentTime = times[art.option.url];
|
||||
if (currentTime) {
|
||||
|
||||
Reference in new issue
Block a user