Skip to main content
Participant
July 16, 2008
Question

Flash player problem

  • July 16, 2008
  • 1 reply
  • 237 views
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
    This topic has been closed for replies.

    1 reply

    July 20, 2008
    I have never used JW_FLV_Media_Player; Still the point for you to recheck is the rtmp URL used.

    vodtest.html takes streamName & server URL in one single string.... and this addressing may not work with other custom players unless specified by them. Please check this with the support of video player you are using.