Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 2.14 KB

README.rst

File metadata and controls

56 lines (39 loc) · 2.14 KB

sphinxcontrib-video

License: MIT conventional commit Black badge prettier badge PyPI PyPI - Python Version Read the Docs Codecov GitHub Workflow Status

The video extension allows you to embed .mp4/.webm/.ogg videos as defined by the HTML5 standard. It's a wrapper around the <video> tag. using a simple directive as:

.. video:: movie.mp4

will be rendered as:

<video>
   <source src="movie.mp4" type="video/mp4">
</video>

The extension exposes pretty much all parameters from the HTML5 <video/> tag.

More information about installation and usage in our documentation quickstart.