I am new to JavaFX and I would like to know if it is possible to simultaneously play a video and display an image above it in the same scene.
Particularly, I want the image to be displayed in a fixed position.
I have tried using a StackPane layout but I get an error in the following line:
because the mediaPlayer object cannot be taken as a parameter and a Node object is needed
I have also tried adding both the video and the image in the same scene as seen below with no success (the video is being played but the image is not displayed)
Is what I'm trying to do feasible? And if yes, what methods should I use?
Thank you in advance for any answer!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Play a video and display an image simultaneously