LWN.net Logo

Firefox to support Theora video

Firefox to support Theora video

Posted Aug 8, 2008 8:09 UTC (Fri) by ekj (guest, #1524)
In reply to: Firefox to support Theora video by jwb
Parent article: Firefox to support Theora video

img does too, with content-negotiation, which hardly anyone ever uses.
You can say img src="images/logo" and then tell Apache or IIS to do content-negotiation, that
is, send the format which the broweser prefers. (based on the ordering in the accept-header,
if I remember correctly)

So a browser that said Accept: image/svg, image/png, image/jpg, */* would get logo.svg (if
existing), whereas one without support for svg would get the png-one (if existing).

It's a real shame that neither this, nor language-negotiation is typically used for anything
at all. It's kinda neat.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds