[Noisebridge-discuss] Embedding ogg audio into a web page?

Colin Bayer vogon at icculus.org
Fri Oct 16 14:58:05 UTC 2009


Rubin Abdi wrote:
> I have a small project the requires an audio clip to be played in a 
> page. I would like to use ogg as my audio format. Is there any general 
> way of embedding ogg into a page for playback without the need of flash?
There's HTML 5 <audio>, but after the Ogg Theora debacle, the spec no 
longer specifies supported codecs, so probably Firefox, Opera, and 
Google Chrome will be the only browsers to support Ogg by default.  And 
MSIE won't support the tag at all yet (as far as I know) so there goes 
40% of the Internet.

Alternately, you could fall back on <embed> in HTML 4 and rely on the 
user to have an Ogg-playing plugin, which I think Xiph released at one 
point.

Wikipedia and a lot of other sites that currently do this use Cortado 
(http://www.flumotion.net/cortado/) but if you're looking to be free of 
both Flash and Java, I think you're out of luck.

I may be missing some more obscure solution.  I'm not really a web 
developer, I just play one on TV.  ;)

Colin



More information about the Noisebridge-discuss mailing list