Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2007 12:27:09 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        Gary Kline <kline@tao.thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Why Standalone??
Message-ID:  <20071015122709.5a24a853@meijome.net>
In-Reply-To: <20071014222655.GA46269@thought.org>
References:  <20071014222655.GA46269@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Oct 2007 15:26:55 -0700
Gary Kline <kline@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?

hi Gary,
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
    mplayerplug-in 3.45

    Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
    JavaScript Enabled and Using GTK2 Widgets

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.

B
_________________________
{Beto|Norberto|Numard} Meijome

"Time exists so everything doesn't happen at once"
   Albert Einstein

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071015122709.5a24a853>