where do I put the import statement?

On Friday, 18 January 2013 16:02:27 UTC, Massimo Di Pierro wrote:
>
> from gluon.contrib.autolinks import expand_one
>
> {{=expand_one('http://www.youtube.com/watch?v=7yvt2Pt6LRA')}}
>
> On Friday, 18 January 2013 04:58:20 UTC-6, sasogeek wrote:
>>
>> at the moment, i can let users upload pictures and use the img tag to 
>> allow the image to be displayed on a page, when users upload videos, how do 
>> i allow the videos to display and play on the page... and if users submit a 
>> youtube link, how do i grab the embed code to display the video on the page?
>
>

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to