mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-07-28 23:48:45 +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:
+13
-1
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user