5

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.

zx485
  • 28,498
  • 28
  • 50
  • 59
turbotux
  • 422
  • 2
  • 11

2 Answers2

8

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

turbotux
  • 422
  • 2
  • 11
0

Try running

python manage.py collectstatic

Of course you must have STATIC_ROOT and STATICFILES_DIRS set properly in your settings file.

doggra
  • 1
  • 3