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

Slow loading JW Player script


Hey all,

On some computers, like my own, my Firefox freezes when it is loading the JW Player script. Is this a known issue?

In my page I have this:

bc.. <script type="text/javascript">
jwplayer("container").setup({
flashplayer: "/jwplayer/player.swf",
file: "/Repository/" + '<%= Request["ccode"] %>' + ".flv",
height: 320,
width: 520,
controlbar: "bottom",
skin: "/jwplayer/carbon.zip",
screencolor: "000000"
});
</script>



And I'm using the those two scripts:
bc.. <script type="text/javascript" src="/jwplayer/swfobject.js"></script>
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>



Am I doing something wrong here?

Any comment will be appreciated!
Kind regards,
Floris

28 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

It is not a known issue.

Please provide a link, thanks.

JW Player

User  
0 rated :

I can't provide a link as it is not online yet. We're still waiting for our public ip and will take a bit longer before we go online.

On my laptop and on the server itself it loads slow, but on other computers it goes fast. Once I got the message saying "this script is taking to long to load" or something like that (where you have the option in Firefox to stop the script or continue).

Ethan Feldman

JW Player Support Agent  
0 rated :

I am going to need to see a link to be able to better help you.

JW Player

User  
0 rated :

Forgive me for asking, but how will that help you? The problem is when the website gets online I can't work on it anymore.

Ethan Feldman

JW Player Support Agent  
0 rated :

Because you say it loads slow for you.

For me, it loads fast on – http://www.longtailvideo.com/players/jw-flv-player/ for example, but maybe you are doing something different, or have a server configuration issue, or something arbitrary that is making this happen. But if I can’t replicate the slow loading issue, how can I troubleshoot it?

JW Player

User  
0 rated :

And how would you replicate it with just a look at my website? You would be able to experience it, but replicate it? A server configuration issue is something you can't see from a look at the webiste.

If you need code that I can give you. But maybe it's just an old script I have of you guys, I'll try downloading the last version and see if this helps.

JW Player

User  
0 rated :

@Floris

If you can provide a link in which you have the issue then perhaps when viewed one may be able to see other things as well.

Provided the code is what can be termed as tli(too little information)

JW Player

User  
0 rated :

Well I'll have to figure it out myself then :/

As I said, the public ip will only be available next week. The website won't be online in the next three weeks and then I'm on my way back home. My intership is over by then.

I'm sorry can't provide you a link but that's just the case right now. If I can't find it myself I'll have to come up with another solution.

JW Player

User  
0 rated :

Without a link to look at it is impossible to help you

Ethan Feldman

JW Player Support Agent  
-1 rated :

Yes, because without seeing this in action, I am not quite sure what we are supposed to do?

JW Player

User  
0 rated :

I get it, you want the link fine. But for the last time, I *can't* provide one.

If you could tell me what you will when you receive the link then I can do that myself?

Ethan Feldman

JW Player Support Agent  
0 rated :

What I would probably do is check your link out , open up Firebug, see if there are any errors, see how long the requests take with a plugin for Firebug called YSlow.

JW Player

User  
0 rated :

Now that's information I can work with. As for the problem, I noticed that my javascript was in the masterpage and the content page as well. Removing the ones on the content page did make it go faster.

Anyway thanks for the info, I can use those tools to determine my problem more if needed.

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

JW Player

User  
0 rated :

I've noticed this problem across many of our sites. The problem is not the slow-loading jwplayer, but the slow-loading flash player. Once your browser has launched the flash plugin, jwplayer loads normally on every other page. This is not a slow-loading page but a total freeze of the browser process for several seconds, with accompanying beach-ball cursor.

This is much less noticeable on Google Chrome which I believe has a flash plugin embedded in it. It also does not occur if plugins are turned off and the jwplayer script loads the HTML5 player.

Ethan Feldman

JW Player Support Agent  
-1 rated :

Provide a link?

JW Player

User  
0 rated :

This is from our company website, the frontpage loads the jwplayer with a poster, while the other page loads the jwplayer only when an icon is clicked:

http://dbn.ca/en
http://dbn.ca/en/starweb-tv-en

Ethan Feldman

JW Player Support Agent  
0 rated :

Both of these loads immediately for me.

On a basic cable connection.

One note is you are using 5.5.

5.6 is out now – http://www.longtailvideo.com/order/view/

JW Player

User  
0 rated :

It is likely an environment-dependent bug. As I said it happens on Firefox and Safari browsers and only when the browser session has yet to launch the flash plugin.

We are using MacBooks (Air and Pros) when we notice this.

JW Player

User  
0 rated :

@Mathieu

bonjour, ca va?

The first that I would do is to correct the errors that are present on your link above, it does not validate.


Je suis originaire de Calgary et a vcu dans le quartier NDG M'tl

a bien tot


Ethan Feldman

JW Player Support Agent  
0 rated :

Okay, got it, thanks.

I would still recommend upgrading to 5.6 from 5.5.

JW Player

User  
0 rated :

I too am having difficulty with slo-loading pages that use JWPlayer. Any help will be appreciated. Here's a link to one of our pages:
http://www.decorahlutheran.org/videos.shtml

Ethan Feldman

JW Player Support Agent  
0 rated :

Loads quickly for me?

JW Player

User  
0 rated :

Interesting. It takes 17-20 seconds for me.
Well, if it loads quickly for you at least perhaps there is nothing wrong with the page.
Out of curiosity, where are you located and what sort of Internet speed do you have (actual, not 'advertised'). Our site is hosted in California, I believe, by DreamHost. We are in the midwest (Iowa)

JW Player

User  
0 rated :

One reason for the slowdown is the following

bc.. <script type="text/javascript" language="javascript" src="http://www.activemeter.com/counter.js"></script>



You have some structural issues and well as several phantom tag that have no need to be present.

IMHO, the slowdown is caused by several reasons.

I am sure that IF you address the issue then it will render much faster

JW Player

User  
0 rated :

Thanks Willie. I'll look the code over with that in mind.

JW Player

User  
0 rated :

It turns out that the reference to activemeter was causing the slow loading problem. Apparently I was 'asleep at the wheel' and somehow missed the fact that activemeter was being shut down. I removed that call and our website is again nice and speedy.
Thanks especially to Willie Meier for heading me in the right direction.

Ethan Feldman

JW Player Support Agent  
0 rated :

Ahh, glad you got it!

This question has received the maximum number of answers.