banner

How to embed a YouTube videoΒΆ

Sphinx lets you use html code. Start an indented html block with .. raw:: html html. So it is very easy to embed all kinds of widgets.

Use this code:

.. raw:: html

        <object width="480" height="385"><param name="movie"
        value="http://www.youtube.com/v/SBqYZ3KdAUc&hl=en_US&fs=1&rel=0"></param><param
        name="allowFullScreen" value="true"></param><param
        name="allowscriptaccess" value="always"></param><embed
        src="http://www.youtube.com/v/SBqYZ3KdAUc&hl=en_US&fs=1&rel=0"
        type="application/x-shockwave-flash" allowscriptaccess="always"
        allowfullscreen="true" width="480"
        height="385"></embed></object>

to get this:

Done


Published:Fri Jun 25 2010