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

Invalid lic key and system time Q


Hi. I asked this last week, but I guess you guys must have missed it.

If someone goes to my site where I have a jwplayer vid, and their system date/time is incorrect - does that mean they aren't going to be able to play the vid, and that they will get the Invalid lic key error? Thanks.

3 Community Answers

Todd

JW Player Support Agent  
0 rated :

Yes, if their system time is off by more than an hour or so, they would probably get an “invalid license key error.” The other potential causes for this error are:

- A network firewall / proxy that is caching your cloud-hosted player JS request
- You have both a JW6 and JW7 embed on the same page

One possible suggestion to eliminate this error would be to define your jwplayer.key directly in your page source using the following code AFTER you link to your cloud-hosted player:

<script>jwplayer.key="your_license_key_here";</script>

jhayat2

User  
0 rated :

Ok, will try that. I see my lic codes; how do I know if I have JW Player 7 or JW Player 6?

jhayat2

User  
0 rated :

Ok, n/m the above; a r-click on the vid tells me that it is v7.

So, I am on another computer, where I have set the date two days in advance. I get the "invalid lic key" error, as I should. In my page source, I have two places that reference the player (seemingly, to me anyway):

1. In the head:

<script src="http://content.jwplatform.com/libraries/iGVz7jq7.js"></script>

2. In the body:

<script type="application/javascript" src="//content.jwplatform.com/players/ctqThWKk-pB2lFm5j.js"></script>

I tried entering the code with my key in both places, to no avail. So I have:

<script src="http://content.jwplatform.com/libraries/iGVz7jq7.js"></script>
<script>jwplayer.key="xxxxxxxxxxxxxxxxxx==";</script>

and then instead, I tried

<script type="application/javascript" src="//content.jwplatform.com/players/ctqThWKk-pB2lFm5j.js"></script>
<script>jwplayer.key="xxxxxxxxxxxxxxxxxxxx==";</script>

But again, neither worked. What am I missing here?

Thanks!




This question has received the maximum number of answers.