mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-29 15:14:35 +02:00
Add:iOS audio player
This commit is contained in:
parent
4496b1170c
commit
4bf75c606a
24 changed files with 467 additions and 129 deletions
|
@ -378,7 +378,7 @@ export default {
|
|||
console.log('[StreamContainer] Stream Open: ' + this.title)
|
||||
|
||||
if (!this.$refs.audioPlayer) {
|
||||
console.error('No Audio Player Mini')
|
||||
console.error('[StreamContainer] No Audio Player Mini')
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -406,7 +406,12 @@ export default {
|
|||
audiobookId: this.audiobookId,
|
||||
tracks: this.tracksForCast
|
||||
}
|
||||
|
||||
console.log('[StreamContainer] Set Audio Player', JSON.stringify(audiobookStreamData))
|
||||
if (!this.$refs.audioPlayer) {
|
||||
console.error('[StreamContainer] Invalid no audio player')
|
||||
} else {
|
||||
console.log('[StreamContainer] Has Audio Player Ref')
|
||||
}
|
||||
this.$refs.audioPlayer.set(audiobookStreamData, stream, !this.stream)
|
||||
|
||||
this.stream = stream
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue