Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to embed an mp4 file in a video and object element, however it's failing to play/register - I wasn't able to find any sort of plugin so far. It would be great if someone could recommend some Firefox 3.5/Ubuntu Jaunty compatible plugin.

share|improve this question
add comment

2 Answers

https://developer.mozilla.org/En/HTML/Element/Video says it only supports ogg theora so far. maybe an addon can do it, but i couldn't find any

share|improve this answer
    
Yeah, I researched that and came to the same conclusion. –  meder Nov 20 '09 at 0:42
add comment
up vote 2 down vote accepted

Ended up using jwplayer, all you do is basically reference a swf and pass any media file and it'll play it.

http://www.longtailvideo.com/players/jw-flv-player/

<script src="swfobject.js"></script>
<script type="text/javascript">
    var s1 = new SWFObject("mediaplayer.swf","single","1280","544","7");
    s1.addParam("allowfullscreen","true");
    s1.addVariable("file","file.mp4");
    s1.addVariable("stretching","exactfit");
    s1.addVariable("smoothing","false");
    s1.addVariable("wmode", "direct");
    s1.write("player1");
</script>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.