Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm embedding an ogg video in a webpage using the html5 video tag, but it plays without sound. The code I'm using is

<video width="320" height="240" controls="controls">  
    <source src="avideo.ogg" type="video/ogg" />  
    Your browser does not support the video tag.  
</video> 

I'm running Ubuntu 10.04 LTS and Firefox and my friend using Win7 and chrome has the same problem. What can I do about that?

share|improve this question

Which version of Firefox and Chrome? Can your friend test it with IE? Chances are the problem is either the ogg splitter or the sound decoder. I cant think of a linux app but in Windows 7 download GSpot and see what it says about the codecs used and whether it can render it using DirectX filters.

share|improve this answer
    
According to wikipedia IE doesn't support ogg at all. – Yitzchak Nov 2 '11 at 14:26
    
what about finding out which sound codec was used? Did you check out GSpot? – Marlon Nov 4 '11 at 0:16
    
Don't know what codec was used, but I redid it with libtheora – Yitzchak Nov 4 '11 at 2:53
    
so is it working now? – Marlon Nov 7 '11 at 15:51
    
Yes, it is. Thanks for asking. – Yitzchak Nov 9 '11 at 19:03
up vote 0 down vote accepted

Make sure that you are using the appropriate audio codec, libtheora.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .