diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-12-19 21:17:31 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-12-19 21:17:31 +0100 |
| commit | c1f5e3337aee07fb6378374b4b7cc5db847e4c15 (patch) | |
| tree | f3437cc979970754294f95369d3e8c4c2b98816f /app/client/live/live.actions.js | |
| parent | a0fa03a9a0219771e0173db5a811d20b20fe3ba0 (diff) | |
updating params
Diffstat (limited to 'app/client/live/live.actions.js')
| -rw-r--r-- | app/client/live/live.actions.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/client/live/live.actions.js b/app/client/live/live.actions.js index c4d29f7..863ebe4 100644 --- a/app/client/live/live.actions.js +++ b/app/client/live/live.actions.js @@ -14,6 +14,11 @@ export const set_param = (key, value) => { return { type: types.player.set_param, key, value, } } +export const send_command = (cmd, payload) => { + socket.live.send_command(cmd, payload) + return { type: types.player.send_command, } +} + export const set_fullscreen = (value) => { return { type: types.player.set_fullscreen, value } } |
