Fix autoPlayback event

This commit is contained in:
Harvey committed 2022-04-25 16:09:24 +08:00
1 parent 9a68d13e1c
commit 65fcc3d128
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -4823,7 +4823,7 @@
times[art.option.url] = art.currentTime;
storage.set('times', times);
});
art.on('ready', function () {
art.once('video:loadedmetadata', function () {
var times = storage.get('times') || {};
var currentTime = times[art.option.url];