On Tue, 2004-09-28 at 21:38, JoeHill wrote:
> On Tue, 28 Sep 2004 21:31:48 +0200
> H.J.Bathoorn disseminated the following:
> 
> > I second that. Mileage varies on other players, mplayer always just works on 
> > all sorts of distro's and plays almost anything you throw at it.
> 
> I'd be waaaaay pleased if you or anyone could tell me why this isn't working:
> 
> http://www.comedycentral.com/tv_shows/thedailyshowwithjonstewart/

Yes I can.  You are running into the same problem I have been running
into, which is javascripts that shield the raw url from you.

What we need is a javascript plugin that will extract the raw links from
the embedded javascript.  Then you can play whatever you want to play;
mplayer is fully capable, as you already know; we just need the raw
links.

Perhaps some fiddling with file associations might work.  I use Opera
and have "Open Javascript console on error".  When I pick the "Face the
Nation" video I get:

----------------------------------------------------------------
Inline script thread
Error:
name: TypeError
message: Statement on line 47: Expression evaluated to null or undefined
and is not convertible to Object:
navigator.mimeTypes["application/x-mplayer2"]
Backtrace:
  Line 47 of linked script http://www.comedycentral.com/mp/detectWM.js
    var player =
navigator.mimeTypes["application/x-mplayer2"].enabledPlugin;
  Line 100 of linked script http://www.comedycentral.com/mp/detectWM.js
    var detectionResults = detectWMP();
  Line 3 of inline#1 script in
http://www.comedycentral.com/mp/play.php?player=realplayer&type=v&quality=high&reposid=/multimedia/tds/headlines/9035.html
    checkRedirect("error.php");

------------------------------------

So it looks like it's a realplayer stream.  The last line looks sort of
like a raw URL, but it isn't because native realplayer won't pull it up.

We need a way to extract raw urls from javascript.

LX


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to