I am trying to get the mediaplayer object to cooperate but I am not having much luck. When a user plays an audio file I need to close my little media panel when it finishes. The problem is it doesn't seem to ever trigger the PlaybackComplete event.
aud is dimmed as the mediaplayer object. The audpan is not closed (sent to back, removed, made invisible, etc) after the audio is played. Is this a bug or is there something I need to do?
I am using b4a 3.20.
--- Jem
B4X:
Sub aud_PlaybackComplete
audpan.SendToBack
isplaying = False
End Sub
aud is dimmed as the mediaplayer object. The audpan is not closed (sent to back, removed, made invisible, etc) after the audio is played. Is this a bug or is there something I need to do?
I am using b4a 3.20.
--- Jem