Thursday, September 19, 2013

Re: Preview video

You can use HTML5 or some free flash player this is one i use http://www.longtailvideo.com/jw-player/about/

See ya


2013/9/19 Hélio Miranda <helio13m@gmail.com>
Good staff.

I'm here with a problem which is: I'm uploading videos and now wanted to show the video, but not sure how. I have to use a player?
Someone can help me.

For example the images I'm uploading and then viewing the'm doing something like this

def viewAcademyPhotos (request, id):

     mongoengine.fields.GridFSProxy = fs ()
     fs.get picture = (id = ObjectId (id)). read ()
    
     return HttpResponse (photo, content_type = 'image / jpeg')


In the videos, how about it? Change the content_type for eg video / avi

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.



--
Rafael E. Ferrero

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate