1
0
Fork 0
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:
Fedor Katurov 2019-10-13 17:47:13 +07:00
parent d1e369f723
commit f66825a9ea
12 changed files with 190 additions and 26 deletions

View 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',
};