Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a callback when dragging the waveform while player is stopped #342

Open
novas1r1 opened this issue Sep 20, 2024 · 2 comments
Open

Need a callback when dragging the waveform while player is stopped #342

novas1r1 opened this issue Sep 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@novas1r1
Copy link

Hey,
first of all thank you very much for this package and the work you put in :)!

Is your feature request related to a problem? Please describe.
I added an audio player which plays a local mp3 file. I'm visualizing the waveforms and when I'm playing the audio file and dragging it to another position, the player jumps correctly and continues playing from this position. But when I stop the player, drag to a position and start the player again, it does not continue playing from the position where I dragged it but from where it was first stopped.

Describe the solution you'd like
This could be solved by having a callback when dragging the waveform so I could just use the seek for the player and set it to the according position.

Describe alternatives you've considered
Alternatively it could set the player position within the package automatically when the waveform is dragged to a specific position.

Additional context
Maybe this is already possible somehow, but I checked documentation and issues and couldnt find anything.

Thanks a lot :)!

@novas1r1 novas1r1 added the enhancement New feature or request label Sep 20, 2024
@ujas-m-simformsolutions
Copy link
Collaborator

Hey @novas1r1 thank you for creating this issue, we currently does not have this feature but we have PR which could fix this. We will merge it as soon as possible. Thank you for your patience.

@robert1979
Copy link

looking forward to this fix.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants