Fix position
All checks were successful
repod / nextcloud (push) Successful in 49s
repod / nodejs (push) Successful in 1m19s

This commit is contained in:
Michel Roux 2023-08-29 00:51:52 +02:00
parent 16687ee669
commit 7a08a0dc58

View File

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