Playing video?
Monkey Forums/Monkey Programming/Playing video?
| ||
Is there some way to play a video (and draw on top of it) in monkey? Mainly needed for HTML5 and GLFW target. |
| ||
Maybe in HTML5 you could use javascript to hide the canvas and show a <VIDEO> tag with the same dimensions as the canvas. I have no clue how to do it on GLFW. Playing videos on Windows + OpenGL was always a big messy thing :P |
| ||
It is 100% for sure possible on both but both would require some native extern code to make happen. I would use webm for both. What kind of video are you wanting to play? If it's some kind of animation you might be better off using spine/dragonbones to animate the scene and then play that in game with the monkey runtime for it. |
| ||
I want to show a normal video, no animation. I also don't know what webm is, nor spine/dragonbones. Just need a simple solution for playing videos in monkey, same way as I can play music or audio files. There must be something ... |