Thanks the author of the youtube directive.

This commit is contained in:
Alexis Metaireau 2012-06-08 11:23:18 +02:00
commit 3dd63a012e

View file

@ -41,6 +41,8 @@ directives.register_directive('sourcecode', Pygments)
class YouTube(Directive):
""" Embed YouTube video in posts.
Courtesy of Brian Hsu: https://gist.github.com/1422773
VIDEO_ID is required, with / height are optional integer,
and align could be left / center / right.