- Home /
Question by
emilibroooo · Apr 25, 2019 at 08:45 PM ·
video streaminghtml5videosserver-hosting
How to play a video (.mp4) in a game build for html5
So I'm trying to play a video on a raw image as a background for a game over screen when the player isn't successful. I've read through this forum, but I have never worked with uploading videos to a server. I was wondering if someone could point me the right direction to go about this.
Right now I have the video in a folder called streaming assets and access the path through a script. The video plays fine in the editor, but it doesn't work in the html5 build.
Thanks for any help.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612200224im_/https://answers.unity.com/themes/thub/images/avi.jpg)