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
Hi @frideosapps thank's for this wonderful library, this is exactly what I was looking for. My use case is that I would like to sync audio and text (mostly), save the progress of the user, etc ... I think I can achieve that with the callbacks (onStart => play song, onPause => pause song, ... )
First, if I understand the docs correctly, I can only do play (startStages),rewind (resetStages), and skip next stage (getNextStage). It would be nice to have on the low level widget StagedObject a method like getPreviousStage and on an upper level have StagedWidget, have the corresponding utility methods and callbacks .
Second, for the features like (pause, onComplete, onDuration / onCurrentPosition, seek) I guess it will have some repercussions on StreamedObject and ValueBuilder to have more control over the stream.
What do you think ? I'm playing around your code right now to make a PR but for some reason I can't reset the player.
Hello @sachaarbonel, your requests are interesting, and I think I can take them into account for one of the next releases. Any PR is welcome and really appreciated. I've just fixed your code:
Hi @frideosapps thank's for this wonderful library, this is exactly what I was looking for. My use case is that I would like to sync audio and text (mostly), save the progress of the user, etc ... I think I can achieve that with the callbacks (onStart => play song, onPause => pause song, ... )
First, if I understand the docs correctly, I can only do play (startStages),rewind (resetStages), and skip next stage (
getNextStage
). It would be nice to have on the low level widget StagedObject a method likegetPreviousStage
and on an upper level have StagedWidget, have the corresponding utility methods and callbacks .Second, for the features like (pause, onComplete, onDuration / onCurrentPosition, seek) I guess it will have some repercussions on StreamedObject and ValueBuilder to have more control over the stream.
What do you think ? I'm playing around your code right now to make a PR but for some reason I can't reset the player.
Here is my raw code
The text was updated successfully, but these errors were encountered: