# JWPlayer and ModuleOnConnectAuthenticate2 , the link in jwplayer does not work, why?

**URL:** <https://community.wowza.com/t/jwplayer-and-moduleonconnectauthenticate2-the-link-in-jwplayer-does-not-work-why/45114>\
**Category:** Wowza Streaming Engine\
**Created:** [June 9, 2015, 11:38pm UTC](https://community.wowza.com/t/jwplayer-and-moduleonconnectauthenticate2-the-link-in-jwplayer-does-not-work-why/45114 "2015-06-09T23:38:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [June 9, 2015, 11:38pm UTC](https://community.wowza.com/t/jwplayer-and-moduleonconnectauthenticate2-the-link-in-jwplayer-does-not-work-why/45114/1 "2015-06-09T23:38:47Z")

</div>

My stream was running fine without password, then I use ModuleOnConnectAuthenticate2

The publish part with Flash is successful using username and password with the module. Now I am on the playing part with JW Player.

In JWPlayer script, I use this link

rtmp://link/appname\*\*?username=user1&password=user1pass\*\*/mp4:dev\_one

The above link does not work. I got the error: Error loading stream , Could not connect to server. What can I do for this to work ? The username and password that I entered is correct.

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [June 10, 2015, 1:56pm UTC](https://community.wowza.com/t/jwplayer-and-moduleonconnectauthenticate2-the-link-in-jwplayer-does-not-work-why/45114/2 "2015-06-10T13:56:20Z")

</div>

Hi,

Have you tried using this playback URL?

```auto
rtmp://link/appname/mp4:dev_one?username=user1&password=user1pass

```

Zoran

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [July 17, 2015, 3:36pm UTC](https://community.wowza.com/t/jwplayer-and-moduleonconnectauthenticate2-the-link-in-jwplayer-does-not-work-why/45114/3 "2015-07-17T15:36:45Z")

</div>

Hello,

Thank you for the update.

For future reference, can you post the playback URL you were using so that other forum users might benefit from your findings?

Thank you,

Zoran

---

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [June 18, 2015, 10:31pm UTC](https://community.wowza.com/t/jwplayer-and-moduleonconnectauthenticate2-the-link-in-jwplayer-does-not-work-why/45114/4 "2015-06-18T22:31:22Z")

</div>

I tried the link you gave also , but it did not work either. The same error appeared : Error loading stream , Could not connect to server. I want to state again that the Flash publisher using Action Script is successful using these username and password. I can see there is one incoming stream in the Wowza Streaming Engine Manager.

---

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [July 16, 2015, 6:51pm UTC](https://community.wowza.com/t/jwplayer-and-moduleonconnectauthenticate2-the-link-in-jwplayer-does-not-work-why/45114/5 "2015-07-16T18:51:33Z")

</div>

The link should have the format that the tutorial ModuleOnConnectAuthenticate2 mention appname/?username&password/mp4:…

VLC can play this link --\> this link works , but JWPlayer and videoJS, both can not play this link ??? (Note: I have tried JWPlayer and videojs with sample links, and they worked.)

Please help me to resolve this. Thank you.

---

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [July 16, 2015, 10:57pm UTC](https://community.wowza.com/t/jwplayer-and-moduleonconnectauthenticate2-the-link-in-jwplayer-does-not-work-why/45114/6 "2015-07-16T22:57:51Z")

</div>

I found out the solution for JWPlayer, for VideoJS probably there will be a fix because of the way they separate connection and stream with the first &.

For JWPlayer, the / before the mp4: has to be removed to run. For VLC , the / has to be there to run.

---

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [July 18, 2015, 2:41am UTC](https://community.wowza.com/t/jwplayer-and-moduleonconnectauthenticate2-the-link-in-jwplayer-does-not-work-why/45114/7 "2015-07-18T02:41:22Z")

</div>

THe RTMP link for JWPlayer is rtmp://wowzaadd:1935/appname/?username&passwordmp4:… (note there is no / between password and mp4)

The RTMP link for VLC is rtmp://wowzaadd:1935/appname/?username&password/mp4:…

For VideoJS, currently there is no way because videojs separates connection and stream with the first &.

---

<div class="post-metadata">

**Author:** ![BB\_Creams](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@BB\_Creams](https://community.wowza.com/u/BB_Creams)\
**Post date:** [July 22, 2015, 10:52pm UTC](https://community.wowza.com/t/jwplayer-and-moduleonconnectauthenticate2-the-link-in-jwplayer-does-not-work-why/45114/8 "2015-07-22T22:52:39Z")

</div>

> THe RTMP link for JWPlayer is rtmp://wowzaadd:1935/appname/?username&passwordmp4:… (note there is no / between password and mp4)
> 
> The RTMP link for VLC is rtmp://wowzaadd:1935/appname/?username&password/mp4:…
> 
> For VideoJS, currently there is no way because videojs separates connection and stream with the first &.

Thank you very much!
