B4J Question Mediaplayer kill/remove

Tayfur

Well-Known Member
Licensed User
Longtime User
Hello;

I added video on panel like under below; But how can delete/kill/remove??? My

In my experiments, the image is deleted but the sound continues to play.

B4X:
Video.Initialize("Video",File.GetUri(Folder,FName))
MediaViewObj.InitializeNewInstance("javafx.scene.media.MediaView",Array As Object(Video))
Video.play
 

DonManfred

Expert
Licensed User
Longtime User
Start with stopping the mediaplayer before you remove it.

HOW are you removing the player?
 
Upvote 0
Top