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.

Code: Copy
Video.Initialize("Video",File.GetUri(Folder,FName))
MediaViewObj.InitializeNewInstance("javafx.scene.media.MediaView",Array As Object(Video))
Video.play
 
Start with stopping the mediaplayer before you remove it.

HOW are you removing the player?
 
Upvote 0
Back
Top