Video format dont work

  1. I added a video to my assets file.

  2. I used wget URL to get the video in my files and to use fs.readFileSync

But the file is not recognized as a video, indeed, when I open it (not in assets, because here it works) it does not work and shows me characters.

Am I doing something wrong ? Thanks for your help

1 Like

you mean when you click the resulting file in the editor? The editor doesn’t support opening video files, so it’ll probably try to show you the bytes of the file as text or something.

It should still work when you serve the file over the web. (unless the editor corrupted it somehow)

If you mean to edit the video, I think you’ll have to edit it offline and re-upload it.

3 Likes

(additional info: for bugs, contact support@glitch.com)

1 Like