View Full Version : Resolved Need videohelp

02-17-2013, 02:32 PM
Hi, there.

I'm making a website for my local theater, and they want to have a video of some activity on the theater.
I've converted the video so I have: mp4, Webm and swf on the server.

I've used this:

<video width="600" height="400" controls>
<source src="/video/oj_stav.mp4" type="video/mp4">
<source src="/video/oj_stav.webm" type="video/webm">
<object data="/video/oj_stav.mp4" width="600" height="400">
<embed src="/video/oj_stav.swf" width="600" height="400">

But in Firefox it says:
No video with supported format and MIME type found

How come it doesn't work?
I've read, that Firefox should be able to show mp4....

Can you please help?

02-17-2013, 03:18 PM
It does not look like Firefox supports the MP4 format.

Some info



Perhaps a solution?


Good Luck.

02-17-2013, 07:31 PM
Thanks :)
I have the Webm file... but it doesn't show...

The last link - about the solution.. there's something I don't understand.
Maybe someone can help?

I needed to configure my server to deliver html5 formats. This requires a .htaccess file. You can put it in any directory and it will not effect directories above, just within that folder or below. It is simple a txt file that has code like this:

AddType video/mp4 mp4 m4v
AddType audio/mp4 m4a
AddType video/ogg ogv
AddType audio/ogg ogg oga
AddType video/webm webm

Make sure that when it is uploaded, it is renamed to not include the .txt. The file name should be .htaccess Let me know if you have questions with this. I have been pulling my hair out over this for weeks and am so happy to finally have it playing on Firefox. Hope this helps....

What is .htaccess?
Is it just a text file?
How do one incorporate this to a page?
Must I link to it?


02-17-2013, 08:21 PM
Info on .htaccess http://www.javascriptkit.com/howto/htaccess.shtml

02-17-2013, 10:11 PM
Thank you SO much!!!

02-04-2019, 03:14 PM
HTML5 supports several media elements. The <video> and <audio> elements may be used singly or combined with the <source> element. A short example illustrates. Although the <video> and <audio> elements both contain src attributes, this sample uses the <source> element to offer video files in multiple formats, allowing each browser to select an element that it supports.