We are using the default Red5 installation trunk version with JW player.

Just doing a test file to get player functioning properly.

Here is the code that works in an index.html file: 

<script type="text/javascript" src="/stream/swfobject.js"></script>

<div id="player">This text will be replaced</div>

<script type="text/javascript">
var so = new SWFObject('/stream/player.swf','mpl','470','290','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=domainnamecom/htdocs/stream/terminator.flv&streamer=rtmp://xxx.xxx.xxx.xxx:1935/oflaDemo');
so.write('player');
</script>


But we need it to work using the following code:

<script type="text/javascript" src="/stream/swfobject.js"></script>

<div id="player">This text will be replaced</div>

<script type="text/javascript">
var so = new SWFObject('/stream/player.swf','mpl','470','290','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=domainname.com/htdocs/stream/terminator.flv&streamer=rtmp://xxx.xxx.xxx.xxx:1935/oflaDemo');
so.write('player');
</script>

The only difference between the two is the period(.) in path domainname.com in 
the second example.

The .flv file is in both locations. 

Why won't it run with the period(.) in the path?

Any suggestions?
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to