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

Issue with loading JW Player Library


I am facing issue while I am using JWPlayer JS with RequireJS(i.e.

When I am providing direct reference of Cloud Player Library URL reference then then it's working fine.
But when I am going to use that with RequireJS then it's not working.

Here I have attached 2 demo for better explanation.
1) : It's working solution with direct reference in HTML Page.
2) : In this solution, JWPlayer API is not loaded.
I have also added screen shot for better explanation.

Please note that, I am going to create jQuery Widget.
I am able to load Foundation and other library in my actual solution through requirejs.
Here I have provided you simple solution for easy to understand.

Kindly please share your suggestion, so I can go ahead to utlize JW Player with RequireJS.

2 Community Answers


JW Player Support Agent  
0 rated :

I do not have any experience with require.js but if I remember correctly, other people using our player with require.js had to use window.jwplayer in their code.

Hope this helps,


0 rated :

Can you give me example or link for example so I can get better idea.


This question has received the maximum number of answers.