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

How to completely self host JWPlayer 7?


We have an important customer that is taking issue with the player using the below JW CDN files. Is there a way to completely self host the player so that ALL files are coming from our server/domain?

http://p.jwpcdn.com/6/12/jwpsrv.js
http://p.jwpcdn.com/6/jwpsrv_frq.js
http://jwpltx.com/v1/jwplayer6/ping.gif?tv=23&n=409466519174.......

9 Community Answers

web

User  
0 rated :

er, that's version 6, not 7

Todd

JW Player Support Agent  
0 rated :

No, we load extra cloud-hosted dependencies based on your setup. If you have configured the player to use the Related overlay, for example, we need to load our related.js plugin to make sure you’re getting the most up to date version.

Todd

JW Player Support Agent  
0 rated :

I got you some further details from our engineers:

Those two assets you mentioned (jwpsrv_frq.js and ping.gif) will always be cloud-hosted in JW7.

But in JW7, you can also set “base”:“.” to a local folder to self host all of the additional plugins. But the be aware that we update very frequently to add new functionality and to adjust to the ever changing user agents.

vitamin6 N/A

User  
1 rated :

Hi Todd, could you elaborate on how to self host all additional plugins.
I can not find “base”:“.” within jwplayer - are you referring to a.baseName:"":"" in jwplayer.js? Would we need to download jwpsrv.js, jwpsrv_frq.js and ping.gif and place them in that folder, or will they be fetched automatically?
Thanks!

Kam

User  
0 rated :

Hi, is there a clear answer for this?

We have an Android application that only connects locally to a server that sends HLS video and we do not have internet. We have the premium version of the player.

We do not want to load any external files like http://ssl.p.jwpcdn.com/player/v/7.2.2/jwpsrv.js

tony

User  
1 rated :

Did this ever get answered? We need this as well.

o...

User  
0 rated :

I have been waiting on this as well. Please get a clue - some people do not want to have to link to additional libraries in the cloud. We are big boys and girls - how do you stop loading external dependencies?

o...

User  
3 rated :

Given that JWPlayer and their support team does not make it 'easy' for us to disable the cloud dependencies I took the time to trace the 7.3.4 version of jwplayer and found the "base" url per question from THREE MONTHS AGO.

The answer is look for the line that has "repo: "http://ssl.p.jwpcdn.com/player/v/" in the code and replace that with your local url.

I can understand the business goals for wanting to have a cloud hosted player but hiding it from developers that know better only serves to piss off and separate your audience.

Alex

User  
-5 rated :

The version of the player found in your Account Dashboard will always require external dependencies and there is no way to disable them from that player.

However, we do open source our player on GitHub. It does not contain any commercial features of our player, but it can be forked and altered by interested developers. Please note that we do not provide support for the open source version of our player outside of the Issues section in the GitHub repo.

GitHub Repo - https://github.com/jwplayer/jwplayer

This question has received the maximum number of answers.