<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Random Musings of an Insane Mind &#187; flash</title>
	<atom:link href="http://cd34.com/blog/tag/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://cd34.com/blog</link>
	<description>This is my blog, there are many others like it but this one is mine.</description>
	<lastBuildDate>Tue, 29 Jun 2010 04:22:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>flowplayer.org and red5</title>
		<link>http://cd34.com/blog/webserver/flowplayer-org-and-red5/</link>
		<comments>http://cd34.com/blog/webserver/flowplayer-org-and-red5/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 20:34:52 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Webserver Software]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flowplayer]]></category>
		<category><![CDATA[red5]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=667</guid>
		<description><![CDATA[Dozens of posts on the net reference using red5 with flowplayer for rtmp streaming, but, none give you precisely the code required. &#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> &#60;script src="flowplayer-3.1.1.min.js"> &#60;style> a.rtmp { display:block; width:640px; height:360px; margin:25px 0; text-align:center; } a.rtmp img { border:0px; margin-top:140px; } &#60;/style> &#60;a class="rtmp" href="#"> &#60;img src="http://static.flowplayer.org/img/player/btn/showme.png" /> [...]]]></description>
			<content:encoded><![CDATA[<p>Dozens of posts on the net reference using red5 with flowplayer for rtmp streaming, but, none give you precisely the code required.</p>
<pre>
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

&lt;script src="flowplayer-3.1.1.min.js"></script>	

&lt;style>
a.rtmp {
	display:block;
	width:640px;
	height:360px;
	margin:25px 0;
	text-align:center;
}

a.rtmp img {
	border:0px;
	margin-top:140px;
}
&lt;/style>

&lt;a class="rtmp" href="#">
&lt;img src="http://static.flowplayer.org/img/player/btn/showme.png"  />
&lt;/a>

&lt;script type="text/javascript">

$f("a.rtmp", "flowplayer-3.1.1.swf", { 

	clip: {
		provider: 'rtmp',
// name of the .flv from /webapps/oflaDemo/streams without the .flv
                url: 'IronMan'
	}, 

	plugins: {
	  rtmp: {
		url: '/fprt/flowplayer.rtmp-3.1.0.swf',
		netConnectionUrl: 'rtmp://hostname/oflaDemo'
	  }
	}
});
&lt;/script>
</pre>
<p>Make sure you have the following files:</p>
<p>* flowplayer-3.1.1.swf<br />
* flowplayer.controls-3.1.1.swf<br />
* flowplayer.rtmp-3.1.0.swf</p>
<p>If you receive the error:</p>
<p>300: Player Initialization Failed: TypeError: Error #1009</p>
<p>Then you are missing flowplayer.controls-3.1.1.swf from your directory.</p>
<p>In the javascript, </p>
<blockquote><p>netConnectionUrl: &#8216;rtmp://hostname/oflaDemo&#8217;</p></blockquote>
<p>needs to be set the hostname of your red5 server.</p>
<blockquote><p>url: &#8216;IronMan&#8217;</p></blockquote>
<p>needs to be set to the name of the .flv in the webapps/oflaDemo/streams directory without the .flv extension</p>
<pre>
/usr/lib/red5/webapps/oflaDemo/streams# ls -1 *.flv
DarkKnight.flv
IronMan.flv
on2_flash8_w_audio.flv
test.flv
</pre>
]]></content:encoded>
			<wfw:commentRss>http://cd34.com/blog/webserver/flowplayer-org-and-red5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
