Set Audio Offset
Adjusts the offset of the audio file.
Syntax
store.dispatch({ type: "SET_AUDIO_OFFSET", payload: offset });
Parameters
offset
The time (in seconds) that audio starts playing from. Negative values correspond to time until audio starts playing.
Examples
Adjusts the audio offset to play the song file 2 seconds in.
store.dispatch({
type: "SET_AUDIO_OFFSET",
payload: 2
});