mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
AudioPlayer initial
This commit is contained in:
parent
d1e369f723
commit
f66825a9ea
12 changed files with 190 additions and 26 deletions
15
src/redux/player/constants.ts
Normal file
15
src/redux/player/constants.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
const prefix = 'PLAYER.';
|
||||
|
||||
export const PLAYER_ACTIONS = {
|
||||
SET_FILE: `${prefix}SET_FILE`,
|
||||
SET_STATUS: `${prefix}SET_STATUS`,
|
||||
|
||||
PLAY: `${prefix}PLAY`,
|
||||
PAUSE: `${prefix}PAUSE`,
|
||||
};
|
||||
|
||||
export const PLAYER_STATES = {
|
||||
PLAYING: 'PLAYING',
|
||||
PAUSED: 'PAUSED',
|
||||
UNSET: 'UNSET',
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue