<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: CNN Videos on Linux</title>
	<atom:link href="http://mark.santaniello.com/archives/121/feed" rel="self" type="application/rss+xml" />
	<link>http://mark.santaniello.com/archives/121</link>
	<description>the body of a very slow loop</description>
	<pubDate>Wed, 08 Oct 2008 05:46:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: George</title>
		<link>http://mark.santaniello.com/archives/121#comment-42126</link>
		<dc:creator>George</dc:creator>
		<pubDate>Wed, 14 May 2008 05:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://mark.santaniello.net/?p=121#comment-42126</guid>
		<description>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</description>
		<content:encoded><![CDATA[<p>Note to all:  In order to view CNN videos you need to download the following plug in for Fire Fox (Iceweasel)  </p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/59" rel="nofollow">https://addons.mozilla.org/en-US/firefox/addon/59</a></p>
<p>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!  </p>
<p>~George</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://mark.santaniello.com/archives/121#comment-4507</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 11 Sep 2006 15:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://mark.santaniello.net/?p=121#comment-4507</guid>
		<description>Tony,

it appears that cnn has optimized their video experience for nobody.</description>
		<content:encoded><![CDATA[<p>Tony,</p>
<p>it appears that cnn has optimized their video experience for nobody.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://mark.santaniello.com/archives/121#comment-3288</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Thu, 01 Jun 2006 19:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://mark.santaniello.net/?p=121#comment-3288</guid>
		<description>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.</description>
		<content:encoded><![CDATA[<p>Oddly enough, I&#8217;m having the same problem on my windows machine.  I&#8217;m not sure why, and it works fine on another machine with the same extensions installed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://mark.santaniello.com/archives/121#comment-3272</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 31 May 2006 14:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://mark.santaniello.net/?p=121#comment-3272</guid>
		<description>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</description>
		<content:encoded><![CDATA[<p>Fred,</p>
<p>I just tried this, and it doesn&#8217;t work for me.  I used the mozilla-mplayer package from Debian (maybe it&#8217;s old, or not the same thing you&#8217;re suggesting?).</p>
<p>I still get the &#8220;optimized for Windows Media Player&#8221; message.  I even spoofed my user-agent, but it didn&#8217;t seem to matter.</p>
<p>-Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://mark.santaniello.com/archives/121#comment-3269</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Wed, 31 May 2006 13:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://mark.santaniello.net/?p=121#comment-3269</guid>
		<description>Just install the mplayerplug-in for Mozilla / Firefox: http://mplayerplug-in.sourceforge.net/  It should work with Flash just fine.</description>
		<content:encoded><![CDATA[<p>Just install the mplayerplug-in for Mozilla / Firefox: <a href="http://mplayerplug-in.sourceforge.net/" rel="nofollow">http://mplayerplug-in.sourceforge.net/</a>  It should work with Flash just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Longridge</title>
		<link>http://mark.santaniello.com/archives/121#comment-1068</link>
		<dc:creator>Mark Longridge</dc:creator>
		<pubDate>Sun, 25 Dec 2005 00:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://mark.santaniello.net/?p=121#comment-1068</guid>
		<description>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.</description>
		<content:encoded><![CDATA[<p>Hey Mark,</p>
<p>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 :)</p>
<p>Better still when I clicked on the left of cnn&#8217;s main page I got to <a href="http://www.cnn.com/video/" rel="nofollow">http://www.cnn.com/video/</a> 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&#8230; cnn isn&#8217;t exactly being Linux friendly here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://mark.santaniello.com/archives/121#comment-1062</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sat, 24 Dec 2005 21:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://mark.santaniello.net/?p=121#comment-1062</guid>
		<description>I tried spoofing the user agent string, and it made no difference. :/</description>
		<content:encoded><![CDATA[<p>I tried spoofing the user agent string, and it made no difference. :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://mark.santaniello.com/archives/121#comment-1059</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sat, 24 Dec 2005 21:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://mark.santaniello.net/?p=121#comment-1059</guid>
		<description>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 &#60;video&#62; 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</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>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&#8217;s an example:<br />
<a href="http://www.cnn.com/.element/img/1.3/swf/pipeline_mainpage/config.XML" rel="nofollow">http://www.cnn.com/.element/img/1.3/swf/pipeline_mainpage/config.XML</a></p>
<p>This file, in turn, references other xml files for various categories of video.  Here&#8217;s an example of that:<br />
<a href="http://www.cnn.com/.element/ssi/auto/1.3/pipeline_mp/featured.videos.xml" rel="nofollow">http://www.cnn.com/.element/ssi/auto/1.3/pipeline_mp/featured.videos.xml</a></p>
<p>These XML documents have &lt;video&gt; tags, which contain a &#8220;videoUrl&#8221;, which seems to always be a call to the cnnVideo() javascript function, which is defined here:<br />
<a href="http://i.cnn.net/cnn/.element/ssi/js/1.3/main.js" rel="nofollow">http://i.cnn.net/cnn/.element/ssi/js/1.3/main.js</a></p>
<p>The first argument to the cnnVideo() function call will be &#8216;play&#8217;.  The second will look something like this:<br />
&#8216;/video/tech/2005/12/24/shannon.la.melon.mystery.affl&#8217;</p>
<p>If you trace through the cnnVideo() function, you&#8217;ll see that this eventually results in the following ASX URL:<br />
<a href="http://www.cnn.com/video/tech/2005/12/24/shannon.la.melon.mystery.affl/video.ws.asx" rel="nofollow">http://www.cnn.com/video/tech/2005/12/24/shannon.la.melon.mystery.affl/video.ws.asx</a></p>
<p>Now we can just wget the ASX file, and grep it for a WMV stream.  In this case, its here:</p>
<p>mms://wmscnn.stream.aol.com/cnn/tech/2005/12/24/shannon.la.melon.mystery.affl.ws.wmv   </p>
<p>If you fire up mplayer on this URL, you&#8217;ll see a news story about melons. </p>
<p>Phew, that was a lot of work :)</p>
<p>I&#8217;ve no idea how hard it would be to write a greasemonkey script to automate this.</p>
<p>Actually, it&#8217;s probably a moot point: I don&#8217;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&#8217;ve tried it. </p>
<p>What I&#8217;m saying is, it might be easier to just lie to cnn.com and tell them, &#8220;oh yes I&#8217;m running Windows&#8221;, because there&#8217;s a fair chance the flash video player would work just fine.</p>
<p>I believe there are Firefox plugins that allow it to masquerade as another browser.  I&#8217;ll give this a try and post again if it works.</p>
<p>-Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Longridge</title>
		<link>http://mark.santaniello.com/archives/121#comment-1058</link>
		<dc:creator>Mark Longridge</dc:creator>
		<pubDate>Sat, 24 Dec 2005 15:18:23 +0000</pubDate>
		<guid isPermaLink="false">http://mark.santaniello.net/?p=121#comment-1058</guid>
		<description>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</description>
		<content:encoded><![CDATA[<p>Have you seen the NEW flash-based frontend for videos on cnn.com ?<br />
Now greasemonkey no longer works! Any ideas on how to contend with this new evil??</p>
<p>Mark</p>
]]></content:encoded>
	</item>
</channel>
</rss>
