[plug] 94.5/92.9 online radio

Craig Ringer craig at postnewspapers.com.au
Thu Nov 25 14:10:00 WST 2004


garry wrote:

> Has anyone seen this method before? Can mplayer/realplayer/xmms play this somehow?

Reading that, it looks like it's showing you a pop-up containing this:

http://203.41.81.190/ad.php?rsid=19128

That pop-up contains a huge amount of somewhat user-hostile JavaScript 
to lock down what you can do with the window. Understandable, if they're 
advertising-supported, but not overly nice.

It also contains the code:

       <object width="800" height="620"
               classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
               id="Player">
             <param name="Filename"
               value="media/945fmperth/ads/LG-02.wmv">
             <param name="AutoStart" value="true">
             <param name="ShowControls" value="False">

             <param name="ShowStatusBar" value="True">
             <param name="ShowDisplay" value="False">
             <param name="SendKeyboardEvents" value="False">
             <param name="EnableContextMenu" value="False">
             <param name="EnablePositionControls" value="False">
         </object>

which you can probably figure out quite fine.

You will not be able to aim a media player at the pages from this 
service to play them. You may well, however, be able to play them by 
reading the page and extracting the filename, then aiming MPlayer or 
XMMS at that. Probably MPlayer, given that it's WMV.

The MPlayer plug-in for Firefox may well "just work" with this page, 
though, so try that first.

Otherwise making it easy to play probably involves writing a script to 
snarf the URL and send it to your player.

--
Craig Ringer



More information about the plug mailing list