Merge pull request #1211 from lkiesow/started-at

Fix startedAt in progress API
This commit is contained in:
advplyr 2022-11-23 17:37:40 -06:00 committed by GitHub
commit 097f9549b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ class MediaProgress {
this.finishedAt = progress.finishedAt || Date.now()
this.progress = 1
}
this.startedAt = this.finishedAt || Date.now()
this.startedAt = progress.startedAt || this.finishedAt || Date.now()
}
update(payload) {