How to play from REST stream
Hi all, i deploy Subsonic as a streaming server. I'm using URL: http://localhost:4040/rest/stream.view?id=a.avi&u=admin&p=admin&v=1.1.0&c=myapp to stream file a.avi . In the client, i use jw player to play, but it not working.
I was trying a lot of solutions and below is the latest:
Anyone can help me??
Thanks all.
I was trying a lot of solutions and below is the latest:
- Code: Select all
<div class="player2 txtCenter">
<object id="flvPlayer" name="flvPlayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="653" height="401">
<param name="movie" value="player.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="flashvars" value="file=http://localhost:4040/rest/stream.view?id=a.avi&u=admin&p=admin&v=1.1.0&c=myapp">
<embed id="flvPlayer" name="flvPlayer" wmode="transparent" width="653" height="401" allowscriptaccess="always" allowfullscreen="true" src="player.swf" flashvars="file=http://localhost:4040/rest/stream.view?id=a.avi&u=admin&p=admin&v=1.1.0&c=myapp">
</object> </div>
Anyone can help me??
Thanks all.