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

My Jw player will not load no matter what I do


Hi,

I recently have been trying to work with jwplayer and I am pretty sure I have come across every problem with it. I have fixed pretty much everything, but still can't seem to view the video on my website. I have tried the basic jw player7 video player builder that is in my dashboard and I can preview my video fine, but when I put the code into my site, all I get is a white box where the video should be. I feel like I am missing some form of plugin, but it didn't say anywhere through any installation tutorial that you needed a certain plugin to run the player on your website. I have also tried to do the cloud method in which I have code like this:

<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "http://taylorstutorials.com/Videos/Sportsfan1100/test.mp4",
image: "http://example.com/uploads/myPoster.jpg",
width: 640,
height: 360,
title: 'Basic Video Embed',
description: 'A video with a basic title and description!',
mediaid: 'mFgiUGGL'
});
</script>

All this does is simply load the content in the div which is "loading player" but if you can probably guess, it NEVER LOADS. I just don't know what I am doing wrong here. I have tried everything, I even tried to install earlier versions of jwplayer without the dashboard method installing jwplayer.js and player.swf, but that doesn't even work. I don't think it's my browser either since I have tried it in pretty much every browser possible and even if it only worked in one browser, that really wouldn't prove effective for people trying to view my content.

Here is my website for where the video is trying to play which just results in "Loading Player"

http://www.taylorstutorials.com/vidtemplate.html

Here is my website for where the video is trying to play using the embeded iFrame code from my dashboard resulting in a white screen

http://taylorstutorials.com/vidtemplate2.html

I really hope someone can help me with this.

Thank you for your time!

- Taylor

16 Community Answers

mark

User  
0 rated :

Hi

In your first problem with cloud player, I notice this in your page
http://content.jwplatform.com/libraries/playerkey123.js
There is no such script at this location, it is clearly wrong because the player libraries do not use playerkey in the file name.

Your second page ( with iframe) actually works for me but yes I see the extra white background below. This is just CSS issues that you can work out with someone who does your site...

Todd

JW Player Support Agent  
0 rated :

Have you seen our Embedding document at http://support.jwplayer.com/customer/portal/articles/1406723-mp4-video-embed ?

What do you see on the page when you take the single-line embed code out of your account dashboard?

Mark is correct. The URL of your script should be http://content.jwplatform.com/libraries/[player_ID].js where [player_ID] is the unique ID we give to each player in the account dashboard.

sportsfanoneonezerozero

User  
0 rated :

I made sure that the url was right. Also, when I get the code, instead of http://content.jwplatform.com/libraries it says http://content.jwplatform.com/players. Did you mean the same thing? Also, do you have to add both the javascript and the html iFrame code? Or do I just have to add one or the other? Honestly I have tried both ways, with one and not the other and both, and it still doesn't play.

Todd

JW Player Support Agent  
0 rated :

No, you do not need the Javascript library URL if you are using the iframe embed code.

http://content.jwplatform.com/libraries/playerkey123.js is not a valid player library URL. See Option 2 on http://support.jwplayer.com/customer/portal/articles/1406723-mp4-video-embed for the instructions to get the player URL from one of the players in your account dashboard.

sportsfanoneonezerozero

User  
0 rated :

Okay, so the playerkey123.js is gone. It's been gone for a while now. I have been focusing on the vidtemplate2.html instead of vidtemplate.html where I haven't had a chance to remove the playerkey123.js since I am not editing that page.That's not the problem. The embedable javascript code that is found in my dashboard actually works if I paste it into a blank page. However, if I post it into any other page that I have created, it doesn't work. Now I know what you are probably going to say. "fix your css", but I don't think it is a css problem since I deleted all of the css in a test page of my website to see if that would make the difference, and it didn't do anything. I also don't have any other javascript code on the page that I am embedding the player into. All I have on the page other than the css are just my sliced template images. I don't think there is anything else that would make the player from not working, but for some reason it doesn't work.

Todd

JW Player Support Agent  
0 rated :

What issue are you trying to resolve on vidtemplate2.html ? I see your video is playing correctly.

Be sure to include the HTML5 doctype on the top of your page to fix the issue where the player’s timeline is not centered:

<!doctype html>

sportsfanoneonezerozero N/A

User  
0 rated :

Would there be any reason why it would play for you, but not for me? I'm pretty sure my browser is up to date.

Todd

JW Player Support Agent  
0 rated :

Which browser and operating system are you using?

sportsfanoneonezerozero N/A

User  
0 rated :

I am running on OX Yosemite version 10.10.2 and I have version 41.0.2 of Firefox.

sportsfanoneonezerozero N/A

User  
0 rated :

OS X sorry

Todd

JW Player Support Agent  
0 rated :

I have Firefox 42 on OS X 10.10.5 and your video is working for me at http://taylorstutorials.com/vidtemplate2.html. Looks like you’re linking to an FLV video, so that means you need to have Flash installed. Do you have an MP4 version of that video? If you upload it to us, we will convert it to MP4 for you.

I do see a small CSS problem on that page because <!doctype html> is missing from the top of your page, but other than that, everything looks fine.

Is the JW Player preview page at http://content.jwplatform.com/players/7Hfgdi6V-pKnTvlpS.html working for you?

sportsfanoneonezerozero N/A

User  
0 rated :

No. It's just blank!

sportsfanoneonezerozero N/A

User  
0 rated :

So I loaded my website on a virtual machine and the video payer loaded, but it just says: "Error Loading Player: No playable sources found"

George

JW Player Support Agent  
0 rated :

Hi,

Todd is out of the office today, but I’d like to figure out the trouble with your site. What is the url to your most current setup. Try and keep it as simple as possible. Only JW Player on the page. Once you have that, send me the url to the video you’d like to play, if it’s MP4 it’s better. Once I have your simple/most recent test page and your video url I’ll be able to check out the issue.

Talk soon

sportsfanoneonezerozero

User  
0 rated :

Hi George,

So with just the jwplayer on the page, it works, however, it only works with the .flv file that I have up. I have an .mp4 and I have added the proper mimes to my site, and the player loads, it just doesn't load the video.

FLV site: https://content.jwplatform.com/previews/7Hfgdi6V-pKnTvlpS

MP4 site: https://content.jwplatform.com/previews/mFgiUGGL-pKnTvlpS

Now on my website, I have the flv video embedded here:
http://www.taylorstutorials.com/vidtemplate2.html. The website can't really get much simpler than what I have. Just a bunch of sliced images and that's it. For some reason the player doesn't show up at all, but it works for everyone else! I don't get it. I'm guessing there is something wrong with my computer.

Thanks

George

JW Player Support Agent  
0 rated :

The video here:
http://taylorstutorials.com/Videos/Sportsfan1100/test.mp4
Doesn’t seem to display nicely, so I downloaded the original flv and transcoded using:
I would try re-encoding using the default settings on handbrake:
https://handbrake.fr/

The resulting code is here:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script src="http://content.jwplatform.com/libraries/wkJXbZ5N.js"></script>

</head> <body> <div id="container">Loading Video…</div> <script> var playerone = jwplayer("container"); playerone.setup({ file:"http://content.jwplatform.com/videos/KXWBaExE-VnaGH5hb.mp4", width:"80%", aspectratio:"16:9", }); </script></body> </html>

This question has received the maximum number of answers.