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:
advplyr 2022-04-11 18:38:01 -05:00
parent c94e57f55e
commit 6e8d84496b
10 changed files with 367 additions and 119 deletions

View file

@ -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) => {