From b89147ecd38b0f95a2e4917aba7f44bf3bb70327 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 7 Jul 2017 18:43:24 +0200 Subject: refactor audioplayer --- client/actions/index.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'client/actions/index.js') diff --git a/client/actions/index.js b/client/actions/index.js index ddbf9ee..0a163ae 100644 --- a/client/actions/index.js +++ b/client/actions/index.js @@ -1,3 +1,12 @@ +export const audioPlayFile = (file) => ({ + type: 'AUDIO_PLAY_FILE', + file: file +}) + +export const audioPause = () => ({ + type: 'AUDIO_PAUSE', +}) + export const setContent = (content) => ({ type: 'SET_CONTENT', file: content -- cgit v1.2.3-70-g09d2