First part of your problem is to get user submitted file and send the
file back. Mike link might help you with that, I haven't checked.
The second part is to show to the user an html video they can play.
Last time I checkd, It was browser specific. Some only handle open
codec like webm, other only proprietary codec pushed by adobe.
As long as there is no codec supported by every browser, you need to
convert the video uploaded by the user multiple time, to get versions
covering all the browser you want to support. Then you display the
right video to each browser.
The problem of choosing the right format for the right browser isn't
django specific and have been covered numerous time. For handling
video conversion, I would suggest an asynchronous solution. Doing it
in the view handling post request would do a really bad user
experience. I suggest celery for this task.
So recap.
You need to:
- get file from your user and send kind of static file to user
- convert video out of a request
- set up a <video> element to request the right movie
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
django-users...@googlegroups.com.
> To post to this group, send email to
django...@googlegroups.com.
>
https://groups.google.com/d/msgid/django-users/e5004b13-722d-4565-8c7f-dcc9297a9c6c%40googlegroups.com.
--
Cordialement, Coues Ludovic
+336 148 743 42