
Streaming to Red5 RTMP embed problem
Hi there, I just recently installed the Red5 RTMP server and was trying to setup JW Player to broadcast and publish. I'm using the following code from the documentation file:
<div id='container'>The player will be placed here</div>
<script type="text/javascript">
var flashvars = {
file:'livepresentation',
streamer:'rtmp://oenza.com/oflaDemo/'
};
swfobject.embedSWF('player.swf','container','480','270','9.0.115','false', flashvars,
{allowfullscreen:'true',allowscriptaccess:'always'},
{id:'jwplayer',name:'jwplayer'}
);
</script>
but when I try to view the page at http://oenza.com/jwplayer all I get is "The player will be placed here". Any idea what I'm doing wrong?