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

Is there a way I can truly self host the JW Player?


Hi there,

JW Player is a great Player. I truly love it. Because it is easy to use and the documentation is nice.
I am trying to persuade my boss to pay for it.
But i have a big problem.
We are in China. Sometime our Great Firewall will block your CDN.
I have scanned Questions in this community. Found many Customers in China have the same problem.

My Question is "Is there a way I can truly self host the JW Player Now?" Can ENTERPRISE solve this problem? Or anyother way?

THX.

7 Community Answers

Todd

JW Player Support Agent  
0 rated :

You can certainly self-host the player. The download is available directly from your account dashboard. When you self-host the player, I would expect any HTML5 or Flash video to play, but any player feature that requires one of our cloud-hosted dependencies, like ads, related, sharing, etc, may not be able to load.

We do have an Enterprise license of the player that would enable you to host ALL the player files. I am not sure of the cost, but I will forward your inquiry to someone on our Sales team who can give you a price quote.

2...

User  
0 rated :

Hi Todd,

I have downloaded the files in the dashboard. But when I self-host the player using these files and the free license. It seems still make calls back for license checks to your Server. The initialization of the player seems must have communicate with your Server first. Once the communication has problem, the initialization will fail. For example, Sometime it will take a long long time(10s~20s) to load http://ssl.p.jwpcdn.com/player/v/7.3.6/jwpsrv.js. What is this js file working for? Can I download this file and self-host in my Server ? I can't let our users wait for 10s~20s.

As you say, If I self-host the player, I can play the video Anyway. But not to do other player feature like ads, related, sharing, etc.
If our country's Great Firewall block your CDN in some sensitive time , Can the self-host player still play the video (No include ads, related, sharing)?

Your Sales team may not know too much technical problems , So your professional answer is what I need now. If my technical problems is done, I will contact to your Sales team later.

THX.


Todd

JW Player Support Agent  
0 rated :

We are not checking your license key. And yes, the self-hosted player can still play the video without ads, related, and sharing.

jwpsrv.js is loading our analytics plugin. Is your entire player being delayed while this file is loading?

247747214

User  
0 rated :

Yes, The entire player will be delayed while jwpsrv.js is loading.
Your community can not copy image. So the Network of the chrome Dev Tool is copied as txt, as follow:

index1.shtml 200 document Other 1.4 KB 7 ms
jwplayer.js 200 script index1.shtml:6 66.2 KB 10 ms
data:application/fo… 200 font jwplayer.js:4 (from cache) 0 ms
jwpsrv.js (pending) jwplayer.js:4 0 B Pending

---->the player will be delayed while jwpsrv.js is loading. in another word, the player appear always after the response of jwpsrv.js.

Sometime, the jwpsrv.js will take 100ms(more or less) loading, and it load success, and then the player will appear. (acceptable)
Sometime, the jwpsrv.js will take 20s(more or less) loading, and it load success, and then the player will appear.(unacceptable)
Sometime, the jwpsrv.js will take 20s(more or less) loading, and it load failed, and then the player will appear.(unacceptable)

index1.shtml 200 document Other 1.4 KB 17 ms
jwplayer.js 200 script index1.shtml:6 66.2 KB 23 ms
data:application/fo… 200 font jwplayer.js:4 (from cache) 0 ms
jwpsrv.js (failed) jwplayer.js:4 0 B 21.00 s



Todd

JW Player Support Agent  
0 rated :

I just tested this on my side by blocking access to jwpsrv.js using a web proxy. As you can see in my screen shot at http://imgur.com/0S7kGBS , jwpsrv.js did not load but the player was not delayed in loading the video at all.

247747214

User  
0 rated :

Many thx, Todd.

I know what you test. I have do something like that. I have cut off my network and download all the mp4 files on my pc.
http://imgur.com/Fdi8FDL It shows " ERR_INTERNET_DISCONNECTED. " but it's OK. It's only take 9ms and the player is fine.

But "the entire player will be delayed while jwpsrv.js is loading" it true. Most time it is show like below:
http://imgur.com/B8hY03i loading jwpsrv.js, and the player is not appear.
http://imgur.com/jCxUAXw After 3.95s, the jwpsrv.js loading success, and then start to load mp4 file.

So, Can I shut down the request of jwpsrv.js ?

Todd

JW Player Support Agent  
0 rated :

I checked with our engineers on this. There is no way to prevent the request of jwpsrv.js, as this is required for analytics data. They also said that there is nothing in the code that tells the player to wait for jwpsrv.js to finish loading before the player starts. Have you tried calling jwplayer().setup() directly? Can you provide a link to that test page?

This question has received the maximum number of answers.