Handle audioUrl change event
Gil-Epshtain opened this issue · 1 comments
Gil-Epshtain commented
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:
- 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). - 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 commented
+1