/video

A sphinx plugin that enables embedding of HTML5 videos

Primary LanguagePythonApache License 2.0Apache-2.0

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.