mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-01-02 09:09:37 +00:00
Add:Media session controls and metadata
This commit is contained in:
parent
958d68ffa9
commit
8061ee29d5
2 changed files with 69 additions and 1 deletions
|
|
@ -179,6 +179,9 @@ export default class PlayerHandler {
|
|||
}
|
||||
|
||||
this.player.set(this.libraryItem, audioTracks, this.isHlsTranscode, this.startTime, this.playWhenReady)
|
||||
|
||||
// browser media session api
|
||||
this.ctx.setMediaSession()
|
||||
}
|
||||
|
||||
closePlayer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue