mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-02 18:14:47 +02:00
Updates to audio player plugin to method naming and using seconds for time values. Adding web audio player to run in browser.
This commit is contained in:
parent
c94e57f55e
commit
6e8d84496b
10 changed files with 367 additions and 119 deletions
|
@ -22,11 +22,23 @@ const PlayMethod = {
|
|||
LOCAL: 3
|
||||
}
|
||||
|
||||
const PlayerState = {
|
||||
IDLE: 0,
|
||||
BUFFERING: 1,
|
||||
READY: 2,
|
||||
ENDED: 3
|
||||
}
|
||||
|
||||
const Constants = {
|
||||
DownloadStatus,
|
||||
CoverDestination,
|
||||
BookCoverAspectRatio,
|
||||
PlayMethod
|
||||
PlayMethod,
|
||||
PlayerState
|
||||
}
|
||||
|
||||
export {
|
||||
PlayerState
|
||||
}
|
||||
|
||||
export default ({ app }, inject) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue