Can the bufferlength be changed once the video is loaded? I'd like to be able to keep it short for the initial load, so as to reduce any lag time a user might experience in waiting the fir the video to begin. But then once it's playing, I want to increase it to reduce the need for rebuffering as network conditions fluctuate.
Can this be done using the existing Javascript API? If not, could it be done using a plugin API?
Thanks,
Larry
Here are a couple of Buffer plugins for you to play around with.
http://willswonders.myip.org:5081/buffer.swf
http://willswonders.myip.org:5081/buffer-test.swf
buffer-test.swf displays the current bufferlength in the lower-left corner of the displayarea.
Both plugins accept two flashvars:
'buffer.initialinterval': '15', // default: 10'buffer.bufferlength': '15', // default: 10
buffer.initialinterval is the initial interval during which the player will use the bufferlength which is set in the player's flashvars or the default of 1.
buffer.bufferlength is the bufferlength that will be used after the initial interval.
That's all!