tanoku/sundown — pull request #112 by xpaulbettsx (2012-05-13 02:22:21+00:00)
Title: Support the HTML5 Video tag as an Extension

Now that the HTML5 Video tag is evolved to the point where it's reasonable to use, it'd be more awesome if we could be embedding screencasts / product demos / whatever in Markdown content.

To do this, I've started implementing an extension to Markdown to support the video tag. I'm proposing the following syntax, which is completely up for debate / changeable:

```
!![Alt Text](/path/to/video1.mp4,/path/to/video2.webm /path/to/poster.jpg)
```

The main difference is the ability to specify more than one URL, corresponding to the multiple URLs in the tag, since patents have made the Video tag more annoying, as well as the ability to specify the Poster URL (the image that gets shown before the user clicks Play).

```
TODO:

[X] - Add a new callback for video
[X] - Implement a renderer for the callback
[ ] - Add a new parse function to parse the video tag
```