mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-15 18:38:56 +01:00
Update client/players/LocalAudioPlayer.js
This commit is contained in:
parent
b283644d95
commit
596a03900b
@ -133,7 +133,7 @@ export default class LocalAudioPlayer extends EventEmitter {
|
|||||||
if (!Hls.isSupported()) {
|
if (!Hls.isSupported()) {
|
||||||
console.warn('HLS is not supported - fallback to using audio element')
|
console.warn('HLS is not supported - fallback to using audio element')
|
||||||
this.usingNativeplayer = true
|
this.usingNativeplayer = true
|
||||||
this.player.src = m3u8Url
|
this.player.src = this.currentTrack.relativeContentUrl
|
||||||
this.player.currentTime = this.startTime
|
this.player.currentTime = this.startTime
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user