mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-07-28 23:48:45 +02:00
feat: now playing chapter track
This commit is contained in:
@@ -141,6 +141,11 @@ class AbsAudioPlayerWeb extends WebPlugin {
|
||||
if (this.player) this.player.playbackRate = value
|
||||
}
|
||||
|
||||
// PluginMethod
|
||||
setChapterTrack({ enabled }) {
|
||||
this.useChapterTrack = enabled
|
||||
}
|
||||
|
||||
// PluginMethod
|
||||
async getCurrentTime() {
|
||||
return {
|
||||
@@ -262,4 +267,4 @@ export { AbsAudioPlayer }
|
||||
export default ({ app, store }, inject) => {
|
||||
$axios = app.$axios
|
||||
vuexStore = store
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user