mirror of
https://git.crystalyx.net/Xefir/repod.git
synced 2024-12-28 17:51:05 +01:00
Fix position
This commit is contained in:
parent
16687ee669
commit
7a08a0dc58
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user