Thanks Alan for your help. 

Have two more questions related to this: 

1. In a thread bellow Massimo suggested to deprecate "embed', but without 
it, the video will not be embedded, only link will be displayed. Should I 
stick to embed, or look for some other solution? 
https://groups.google.com/d/topic/web2py/0O8db-UTZk4/discussion

2. Is there any way to set the size of the iframe through MARKMIN? I found 
width=270, height=230 displays nicely commands at the bottom of the youtube 
video. 
 

On Tuesday, January 1, 2013 9:55:36 PM UTC-5, Alan Etkin wrote:
>
> > El martes, 1 de enero de 2013 22:11:55 UTC-3, Adi escribió:At the moment 
> I'm using
> > plugin_wiki to display youtube videos on web pages. How would I replace 
> it with 
> > auth.wiki() without creating new wiki pages, and wiki menu?
>
> The built-in MARKMIN helper is the simplest tool to embed video:
>
> def myvideo():
>     mm = """
>     #### Planets and stars scales
>     embed:http://www.youtube.com/embed/x1w8hKTJ2Co    
>     """
>     return dict(video=MARKMIN(mm))
>
> There's an introduction to MARKMIN and the markmin syntax in the book:
> http://www.web2py.com/books/default/chapter/29/05#HTML-helpers
>
>

-- 



Reply via email to