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 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
add comment

2 Answers

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
add comment
up vote 0 down vote accepted

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

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.