arielfaur / ionic-audio

An audio player for Ionic 3 and Angular 4. Works with HTML 5 audio or native audio using Cordova Media plugin.
http://arielfaur.github.io/ionic-audio/2.0/index.html
MIT License
320 stars 163 forks source link

Want to stop any audio properly #203

Open nurul1a opened 6 years ago

nurul1a commented 6 years ago

Similar to the second tab of the demo.

I can play any item using its index, like: this._audioProvider.play(index); now I want to stop any item by index. like:

this._audioProvider.stop(index); but its not working. The slider is not resetting, so, when I play again its continue from the last time.

or is there a way to reset all audio (reset, so when I play any file again, that play from the beginning of the file).