Is there any way to upload an mp4

any way of uploading an mp4 file into the htdocs folder cuz i need the mp4 for the background but it just simple deletes itself

Please read the following article.

But video files aren’t supposed to be stored on your hosting account anyways. Instead, you should upload them somewhere else (such as YouTube) and embed them on your web page(s).

8 Likes

You can also upload your videos to github and embed them into your infinityfree website

I just made this page on my site to test it
https://zoltar.eu.org/code/video-github/video-github.html

<video width="640" height="480" controls><source src="https://github.com/LoveBug2084/test/raw/refs/heads/main/arnold.mp4" type="video/mp4"></video>

I uploaded the video to my github repository here
https://github.com/LoveBug2084/test/

And then clicked on it to get a page with a link that says view raw
Then copy that view raw link and use it as the hotlink in your website video player

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.