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