Toggle Player
Stops or starts running playback.
Syntax
store.dispatch({ type: "SET_PLAYER_RUNNING", payload: running });
Parameters
running
A boolean indicating whether the player should be running.
Examples
Stops playback.
store.dispatch({
type: "SET_PLAYER_RUNNING",
payload: false
});