ngx-audio-player icon indicating copy to clipboard operation
ngx-audio-player copied to clipboard

track ended event returns only an "ended" string

Open anshup7 opened this issue 3 years ago • 1 comments

It should send the reference to current sound controls object so that the sound can be stopped. In default settings the sound continues to play

anshup7 avatar Mar 02 '21 12:03 anshup7

You can try to remove the playlist when you receive the event. It is a work around and not a solution.

VasuInukollu avatar Mar 06 '21 06:03 VasuInukollu

Had the same issue, the workaround is to save the track array in a local variable when the function is called, set the the player track array loaded in the player to empty array and then load the local variable in the player track array.

Hope this helps :)

Example: let track_array = [...this.audioguide['track']]; this.audioguide['track'] = []; this.audioguide['track'] = [...track_array];

LucaDaniele99 avatar Aug 10 '23 07:08 LucaDaniele99

Fixed in v12.0.1

vmudigal avatar Sep 26 '23 23:09 vmudigal