Wowza Community

Using JW Player 5.x with Wowza Server

Hi

I wonder how to configure the JW player to automatically start a live stream when I start to stream to the wowza server?

If setting the player to autostart and the stream is there, it will start playing with no problems. But if i stop the stream, and then restart it, i would like the player to automatically start the stream again. Is this possible? Not to have to click the play button again?

I have created a playlist, but maybe that is not what is supposed to be used?

also when i dont send a stream, it does present the image that i have, but if the stream isnt present when you first load the webpage, it types “stream not found: live.sdp” and i would prefer if it just showed the picture and not the “error”

im posting my config here (running on an EC2 account om amazon)

index.html file:

This text will be replaced

and playlist.xml:

<?xml version="1.0" encoding="UTF-8"?> Example XSPF playlist for the JW Player

http://developer.longtailvideo.com/trac

Live Stream

trav

Arvika

View the live stream

bild.jpg

live.sdp

rtmp://x.x.x.x:1935/live rtmp

I would be most grateful for any help here!

Best Regards

Perra

ok, thank you, i have also posted this question on the JW player forum now, maybe someone sees it there…

I thought this might be a common thing , but i guess it wasnt as easy as i would have thought …

I guess its possible as other services like ustream do start to play the stream when you feed it with something… but that might be up to the player…

thanks for the fast reply!

Best Regards

Perra

How can i show an image that is in the Wowza content folder on the JW Flash Player?

Hi Richard,

Thanks for the reply. I looked at that, but i was wondering if there is any way to show it from the Wowza server. Like we show video files. Any ideas on how to do this?

Thanks!

Just started playing with the developer edition and I’m having some problems. I did some searching around the forums but couldn’t find a resolution to the issue.

I’m starting off real simple so I can get a grasp and move forward with other objectives. Right now, just trying to get the Extremists.flv to play in the browser with JW Player 5.2.

As of now, I’m only able to get the player up and it acts as if it is loading. Doesn’t play anything. I don’t see anything in the logs either.

I’m confident the server itself is setup properly as I’m able to view it when I follow the SimpleVideoStreaming tutorial.

Maybe I just overlooked something…

<!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->
	
	<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="400" height="315">
		<param name="movie" value="player.swf" />
		<param name="allowfullscreen" value="true" />
		<param name="allowscriptaccess" value="always" />
		<param name="flashvars" value="provider=rtmp&streamer=rtmp://127.0.0.1:1935/vod&file=Extremists" />
		<embed
			type="application/x-shockwave-flash"
			id="player2"
			name="player2"
			src="player.swf" 
			width="400" 
			height="315"
			allowscriptaccess="always" 
			allowfullscreen="true"
			flashvars="provider=rtmp&streamer=rtmp://127.0.0.1:1935/vod&file=Extremists"
		/>
	</object>
	
	<!-- END OF THE PLAYER EMBEDDING -->

Richard,

Figured out the issue - didn’t have the player.swf in my trusted swf files. That would do it! Don’t know how I missed that.

I think this guide should make it very, very clear that JWPlayer is not free for commercial use, whereas flowplayer is. It’s very relevant I would imagine to quite a few wowza users.

You can’t say RTFM about the licencing then have a guide for the configuration, thats a bit harsh. All it takes is one line in the tutorial (maybe all tutorials then) to say "if you are a commercial entity please check the licence for this player).

Hi Richard,

I’m having trouble with geting JW Player to work.

I did all there is to be done, i followed every tutorial and every sugestion of yours for “flashvars” but I can’t get it working.

I have WMS 2.1.2 on Fedora and when I check http://[wowza-server]:1935/ i have a working display messeage of WMS

I’ve been trying with JW 4.6 and JW 5.2 and there is no video.

All i want to do is play VOD from [install-dir]/WowzaMediaServer/contents

This is my code for JW Player

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="400" height="315">
		<param name="movie" value="player.swf" />
		<param name="allowfullscreen" value="true" />
		<param name="allowscriptaccess" value="always" />
		<param name="flashvars" value="provider=rtmp&streamer=rtmp://localhost/vod&file=Extremists.m4v" />
		<embed
			type="application/x-shockwave-flash"
			id="player2"
			name="player2"
			src="player.swf" 
			width="400" 
			height="315"
			allowscriptaccess="always" 
			allowfullscreen="true"
			flashvars="provider=rtmp&streamer=rtmp://localhost/vod&file=Extremists.m4v" 
		/>
	</object>

Can you help

Zak

I did that, changed “localhost” to IP address but the result is the same: no video.

@bobmax48

I have JW located on server(not on web server)on desktop folder where are all the files from JW player.

I get the page readme.html properly loaded but when I change the embedd code there is no video.

Is there anything else I can try?

Thanks in advance

Zak

That works without a problem.

But when I try to use other flash player like JW and Flowplayer I can’t make them play the video. I’ve tryed everything from this thread.

Yes, Extremists.m4v is in the content folder.

I checked error log and no clue.

Is it OK if I archive the log folder and send it to you on E-mail?

What do you mean I don’t have the full path to the player? I played the promotion video from the same folder of JW Player.

Yes I have all the files:

player.swf

readme.html

swfobject.js

video.flv

yt.swf

Where video.flv is the promo video of the JW Player

You can do that by going on this URL http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

Hope it helps.

Zak

I use this code on FlowPlayer which is free btw

<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='640' height='480' id='single1' name='single1'>
<param name='movie' value='player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file=filename.flv&streamer=rtmp://wowza-address/vod/&controlbar=over'>
<embed
type='application/x-shockwave-flash'
id='single2'
name='single2'
src='player.swf'
width='640'
height='480'
bgcolor='undefined'
allowscriptaccess='always'
allowfullscreen='true'
wmode='transparent'
flashvars='file=filename.flv&streamer=rtmp://wowza-address/vod/&controlbar=over'
/>
</object>

Does all this have to be located on a webserver for it to work? I have this same problem (as Zarko) but my stuff is stored locally on my Desktop in a folder.

Does JW Player work with Wowza Media Server Pro10 1.7.2 build12107 ?

Thanks

-Bob

Sure, thanks. Ive got that far, I can both access my live IP Camera and the VOD examples via the Wowza player but not the JW Player. Some mentioned on this thread they changed their Flash security settings but didnt say how, which is helpful.

So still stuck - on the simplest of problems unless, of course I host the JW stuff on a webserver …

Yes. Thanks Richard, this looks like the code I generated from the Wizard on the LongTailVideo site. I dont bother specifying port 1935 since without it it works on the Wowza sample player. Will give it another go tomorrow when Im at the office.

Thanks Zak and Richard.

I created a new folder jw52 and put everything in there. Then I used the code Richard pasted up (but inserted my Wowza server). It didnt work. So I added that folder to the Global Security Settings (of your Adobe Flash Player) in the section titled “Always trust files in these locations”. Hopefully you can see the attached snapshot … and it worked.

As per Zak: Your Flash Player Settings are here: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

So this is clearly important for those wishing to quickly test the JW player on their PC’s, to make that change. Removing the folder, caused the player to now work. Thanks, Bob.

Hello!

I try to connect JW Player 5 with Wowza by RTMP protocol. I have wrote this (and many, many, many others vesion) code in HTML file:

[HTML]

[/HTML]

And there is no one request logged in wowza. I’ve tried with and without prefix “mp4:”, port “:1935”, “type: rtmp” and others, and nothing changes. What i wrote or doing wrong?

Thanks for helping!