Question
Flash player problem
Hi all,
I'm able to play a flv file using the sample player embedded in vodtest.html in the sample application folder.
However, I don't want the user to input the link manually. So I tried to use another player JW_FLV_Media_Player.
However, the flv file can't be played.
Here is the code to embedded the player in html:
<script type="text/javascript">
var so = new SWFObject('../flash/player.swf','mpl','480','360','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=rtmp://192.168.0.164/vod/sample.flv');
so.write('player');
</script>
Highly appreciate if anyone would help.
Thanks.
Stephen
I'm able to play a flv file using the sample player embedded in vodtest.html in the sample application folder.
However, I don't want the user to input the link manually. So I tried to use another player JW_FLV_Media_Player.
However, the flv file can't be played.
Here is the code to embedded the player in html:
<script type="text/javascript">
var so = new SWFObject('../flash/player.swf','mpl','480','360','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=rtmp://192.168.0.164/vod/sample.flv');
so.write('player');
</script>
Highly appreciate if anyone would help.
Thanks.
Stephen
