![](https://secure.gravatar.com/avatar/06aacb2f1dbed200347db0a003fc6179?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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?