Yes u can.

And not, "The normal "upload" type in db only lets me choose an image"
don't do that - RTFM:

http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#More-on-uploads

You are probably including some code from examples and using a image
validator for the upload field.. and pls post your code or else no
body will help.



2016-12-14 20:27 GMT-05:00 David <[email protected]>:
> How can I upload a video and display it in a view from the db?
>
>
> The normal "upload" type in db only lets me choose an image
>
> I have tried these links:
>
> http://www.reddit.com/r/Python/comments/1r7v23/audio_streaming_app_in_web2py_from_scratch/
> https://groups.google.com/forum/#!topic/web2py/B1l_RfCYpXA
> https://groups.google.com/forum/#!searchin/web2py/upload$20video$20%7Csort:relevance/web2py/nV64Vbjc-48/63f7wN5QnEsJ
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.



-- 
Yoel Benítez Fonseca
http://redevil.cubava.cu/
$ python -c "import this"

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to