/youtube

A Sphinx extension to embed videos from YouTube

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

sphinxcontrib.youtube

license PyPi version

Overview

This module provides support for including YouTube, Vimeo and Peertube videos in Sphinx rst documents.

This module defines directives, youtube, vimeo and peertube which insert videos from the respective platforms. They take a single, required argument, which is the video ID:

..  youtube:: dQw4w9WgXcQ
.. vimeo:: 148751763
.. peertube:: 327a21b3-374e-4373-8b2c-494c9f5e1f19

Custom Server for peertube instances:

.. peertube:: 327a21b3-374e-4373-8b2c-494c9f5e1f19

   :instance: peertube.tv

For full usage information, please see the web documentation.