when i click on next link to play video how to end 1st one process and start of new one because second time while playing video im getting black screen
basically my question is How to change media in mediaPLayer Javafx list full of urls which can be played in EmbbededMediaPlayerComponent . The first url you choose works just fine and is displayed in the player. The thing is, after I choose another url I want the first one to be replaced with the second one. What is the correct way to dispose the first media and then play the second one?
Don't play dumb with me! But you can try this tiny ad: