# JWPlayer with SecureToken from Wowza Tutorial Should warn it does not work

**URL:** https://community.wowza.com/t/jwplayer-with-securetoken-from-wowza-tutorial-should-warn-it-does-not-work/45310
**Category:** Wowza Streaming Engine
**Created:** [May 18, 2015, 1:31pm UTC](https://community.wowza.com/t/jwplayer-with-securetoken-from-wowza-tutorial-should-warn-it-does-not-work/45310 "2015-05-18T13:31:42Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Jamelle\_Legaspi](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@Jamelle\_Legaspi](https://community.wowza.com/u/Jamelle_Legaspi)
#### Post date: [May 18, 2015, 1:31pm UTC](https://community.wowza.com/t/jwplayer-with-securetoken-from-wowza-tutorial-should-warn-it-does-not-work/45310/1 "2015-05-18T13:31:42Z")

</div>

According to the JWPlayer knowledge support [http://support.jwplayer.com/customer/portal/questions/6062881-wowza-secure-token-](http://support.jwplayer.com/customer/portal/questions/6062881-wowza-secure-token-)

Only JWPlayer Opensource will work, and you will NOT have your HLS support or cross-platform compatibility to Android, nor could you remove the watermark.

We followed this tutorial [https://www.wowza.com/docs/how-to-add-securetoken-protection-to-jw-player&postid=153576#comments\_153576](https://www.wowza.com/docs/how-to-add-securetoken-protection-to-jw-player&postid=153576#comments_153576)

And found out our HLS wasn’t working among other things. There needs to be a tutorial to use secure token with Commerical JWPlayer.

---

<div class="post-metadata">

### Author: ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)
#### Post date: [May 18, 2015, 4:48pm UTC](https://community.wowza.com/t/jwplayer-with-securetoken-from-wowza-tutorial-should-warn-it-does-not-work/45310/2 "2015-05-18T16:48:42Z")

</div>

Hi,

The article on adding SecureToken v2 should work for JWPlayer commercial editions as well. However, per the article notes, it only works for RTMP protocols and needs to be hard-coded into the player.

Michelle

---

<div class="post-metadata">

### Author: ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)
#### Post date: [May 22, 2015, 3:39pm UTC](https://community.wowza.com/t/jwplayer-with-securetoken-from-wowza-tutorial-should-warn-it-does-not-work/45310/3 "2015-05-22T15:39:12Z")

</div>

Hi,

> So by hard-coding, do you mean make it part of the JWPlayer declaration in the HTML so that people can see it when they inspect element?

From the article you listed above, you would need to change the RTMPMediaProvider.as file and enter your shared secret in this file. Your shared secret should **not** be part of the JWPlayer HTML declaration. You would then need to compile your customized player using Flex SDK/Builder according to JWPlayer’s build instructions.

Michelle

---

<div class="post-metadata">

### Author: ![Jamelle\_Legaspi](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@Jamelle\_Legaspi](https://community.wowza.com/u/Jamelle_Legaspi)
#### Post date: [May 20, 2015, 3:08pm UTC](https://community.wowza.com/t/jwplayer-with-securetoken-from-wowza-tutorial-should-warn-it-does-not-work/45310/4 "2015-05-20T15:08:33Z")

</div>

Is this the correct SecureToken tutorial ([https://www.wowza.com/docs/how-to-add-securetoken-protection-to-jw-player](https://www.wowza.com/docs/how-to-add-securetoken-protection-to-jw-player) So by hard-coding, do you mean make it part of the JWPlayer declaration in the HTML so that people can see it when they inspect element?

---

<div class="post-metadata">

### Author: ![Mike\_Zinner](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@Mike\_Zinner](https://community.wowza.com/u/Mike_Zinner)
#### Post date: [May 20, 2015, 1:23pm UTC](https://community.wowza.com/t/jwplayer-with-securetoken-from-wowza-tutorial-should-warn-it-does-not-work/45310/5 "2015-05-20T13:23:17Z")

</div>

I have applied for a JWPlayer key, twice, never got an email back. The site is shutting down. Guess the loss of the tag was too muh for them
