The CNN.com video experience is optimized for Windows Media Player 9 or above. No Windows Media Player detected.
This is the message which greets Linux users who attempt to view CNN news streams. I guess optimized for is officially euphemistic technobabble for restricted to.
What’s next? Restrooms “optimized for customers only?”
Luckily, we can out-nerd these dopes:
- Install the GreaseMonkey extension for Firefox
- Grab the CNN Video Link script over at Userscripts.org
- Head back to CNN.com, and exercise your newfound right to “Save Link As…” the .ASX file
- Extract the
mms:link from the plain-text .ASX file and feed it to MPlayer - Enjoy!
Feel free to add the --dumpstream switch to archive the stream. Indeed, feel very free.

Have you seen the NEW flash-based frontend for videos on cnn.com ?
Now greasemonkey no longer works! Any ideas on how to contend with this new evil??
Mark
Mark,
I just took a look. I can play them, but not easily. It looks like, when they load the flash video player, they pass along an XML file that configures it. Here’s an example:
http://www.cnn.com/.element/img/1.3/swf/pipeline_mainpage/config.XML
This file, in turn, references other xml files for various categories of video. Here’s an example of that:
http://www.cnn.com/.element/ssi/auto/1.3/pipeline_mp/featured.videos.xml
These XML documents have <video> tags, which contain a “videoUrl”, which seems to always be a call to the cnnVideo() javascript function, which is defined here:
http://i.cnn.net/cnn/.element/ssi/js/1.3/main.js
The first argument to the cnnVideo() function call will be ‘play’. The second will look something like this:
‘/video/tech/2005/12/24/shannon.la.melon.mystery.affl’
If you trace through the cnnVideo() function, you’ll see that this eventually results in the following ASX URL:
http://www.cnn.com/video/tech/2005/12/24/shannon.la.melon.mystery.affl/video.ws.asx
Now we can just wget the ASX file, and grep it for a WMV stream. In this case, its here:
mms://wmscnn.stream.aol.com/cnn/tech/2005/12/24/shannon.la.melon.mystery.affl.ws.wmv
If you fire up mplayer on this URL, you’ll see a news story about melons.
Phew, that was a lot of work :)
I’ve no idea how hard it would be to write a greasemonkey script to automate this.
Actually, it’s probably a moot point: I don’t know squat about Flash, but I get the impression that it has recently acquired a fairly comprehensive cross-platform video capability. For example, Google video works great on Linux and everywhere else I’ve tried it.
What I’m saying is, it might be easier to just lie to cnn.com and tell them, “oh yes I’m running Windows”, because there’s a fair chance the flash video player would work just fine.
I believe there are Firefox plugins that allow it to masquerade as another browser. I’ll give this a try and post again if it works.
-Mark
I tried spoofing the user agent string, and it made no difference. :/
Hey Mark,
I tried your spoofing idea with Konqueror (kde 3.4.2 build) so that it said it was IE 6.0 on XP and it worked, so thanks :)
Better still when I clicked on the left of cnn’s main page I got to http://www.cnn.com/video/ I found links that could be deciphered by greasemonkey. Guess I jumped the gun and assumed I was locked out because of the flash stuff. Still I wrote cnn and expressed my displeasure… cnn isn’t exactly being Linux friendly here.
Just install the mplayerplug-in for Mozilla / Firefox: http://mplayerplug-in.sourceforge.net/ It should work with Flash just fine.
Fred,
I just tried this, and it doesn’t work for me. I used the mozilla-mplayer package from Debian (maybe it’s old, or not the same thing you’re suggesting?).
I still get the “optimized for Windows Media Player” message. I even spoofed my user-agent, but it didn’t seem to matter.
-Mark
Oddly enough, I’m having the same problem on my windows machine. I’m not sure why, and it works fine on another machine with the same extensions installed.
Tony,
it appears that cnn has optimized their video experience for nobody.
Note to all: In order to view CNN videos you need to download the following plug in for Fire Fox (Iceweasel)
https://addons.mozilla.org/en-US/firefox/addon/59
Then you need to select the option- Netscape 4.8 (Windows Vista). I hope this helps most of you out there! I am so glad that I can view CNN videos now!
~George