Page 1 of 1

Problem with .mp4 files

PostPosted: 08. April 2019 00:29
by Apochedio
Good morning,

I have a problem with XAMPP displaying ".mp4" files.
The problem is that instead of having them displayed, it downloads them automatically. How can I make the ".mp4" files appear and not download?

Thank you very much

Re: Problem with .mp4 files

PostPosted: 09. April 2019 01:55
by Nobbie
Xampp neither displays .mp4 nor downloads .mp4 files, that is your browser who does so. Xampp, i.e. Apache is the server and applys the file to the browser. The browser decides about downloads or showing.

If you want an .mp4 file to be displayed by the browser, you should use the HTML5 "video" Tag for it, See for documentation