On 16 September 2010 13:32, Waylan Limberg <[email protected]> wrote: An interesting thought just occurred to be when re-reading this. Why do you > need any special syntax at all? Why not just:
> [Soda Pop Stop](http://www.youtube.com/v/gPbh6Ru7VVM ) > Just parse the urls for "youtube.com" (or "vimeo" etc) and when > found, convert to an appropriate object. It's easy, simple and introduces > no new syntax of any kind. Brilliant suggestion, Waylan! I'd been thinking that providing a default replacement for unrecognized video hosts would be helpful (the `[Vv]ideo:` syntax would enable this), but you've convinced me otherwise. By using standard link syntax, the fact that Mango will replace a link to a YouTube video with the markup necessary to embed that video will be a magical special case, whereas using `[Vv]ideo:` would set the unreasonable expectation (as you so rightly point out) that any video should work. Thanks everyone, for your input. I'll run with the standard link approach, and add to Mango special rules for handling youtube.com video links. David On 16 September 2010 13:32, Waylan Limberg <[email protected]> wrote: > On Wed, Sep 15, 2010 at 9:24 PM, Waylan Limberg <[email protected]> wrote: > > While I realize youtube can be extracted from parsing the url, by > > An interesting thought just occurred to be when re-reading this. Why > do you need any special syntax at all? Why not just: > > [Soda Pop Stop](http://www.youtube.com/v/gPbh6Ru7VVM ) > > Just parse the urls for "youtube.com" (or "vimeo" etc) and when found, > convert to an appropriate object. It's easy, simple and introduces no > new syntax of any kind. > > -- > ---- > \X/ /-\ `/ |_ /-\ |\| > Waylan Limberg > _______________________________________________ > Markdown-Discuss mailing list > [email protected] > http://six.pairlist.net/mailman/listinfo/markdown-discuss >
_______________________________________________ Markdown-Discuss mailing list [email protected] http://six.pairlist.net/mailman/listinfo/markdown-discuss
