Log in

View Full Version : Use MPC instead of DivX Web Player for embedded objects?


aLu
10th October 2007, 19:01
I use Firefox 2.x and already have MediaPlayer Classic/RealAlternative installed as a plugin for Real Media. Now I've come across some ".divx" streaming content embedded in a website, like this:

<object classid=”clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616″
width=”320″ height=”260″
codebase=”http://go.divx.com/plugin/DivXBrowserPlugin.cab”>
<param name=”src” value=”movie.divx” />
<embed type=”video/divx” width=”320″ height=”260″ src=”movie.divx”
pluginspage=”http://go.divx.com/plugin/download/”>
</embed>
</object>

Since MPC can handle streaming (Real Media) and ".divx" (as plain AVI) it's worth a try. But registering the content with Firefox requires some fiddling with config files I'm not too familiar with, since these options cannot be changed through the GUI.

There is a plugin called "MediaPlayarConnectivity" (https://addons.mozilla.org/en-US/firefox/addon/446) that simply launches an external player. I'm going to try that first.

... seems MPC can't handle the file. :-(

clsid
10th October 2007, 21:12
MPC can not be used for playing embedded objects within the browser. Only browser plugins can be used within the browser.

Schrade
10th October 2007, 21:32
You could try changing what handles that mimetype in Firefox. You could then use DownloadWith to hand off that file to Media Player Classic to stream it. I'm not sure that the .divx container can be streamed with MPC though.

Of course, like clsid said, MPC is not a browser plugin so can't really play embedded.

LoRd_MuldeR
10th October 2007, 21:59
You can simply grab the actual Movie URL form the HTML Source code and open it with your favorite player.

For example, try to open this with MPlayer:
http://video.stage6.com/1631666/.divx

(in SMPlayer use "Open" -> "URL" and paste the URL)

Schrade
10th October 2007, 22:12
That involves looking at the source code though. We're talking about doing it automatically, and DownloadWith should be able to handle that.

Woo. Just tested it. MPC can indeed stream the .divx files. So it's just a matter of setting up DownloadWith to handle .divx files.

You can get DownloadWith here: http://forum.addonsmirror.net/index.php?showtopic=5776

In the DownloadWith options you create a new Application and set it up like so:

Identification: mplayerc
Label: Media Player Classic
Command: (Browse to your mplayerc.exe file)
Arguments: [URL]
http://i22.tinypic.com/34fmqth.png

Now, when you come across a site with an embedded divx video and you don't want it playing in the DivX Web Player, just click on the download arrow in the DivX Web Player plugin and you should get the Firefox Download Requester and in there, just select Download With... and then choose Media Player Classic like so:

http://i20.tinypic.com/2h4hzes.png

You can also set DownloadWith to automatically do this when you click on a .divx file directly by configuring the Automatic download section to handle .divx files like so:

http://i21.tinypic.com/wain80.png