Forums

Server doesn't seem to support Range header. Cannot skip videos while watching.

I am a free user and I have django app.

Problem is that I have videos in my media folder and when i watch them or put link to my website i can't move forward and backward in the video. I googled and I think the problem is in Range headers and seems that server does not send them to client.

Question: Is this will be the same if i upgrade my account?

We have a ticket to implement range headers, but we do not know when we will do it. It will be the same with a paid account.

Is adding this middleware to my settings.py can help? I just copy pasted that middleware to my settings.py but do i need to use it somewhere in my views.py ?

Yes, you can use that. It looks like that works for all your views that return responses with file_to_stream on them.

Thanks! I will try to create view that returns file_to_stream response.