;-) from gluon.contrib.autolinks import expand_one d = session.cache_links or {}
{{=XML(expand_one(url, d))}} On Monday, 29 December 2014 08:59:00 UTC-6, Vikash Singh wrote: > > Hi Massimo, > > First of all have a Great year forward, > > I have no match with your knowledge of awesome web2py, most of things in > which i have familiar, *When manually attaching a video link (from > YouTube, Vimeo, etc) to a post , is there a way so that it automatically > recognise the video link*.for example --Facebook automatically recognizes > the link as a video, and allows the resulting status message to play the > video inline. The video is displayed as an embedded player in the Wall or > News feed. Exactly the same thing which i want to do. > > Please help me, as i have tried everything but the result is not as per > expectation. now you are the boss. > > Thanks in Advance "Professor" > > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.