Reputation: 15248
I am using the following non-controversial code
<video width="711" height="400" poster="so_low.jpg" controls preload>
<source src="so_low.m4v" type='video/mp4' />
<source src="so_low.ogv" type='video/ogg' />
Sorry, your browser has no video playback capabilities
</video>
The video loads in Firefox but there is no sound. The sound icon in the controls has a slash through it. Needless to say, the video with sound plays fine in VLC player on the desktop. The video quality is terrible compared to the MP4, but that is a different story.
Any idea why I don't get any sound?
Update: The actual page may be checked in both Safari and FF. Sound works in Safari (and the quality is much better as well), but FF is borked.
Upvotes: 1
Views: 1626
Reputation: 6729
Safari is playing the mp4 file. FF is trying to play the ogv. OGV file has flac audio codec, not vorbis. So you need to change your audio encoding to vorbis.
Upvotes: 2