i’m having problem with exoplayer completed block.
When a audio reach end, if i change the source for that exoplayer it start the audio from the new source.
I’ve tried to put a Stop when audio completed, but the state of the player when ir reach the end is’nt playing o stoped.
I’ve tried use tainful player, but when it complete the audio it start again for less than 1 second.
Yes, this is a bug. As soon as the ExoPlayer has been started once and the source is changed after the player has been finished, the player starts again even though ExoPlayer.IsPlaying = false is displayed. And this regardless of whether the source is set in the ExoPlayer.Completed event or using a timer or manually.
→ @Kodular
That is also true. You have to fade-out the TaifunPlayer at the end to avoid that or use the Player component. Incidentally, the problem in the end does not arise when looping (except for a few special China device models). For more details on this topic, search the forum and you will find my statements on it.