From c2fc36f2e72340ab132a00de8d79a14211628cf4 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 21 May 2018 20:08:51 +0200 Subject: statuses --- app/client/live/actions.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/client/live/actions.js') diff --git a/app/client/live/actions.js b/app/client/live/actions.js index 5bf06eb..c9927b3 100644 --- a/app/client/live/actions.js +++ b/app/client/live/actions.js @@ -40,3 +40,13 @@ export const seek = (frame) => { socket.seek(frame) return { type: 'SEEKING', } } + +export const pause = (frame) => { + socket.pause(pause) + return { type: 'PAUSING', } +} + +export const play = (frame) => { + socket.play() + return { type: 'PLAYING', } +} -- cgit v1.2.3-70-g09d2