Adding video before running HTML5 [SOLVED]

I need my HTML5 game to play a short MP4 video before launching the game proper. I’m looking at making a custom engine_template.html file, playing the video from in there and adding a delay before executing the game. Is this fine or is there a better way?

Thanks

1 Like

A more “Defold” option would be to play the video at runtime:

You could maybe use live update to show a progress bar if the video is chunky.

1 Like

Thanks, that’s exactly what I needed! Somehow I missed it when I looked through the asset portal.

EDIT: I previously discounted this extension for my web game because it’s described on the asset portal as being for iOS and Android only. It does now support HTML5 and Windows also. Maybe someone can update the entry? @AGulev @Pawel

4 Likes

Updated, thanks for reporting! :wink:

3 Likes