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

Issue with loading JW Player Library


Hello,

I am facing issue while I am using JWPlayer JS with RequireJS(i.e. http://requirejs.org).

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) JW_Working_With_DirectReference.zip : It's working solution with direct reference in HTML Page.
2) JW_Notworking_With_RequireJS.zip : In this solution, JWPlayer API is not loaded.
I have also added screen shot for better explanation.

http://182.70.125.99/ABCCineplexAdmin/JW_Working_With_DirectReference.zip
http://182.70.125.99/ABCCineplexAdmin/JW_Notworking_With_RequireJS.zip

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

Todd

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,
Todd

nirmal.c

User  
0 rated :

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

Thanks.

This question has received the maximum number of answers.