# Using JW Player 5.x with Wowza Server

**URL:** <https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246>\
**Category:** Wowza Streaming Engine\
**Created:** [January 25, 2010, 8:09pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246 "2010-01-25T20:09:08Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 15, 2010, 7:59pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/21 "2010-02-15T19:59:56Z")

</div>

Edited, wrong for JW Player.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 15, 2010, 8:03pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/22 "2010-02-15T20:03:38Z")

</div>

These kind of playlists are located relative to the swf file, on the web server, not on Wowza.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 15, 2010, 8:36pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/23 "2010-02-15T20:36:21Z")

</div>

Looking at the example again, you put a streamer and put videos, like this:

```auto
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats">
<channel>
	<item>
		<jwplayer:streamer>rtmp://localhost/vod</jwplayer:streamer>
		<media:content url="somevideo.mp4"/>
	</item>
</channel>
</rss>

```

Where somevideo.mp4 is located in the content folder of the “vod” application on Wowza server. i.e., where [wowza-install-dir]/conf/vod/Application.xml /StorageDir is set to

The playlist is generally in the same location as your html and swf on the web server. In the Flashvars you reference a playlist with the “file” Flashvar.

```auto
&file=playlist.xml

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 19, 2010, 10:18pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/24 "2010-02-19T22:18:19Z")

</div>

Adrian,

You have to remove the “.flv” extension in the stream name.

```auto
&file=livestream

```

And make sure the Application.xml /StreamType is “live”

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 11, 2010, 5:23pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/25 "2010-03-11T17:23:43Z")

</div>

Yup, working on the post at top. What do you think?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 26, 2010, 11:21am UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/26 "2010-03-26T11:21:43Z")

</div>

See this tutorial for dynamic bitrate switching in JW Player 5.1 (and 4.6)

[http://www.longtailvideo.com/support/tutorials/Bitrate-Switching](http://www.longtailvideo.com/support/tutorials/Bitrate-Switching)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 26, 2010, 12:41pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/27 "2010-03-26T12:41:12Z")

</div>

It might be an encoding issue. Each version has to have properly aligned keyframe timecodes, which is a function of the encoding process. Try posting on the JW player forum for advice on that. I’m not real sure what the best way to get that done is, but I know they have sample videos that work and should have more info or advice on encoding, or using their client-side smil.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 26, 2010, 1:00pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/28 "2010-03-26T13:00:43Z")

</div>

I see that. You can ask them about that too on the JW Player forum.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 26, 2010, 1:56pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/29 "2010-03-26T13:56:46Z")

</div>

Actually, hold on a sec, that is something I can fix.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 26, 2010, 2:09pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/30 "2010-03-26T14:09:20Z")

</div>

It’s fixed.

But ask them about the production methods they used to create these videos:

> \<media:content bitrate=“1600” width=“1080” url=“8Juv1MVa-67727.mp4” /\>
> 
> \<media:content bitrate=“1200” width=“720” url=“8Juv1MVa-485.mp4” /\>
> 
> \<media:content bitrate=“800” width=“480” url=“8Juv1MVa-484.mp4” /\>
> 
> \<media:content bitrate=“400” width=“320” url=“8Juv1MVa-483.mp4” /\>

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 26, 2010, 2:56pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/31 "2010-03-26T14:56:10Z")

</div>

What he is saying is that a server-side smil in the form that is used by IPhone and Silverlight in our tutorials does not work. They use a client-side playlist, as in the tutorial that I posted a link to.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 29, 2010, 5:31pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/32 "2010-03-29T17:31:28Z")

</div>

Maybe it is the misspelled protocol:

**rmtp** ://mydomain.com/live

change to **rtmp**

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 29, 2010, 5:34pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/33 "2010-03-29T17:34:16Z")

</div>

Also, JW Player 5.1 using “provider=rtmp”

And it would be better to ask JW player playlist questions on JW forum. That is where I go.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 29, 2010, 5:37pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/34 "2010-03-29T17:37:07Z")

</div>

@pietjuh1,

Continuous checking should work with Wowza 2 using JW player 5.1 and 4.7

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 26, 2010, 8:01pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/35 "2010-05-26T20:01:34Z")

</div>

See if the frame rate (FPS) in the video that takes longer to load is lower than the one that is faster.

With h.264 video, Flash waits for about 60 frames before it starts, so a lower frame rate can cause a delay. You can get around this by setting the bufferlengh to 0. You can do this in the Flashvars “&bufferlength=0”. However it can cause problems, it can increase the chance of jittery playback.

“provider=rtmp” is correct Flashvar for JW Player 5. There is no provider=rtmpe, but if you were using rtmpe protocol you would still use provider=rtmp. But as you can see it is not alway neccessary, but it is a good idea to include this Flashvar

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 6, 2010, 6:28pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/36 "2010-08-06T18:28:18Z")

</div>

I think you can show an image that is on a web server in JW Player, using the image flashvar

[http://developer.longtailvideo.com/trac/wiki/Player5FlashVars](http://developer.longtailvideo.com/trac/wiki/Player5FlashVars)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 6, 2010, 6:55pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/37 "2010-08-06T18:55:16Z")

</div>

I don’t think so, not that I know of You can stream a single video frame by using 0 length param in netstream. For example:

```auto
netstream.play("example.flv",5,0);

```

This will show a single frame of the video at 5 seconds from start.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 12, 2010, 6:14pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/38 "2010-08-12T18:14:17Z")

</div>

It looks right. You should see something in the logs. You could try adding the .flv extension to the “file” Flashvar, although I don’t think that matters with JW Player, but try it anyway. Also try “localhost” instead of loop back ip, which also should should be okay, but try it anyway.

What is the Server and Stream you used successfully in SimpleVideoStreaming? Is it this?:

Server: rtmp://localhost:1935/vod

Stream: Extremists.flv

The equivalent in JW Player is:

```auto
Flashvars = "provider=rtmp&streamer=rtmp://localhost:1935/vod&file=Extremists.flv"

```

If you are testing it in a Netscape type browser, which is anything beside Internet Explorer, then test it in IE. And vice versa, if you are testing in IE, try a NN browser.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 12, 2010, 7:45pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/39 "2010-08-12T19:45:01Z")

</div>

Great, thanks for the update. Glad it’s working

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 25, 2010, 4:31pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/40 "2010-08-25T16:31:30Z")

</div>

The Flashvars are wrong. This is corrected:

```auto
<param name="flashvars" value="streamer=rtmp://xxx.xxx.xxx.xxx:1935/live&file=myStream.sdp&provider=rtmp" />
flashvars="streamer=rtmp://xxx.xxx.xxx.xxx:1935/live&file=myStream.sdp&provider=rtmp" 

```

Richard

[Previous page](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246.md?page=1)

[Next page](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246.md?page=3)
