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

Asynchronous loading of the JS


Hi everybody

Is there any way to load the .js of the player asynchronously ?
When i try to put as :
<script async src="http://jwpsrv.com/library/EkclxHm0EeKtPCIACp8kUw.js"></script> the player does not load at all.

Thanks !

5 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

You should theoretically be able to do this as long as the script is loaded prior to the div element being set up on the page.

f...

User  
0 rated :

Thanks for your answer but it doesn't seem to work :S

The file is loaded but the player is never displayed
It seems to supported, it can be a good feature to implement in a new version of jwplayer :)

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link to where you have tried that?

frequenceradio23

User  
0 rated :

http://mykoncept.phpnet.org/testplayer/testplayer2.html works
http://mykoncept.phpnet.org/testplayer/testplayer.html no :(

Ethan Feldman

JW Player Support Agent  
0 rated :

Hm, yeah, it looks like it won’t work.

This question has received the maximum number of answers.