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

Handle audioUrl change event #75

Open
Gil-Epshtain opened this issue Jul 20, 2020 · 1 comment
Open

Handle audioUrl change event #75

Gil-Epshtain opened this issue Jul 20, 2020 · 1 comment

Comments

@Gil-Epshtain
Copy link

I have an Angular component with the player in it. I pass to it - via the audioUrl attribute - a value.
Then on some user input I change the audioUrl to a different value.

If this happens while the player is playing the playback then:

  1. The timeline will not reset - it shows the previuse timeline value (I found a work around, by setting the startOffset value to 0 each time the playback is changed).
  2. The play/pause button is stack on pause (as if the player in play state) although the player is in pause state - The button should be "play"

Could you please provide a way to handle change events on the audioUrl. Or maybe allow the developer the control the play/puase state via the TS code.

@alphagamer7
Copy link

+1

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

No branches or pull requests

2 participants