If you click on the left icon where the extension is specified, the video plays. If you click on the right icon sans extension, but where "type" is specified, it downloads the video because the content-type is not known. How do I tell Apache, to deliver the appropriate content-type of "video/mp4" in this particular example? (I get the same behavior with XAMPP on my desktop, but my hosting site runs Apache under linux.)
Here is the code:
- Code: Select all
<html>
<body>
<a href="./media/2.mp4"><img src="./media/2_thumb.jpg"/></a>
<a href="./media/2" type="video/mp4"><img src="./media/2_thumb.jpg"/></a>
</body>
</html>
Thanks
Dan