Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Am attempting to use the lastest flowplayer. (if it could work it would be pretty awesome btw)

One of the cool things about it is it uses the new HTML5 video element and supports random seeking/playback. In order to do this, you need a byte range request capable server on the backend. Luckily I'm using Lighttpd 1.5.0 on the backend.

Unfortunately the current behavior is that when I do a random seek, the video simply restarts itself from the beginning.

the docs say:

"For HTML5 video you don't have to do any client side configuration. If your server supports byte range requests then seeking should work on the fly. Most servers including Apache, Nginx and Lighttpd support this."

On my page, using chrome web developer tools, i can see when the video is requested, the server response headers indicate it is able to acce[t byte ranges.


when I do random seek in the player, I can see that that byte ranges are request appropriately in the request header:

Range: bytes=5668-10785

I can also verify the moov atom is at the front of the video file.

My question here is if there is something else on the lighttpd side i'm missing in order to enable byte-range requests?

The reason i ask is because the current behavior suggests that the lighttpd simply doesn't understand the byte range request and is just reserving the video from the beginning.


it's clearer to put this here. As per RJS' suggestion I ran a curl command. in the response it looks like lighttpd is working as expected.

Content-Range: bytes 1602355-18844965/18844966
Content-Length: 17242611

share|improve this question
nice to know... what is the question? – RJS Oct 13 '12 at 0:07
LOL. have you never accidently hit enter by accident while entering tags? haha. full details now. =) – w-01 Oct 13 '12 at 0:15
this MP4 are static files? (not for example generated via php or other script)? try: curl -v -s -o /dev/null -r start-stop url to verify if server return correct answer. – RJS Oct 13 '12 at 0:39
yes the MP4 files are static. good suggestion with the curl. results above. it looks like lighttpd is performing as expected? – w-01 Oct 13 '12 at 0:54
It looks that your web server works correctly. Are you sure that HTML5 version of the player is used? If I recall correctly flash does not support range requests. Restarting video from begining looks like flash issue. – RJS Oct 13 '12 at 1:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.