How to play an mp4 cinematic?

Hello everyone

I made a mp4 video and I want it to be played when the player finish the game.
How do you think I could make it?


Hello and welcome!

if(game is finished) {

In practice, to play video in Babylon world one may use videoTexture - Video As A Texture | Babylon.js Documentation
Another option is just to use HTML <video> element and display it as you need.


Thank you

1 Like