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

Buffering issue


Dear Support team!

Would you be so kind to explain one issue with buffering?
JW player earlier had an outstanding capability to change the default buffer length. called "bufferlength"?

At the moment, this property is ignored as i think.

How can i change the default buffer length for my videos in JW Player 6?

It is crucial for my site operation because of the remoteness of the server.

I must get rid of ocassional video stops caused by low video download speeds, and the only way i see to resolve such an issue is to change the default buffer length to a bigger value. How can i do that in JW Player 6?

23 Community Answers

JW Player

User  
0 rated :

rtmp: {
bufferlength: 6(change this to what you want the buffer time to be-up to 10 I believe)
},

Ethan Feldman

JW Player Support Agent  
1 rated :

Do you have a link?

JW Player

User  
0 rated :

I'm having the same issue on my site and I can't find bufferlength in the jwplayer.js file. Is this criteria set somewhere else?

Ethan Feldman

JW Player Support Agent  
0 rated :

Link?

JW Player

User  
0 rated :

Here is the link, caution it is adult content. The videos all play but no sound.
shefetish.com/home

Ethan Feldman

JW Player Support Agent  
0 rated :

Sorry, please provide a SFW link.

JW Player

User  
-1 rated :

My question has morphed into two questions the sound issue appears to be related to the Audio Bit Rate not buffering. Only one of the .mov files will not play sound and it has a significantly higher Audio Bit Rate of 1563kbps compared to an average of 100kbps for the others. Could that be the cause?

As for bufferlength I still cant figure out where to change buffer length to allow videos to play prior to 100% buffer.
Here is a safe link http://shefetish.com/jw (the sample video is short thus quick buffer)

JW Player

User  
0 rated :

In the documentation the following is given to change the buffer duration:

rtmp: {
bufferlength: 6
},

It works. I had customers complaining there wasnt enough buffer time, I no longer have that issue. Of course change the number to what ever you want you buffer to be. 0 to 10 is the range.

JW Player

User  
0 rated :

BTW the video on the linked page loaded really fast, 8 secs so its a small file compared to the one your having the issues with which I am assuming its much longer than 8 secs

Ethan Feldman

JW Player Support Agent  
0 rated :

Note, bufferlength is for RTMP only. I hear the sound fine on the linked page btw.

JW Player

User  
0 rated :

Correction: my question is related to files, not the streaming. Is there any way to make the player to expand the initial buffer?

Ethan Feldman

JW Player Support Agent  
0 rated :

There is not, I’m afraid.

JW Player

User  
0 rated :

Any possible workaround?
Maybe i should move my video files to the different server located closer to Russia, and then change the URL's? My hosting provider's servers located in Houston USA. I'm using the "on the server" configuration of JW player, and the majority of my customers is located in Russia.
I'll try it, and then write here.

JW Player

User  
0 rated :

After temporary relocation of media files to the server which is geographically closer, the videos started to load at rapid speeds, and run very nice. So, this method can be used as an extreme measure. BUT, as i said before,
these measures have been taken only as an experiment to test the idea.

Nevertheless, the problem of media content transfer to geographically distant users remains unsolved.

It seems to me that the above mentioned issue is important not only for me, but for the large quantity of the JW Player end-users.

In my very humble opinion, now it is time to consider the development of a customizeable setting, which would be make the buffer size for local files adjustable by the user (owner of the JW Player license, not the site visitor).

If only it'd be possible to adjust the size of preloaded portion of local video file before the playback starts....
Such setting can make the lack of download speed barely noticeable for the audience.

I bet for sure, i was the first JW Player license owner, who started to offer the such feature in the player. But also, i am more than sure, that such a feature will be in high demand, or even already in the dreams of every second webmaster with the JW Player license already purchased

To the longtailvideo.com staff: Hey guys, it was only an offer, but i'd like to hear your own opinion on the aforementioned idea for the new feature? Is it possible to see such a thing in any future versions of JW Player? As i said before, it can be in high demand.

Sincerely yours, Alexander Timofeev.

Ethan Feldman

JW Player Support Agent  
0 rated :

This is something that can be set already, but you need to use streaming in order to set a bufferlength like this.

JW Player

User  
0 rated :

Ok, understood. Would you be so kind to explain at least briefly, how can i set up streaming of my FLV's and MP4's? I never used streaming myself before, but as far as i know it is a technology to transmit a video stream from the device to the site directly? I need some more information on this topic, if you please. Is there any HOWTO's?

Ethan Feldman

JW Player Support Agent  
-1 rated :

If you want to use FLV and MP4, you can do a set up like this – http://www.longtailvideo.com/support/jw-player/29251/mp4-and-webm-formats

But instead of using mp4 and webM, use flv and mp4.

JW Player

User  
0 rated :

I'd like to look into the provided link, but i see only
Access denied
You are not authorized to access this page.
How can i have access to this link?

Ethan Feldman

JW Player Support Agent  
-1 rated :

That link is no longer valid.

However, here is some code for this setup:

<div id="myElement"></div>

<script>
    jwplayer("myElement").setup({
      playlist: [{
        image: "/uploads/myPoster.jpg",
        sources: [{
          file: "/uploads/myVideo.mp4"
        },{
          file: "/uploads/myVideo.webm"
        }]
      }]
    });
</script>

JW Player

User  
0 rated :

Thanks, i'll try this out on monday. But where i shuld add bufferlengh?

Ethan Feldman

JW Player Support Agent  
-1 rated :

Np. You can only add bufferlength for rtmp.

JW Player

User  
0 rated :

I have another idea: I figued out that there are CDN on online variant of JW player installation (Publishing Wizard). I think that if i change the host based player with the cloud-based variant, it could resolve the bandwith problem, if Your CDN has a better channel to Russian Federation than my hosting provider. Please evaluate my idea, could this measures make it right. Anyway, my hosting provider refuses to set up any supported streaming service.

Ethan Feldman

JW Player Support Agent  
0 rated :

I would try to use the cloud player, it is worth a shot!

This question has received the maximum number of answers.