freebsd at meijome.net
Sun Oct 14 19:27:15 PDT 2007
On Sun, 14 Oct 2007 15:26:55 -0700
Gary Kline <kline at tao.thought.org> wrote:
> Can any of you explain why (with firefox) whenever I click to
> listen to a stream, the website cannot tell that I have
> realplayer (or mplayer) installed? And why it sometimes
> [hopefully] asks if I want to use a "Standalone" player?
Firefox uses the mime type returned by the server to determine the content type, and how to handle it.
When you install a plugin or an extension, they usually update firefox's configuration to tell it how to handle the media type it (the plugin / extension) is designed to handle.
eg, from about:plugins :
DivX Browser Plug-In
File name: mplayerplug-in-dvx.so
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
MIME Type Description Suffixes Enabled
video/divx DivX Media Format divx Yes
video/vnd.divx DivX Media Format divx Yes
When a server sends something marked with a mime type of video/divx, the mplayerplug-in-dvx.so is used.
If you are browsing to a new media type that hasn't been handled before, firefox will usually ask you what to do with it (open with... ,save to disk..,etc). These options are sometimes saved. to change them, Edit, Preferences, Content, File types.
Many music streams are notorious for not sending correct media type... if it doesnt work, i just copy the url into VLC or XMMS or mplayer and use it from there... that *always* works.
"Time exists so everything doesn't happen at once"
I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.
More information about the freebsd-questions