You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use a dispatch from the View to the redux to update the player timeline. It uses the state property currentTime.
We also use the same property to update from the reducer the currentTime (to be played).
Ie, when we skip track or when we want to play a specific cue point in a track.
We need to separate the two behavior, and try to avoid loops while doing that.
Ideally:
the audio tag in the view update the currentTime sending a message to the reducer.
the reducer update the startingTime in the state. The player picks up the change and sequentialy the currentTime is going to be dispatched. Probably we'll need to handle this in a componentReceivedProperty method. Unfortunately we will need to invalidate the startingTime when such behaviour is not requested.
The text was updated successfully, but these errors were encountered:
We use a dispatch from the View to the redux to update the player timeline. It uses the state property currentTime.
We also use the same property to update from the reducer the currentTime (to be played).
Ie, when we skip track or when we want to play a specific cue point in a track.
We need to separate the two behavior, and try to avoid loops while doing that.
Ideally:
The text was updated successfully, but these errors were encountered: