# 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:** 3

<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:** [September 2, 2010, 2:34am UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/41 "2010-09-02T02:34:02Z")

</div>

No, I don’t think Wowza can or should keep up with or re-print the licensing details of every application that we have guides for. Check out the live encoders section, there’s many encoders Wowza provides guides for. It’s your responsibility to read the EULAs of the products you use.

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:** [September 2, 2010, 4:16pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/42 "2010-09-02T16:16:10Z")

</div>

It looks well formed. Do you see any useful errors in the access or error log?

Is there a subfolder name “wl” of the content location specified in the /conf/vod/Application.xml /StorageDir? And is there a video named “plewa\_H264.mov” in that folder?

Look at the logs for a clue.

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:** [September 2, 2010, 4:47pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/43 "2010-09-02T16:47:36Z")

</div>

I meant the Wowza logs:

/logs/wowzamediaserver\_access.log

/logs/wowzamediaserver\_error.log

You might see a WARN line something like:

> WARN server comment wl/plewa\_H264.mov MediaReaderH264.open[1]: java.io.FileNotFoundException: C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 2\content\wl\plewa\_H264.mov (The system cannot find the path specified)

Or some other clue. If you do not see any clue, then you are not connecting to the server.

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:** [September 2, 2010, 7:47pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/44 "2010-09-02T19:47:38Z")

</div>

Is the player.swf file alongside the html page, in the same location?

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:** [September 16, 2010, 6:43pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/45 "2010-09-16T18:43:17Z")

</div>

Testing in Wowza example player, I get a “stream not found” message.

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:** [September 16, 2010, 8:00pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/46 "2010-09-16T20:00:50Z")

</div>

Yes, I see the live stream now using the Wowza example player. The JW Player flashvars you posted are correct.

I notice the SWF is loaded from absolute url, which is unusual, but should work.

Review the JW player setup. Use their wizard to help:

[http://www.longtailvideo.com/support/jw-player-setup-wizard](http://www.longtailvideo.com/support/jw-player-setup-wizard)

But Wowza and your live stream are working. I tested with the Wowza LiveVideoStreaming example:

Server: rtmp://ec2-174-129-80-242.compute-1.amazonaws.com

Stream: myStream

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:** [September 16, 2010, 8:29pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/47 "2010-09-16T20:29:10Z")

</div>

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

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:** [September 16, 2010, 8:37pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/48 "2010-09-16T20:37:08Z")

</div>

@bobmax48,

It’s okay to do it like that. Whatever works.

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:** [October 2, 2010, 11:14pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/49 "2010-10-02T23:14:48Z")

</div>

Change “localhost” to the Wowza IP.

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:** [October 3, 2010, 5:58pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/50 "2010-10-03T17:58:07Z")

</div>

Check the Wowza access and error log for a clue.

Try using the SimpleVideoStreaming example player [wowza-install-dir]/examples/SimpleVideoStreaming/client/simplevideostreaming.html

Server: rtmp://[wowza-address]:1935/

Stream: mp4:Extremists.m4v

If that doesn’t work, check the Wowza access and error log again. Is the Extremists.m4v in the content folder?

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:** [October 3, 2010, 8:25pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/51 "2010-10-03T20:25:33Z")

</div>

Make sure that the player.swf is alongside the html page or that you have correct path to its location.

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:** [October 4, 2010, 11:32pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/52 "2010-10-04T23:32:09Z")

</div>

Try putting an absolute url to player.swf. Using http://[webserver-address]/…/player.swf, to the exact location.

You can also ask for help on JW 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:** [October 5, 2010, 1:22am UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/53 "2010-10-05T01:22:11Z")

</div>

The Wowza example players can be run from the file explorer. Not sure about JW player, some Flash apps do not have the security setting that allows them to run from file system and have to be run from a web server.

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:** [October 5, 2010, 6:29pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/54 "2010-10-05T18:29:32Z")

</div>

JW Player 5.2 will run from file location, I tried it. I open this in browser:

file:///C:/inetpub/wwwroot/JW52/bin-debug/player.html

The player.swf is in the same location and is reference relative, not with absolute url. I am using swfobject. My html looks like this:

```auto
<html lang="en"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<title>player</title> 
 
<script type="text/javascript" src="swfobject.js"></script> 
 </head> 
<body> 
 
<div id="player"> 
 <a href="http://get.adobe.com/flashplayer/">Get the Flash Player</a> 
    to see this video.
</div> 
<script type="text/javascript"> 
var so = new SWFObject('player.swf','mpl','480px','290px','9');
so.addParam('allownetworking','all');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('Flashvars','streamer=rtmp://localhost:1935/vod&file=mp4:sample.mp4&provider=rtmp');
so.write('player');
</script> 
</body> 
</html>

```

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 16, 2011, 6:41pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/55 "2011-05-16T18:41:39Z")

</div>

The .avi file is not supported. To test, try it with the Wowza sample.mp4 file.

Take a look at these encoding suggestions for creating mp4 files:

[https://www.wowza.com/docs/how-to-encode-video-on-demand-content](https://www.wowza.com/docs/how-to-encode-video-on-demand-content)

Richard

---

<div class="post-metadata">

**Author:** ![Chris\_Trainor](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@Chris\_Trainor](https://community.wowza.com/u/Chris_Trainor)\
**Post date:** [February 25, 2010, 11:57am UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/56 "2010-02-25T11:57:11Z")

</div>

Charlie, FYI, the RC for JW 5.1 does indeed work now. I’ve just compiled a secure token version of the player from source downloaded last night and it’ll play livestreams fine now.

The current 5.0 player source however will run about 1 frame or so and stop on live streams.

–Chris

---

<div class="post-metadata">

**Author:** ![Chris\_Trainor](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@Chris\_Trainor](https://community.wowza.com/u/Chris_Trainor)\
**Post date:** [March 11, 2010, 12:22pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/57 "2010-03-11T12:22:57Z")

</div>

FYI, 5.1 of JW is out now.

–Chris

---

<div class="post-metadata">

**Author:** ![Chris\_Trainor](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@Chris\_Trainor](https://community.wowza.com/u/Chris_Trainor)\
**Post date:** [March 11, 2010, 12:57pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/58 "2010-03-11T12:57:06Z")

</div>

Hi richard,

that looks good. I’ve gotta take a closer look at the MPEG-TS bit tho… I don’t recall having that issue with 5.1. Is that example when you serve from Wowza in MPEG-TS or publishing TO? I havn’t had any issues with 5.1 when I publish to the Wowza server with an MPEG-TS stream sent via UDP and JW picking up as RTMP.

I’m headed to lunch but when I get back I can fiddle with it.

My 5.1 test using my build of JW is here: [http://cbtvhd.zcastlive.com/test/index51.html](http://cbtvhd.zcastlive.com/test/index51.html)

I’ll send up some MPEGTS in an hour or so.

–chris

---

<div class="post-metadata">

**Author:** ![sam\_ola](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sam\_ola](https://community.wowza.com/u/sam_ola)\
**Post date:** [March 28, 2010, 6:15pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/59 "2010-03-28T18:15:38Z")

</div>

I am trying to get a playlist to work with MWS and JW, when I click on play, the player does not play. The xml is like this:

\<?xml version="1.0" encoding="utf-8"?\>STREAM1

STREAM SOLUTIONS

pastors\_1.flv

Pastor 1

rtmpSTREAM2

STREAM SOLUTIONS

pastors\_1b.flv

Pastor 2

rtmpSTREAM3

STREAM SOLUTIONS

pastors\_1c.flv

Pastor 3

rtmp

---

<div class="post-metadata">

**Author:** ![sam\_ola](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sam\_ola](https://community.wowza.com/u/sam_ola)\
**Post date:** [March 29, 2010, 1:56pm UTC](https://community.wowza.com/t/using-jw-player-5-x-with-wowza-server/246/60 "2010-03-29T13:56:59Z")

</div>

Hi Richard,

Is there a way making a playlist to play live feeds. I have this playlist.xml and its saying the stream is not found.

\<?xml version="1.0" encoding="utf-8"?\>Worship 1 Plus Faith Clinic Plus Dance

SOLUTIONS

gateway**(Sreamname)**

Message 1

rmtp://mydomain.com/live rtmp

The embed part of the html is like this:

**flashvars="bufferlength=2&streamer=rtmpe://mydomain.com/live&file=playlist.xml&playlist=bottom&provider=rtmp"**

Thanks.

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

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