Insert HTML Video

2

I'm trying to insert a video into a page that uses html and php.

I tried to use this tag <video src="video.mp4"></video> I also tried as <video><source="video.mp4" type="video/mp4"></video> when I open the page in my browser, it works, but when I open it through the site it is inserted, the message Video Format or MIME type not supported.

I've already tried converting the video to "Webm", but it continues the same message.

The browser is Firefox.

    
asked by anonymous 04.08.2017 / 20:13

1 answer

5

You are probably uploading the video via FTP and you may be uploading as ASCII, so you do not lose data upload as binary, for example in Filezilla go to:

Transfer > Transfer type > and switch Auto with Binary

As in the image:

Then upload again.

    
04.08.2017 / 20:23