> 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 --