react-jPlayer
react-jPlayer copied to clipboard
setPlayHead not working
When I call setPlayHead with percentage 0, I am expecting it to go back to the beginning. However nothing happens.
dispatch(actions.setPlayHead(id, 0));
When I call it with .1 it goes back to the beginning, but only one time. Additional dispatches do not set the playhead back to the beginning.
dispatch(actions.setPlayHead(id, .1));
In fact any value I try to set the play head too only works once.
dispatch(actions.setPlayHead(id, 50)); seeks to the middle of the track, but only the first time I dispatch it.
probably a bug