Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to Protect the License key?


How can i prevent others to know or use my license key?

I believe there is a way to do so, but only found a old post
https://support.jwplayer.com/customer/portal/questions/8117888-hiding-jw-player-license-key

anyone know?

5 Community Answers

Todd

JW Player Support Agent  
1 rated :

Our player loads in client-side Javascript, so it will also be possible for someone to potentially see your key if they dig deep enough into the browser’s network requests. Here are a few things you can do to make it more difficult or less useful to try to use your key:

1) With a cloud-hosted player embed, we rotate your key and generate a new one each time the player loads.

2) You can enable URL signing on your player embeds to make sure that someone does not try to load your player or content on their site. Please see http://support.jwplayer.com/customer/portal/articles/1433647-token-signing-with-jw-platform for more details.

3) You could obfuscate your key or bury it in the code by linking to another Javascript file.

Hong

User  
-1 rated :

I found the answer myself.
https://www.wowza.com/forums/content.php?343-How-to-use-JW-Player-with-adaptive-bitrate-streaming-from-Wowza-Streaming-Engine

If you use a streaming port number other than 1935, you must specify the ?domain query parameter and port number at the end of the URL. For example:

http://[wowza-ip-address]/live/smil:sample.smil/jwplayer.smil?domain=my.example.com:80

Hong

User  
0 rated :

My last post is posted to wrong thread.

Todd

JW Player Support Agent  
0 rated :

I can copy and paste your response to the correct thread. What is the correct URL?

alecosnet

User  
0 rated :

Open jwplayer.js and at the end put your key like this....

jwplayer.key="hdfudehfhihfrhbnvruirhgfirviringvrnvvrnvnrnn==";

This key is an example, open with notepad jwplayer.js and ath the end of the file add your key:

--code---example of jwplayer.js--

d=k,s.events=b.extend({},l,{state:m}),s.playlist=b.extend({},n,{item:o}),s.plugins=r,s.cast=p,s}.apply(b,d),!(void 0!==e&&(a.exports=e))}])});

--code---example of jwplayer.js--

Now put your key at the end of the file... linke this...

--code---example of jwplayer.js--

d=k,s.events=b.extend({},l,{state:m}),s.playlist=b.extend({},n,{item:o}),s.plugins=r,s.cast=p,s}.apply(b,d),!(void 0!==e&&(a.exports=e))}])});jwplayer.key="hdfudehfhihfrhbnvruirhgfirviringvrnvvrnvnrnn==";

--code---example of jwplayer.js--

I hope this solve your problem...

This question has received the maximum number of answers.