I want to put the trailer for my game company at the beginning of my game, but I can't figure out how to play videos. What do I do?
Step 1 - Green: Add a new Video Object to the layout
Step 2 - Red: Upload your file (mp4 format with standard codec)
Step 3- Blue: Set the name to the name of the file you uploaded, for example fileName.mp4, it needs to have mp4 on the end
Make sure autoplay in properties is enabled
p.s. You can use the other 2 available video formats too, I just took an mp4 file as example. If you need to convert your file to one of the 3 formats, I recommend this site: online-convert.com
Thank you! It won't let me rename the file to .mp4 though, it says that the '.' is not a valid character.
Develop games in your browser. Powerful, performant & highly capable.
I tried to post in this forum but it seems it's not working.
My concern is closer to this topic.
Now how will you show a button after the video completes?
I hope you can help.
wozniax The video plugin has dedicated "Playback events" conditions one of which is "Ended".
Put your actions in such an event, and those actions should be executed once the video is done playing.
It works! thank you! :)