Fix position

This commit is contained in:
Michel Roux 2023-08-29 00:51:52 +02:00
parent 16687ee669
commit 7a08a0dc58
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,10 @@ export const player = {
audio.src = episode.episodeUrl
audio.load()
audio.play()
if (episode.episodeAction) {
audio.currentTime = episode.episodeAction.position
}
} else {
state.loaded = false
state.podcastUrl = null