Markdown extension to allow media embedding using the oEmbed standard.
pip install python-markdown-oembed
>>> import markdown
>>> md = markdown.Markdown(extensions=['oembed'])
>>> md.convert('')
u'<iframe width="459" height="344" src="http://www.youtube.com/embed/zqnh_YJBvOI?fs=1&feature=oembed" frameborder="0" allowfullscreen></iframe>'
A Public Domain work. Do as you wish.