Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django runserver - can't serve video files

Tags:

django

video

When running Django in local mode using the runserver command video files are not loaded in the browser properly. I get the error

An error occurred trying to load the resource.

All other static files serve fine such as images, javascript and css.

like image 688
turbotux Avatar asked Feb 10 '17 22:02

turbotux


1 Answers

I have found the answer finally, Django's runserver does not support byte range requests. See this thread:

https://groups.google.com/forum/#!msg/django-developers/NZ1qTkZ6vok/fhdz7rTtL1EJ

And this ticket:

https://code.djangoproject.com/ticket/22479

like image 147
turbotux Avatar answered Oct 01 '22 15:10

turbotux