whatisgithub

What is sphinxcontrib-youtube?

ardupilot/sphinxcontrib-youtube — explained in plain English

Analysis updated 2026-07-21 · repo last pushed 2024-08-30

2PythonAudience · developerComplexity · 1/5StaleSetup · easy

In one sentence

A small plugin that lets you embed YouTube, Vimeo, and Peertube videos directly into documentation pages built with Sphinx, the popular documentation generator.

Mindmap

mindmap
  root((repo))
    What it does
      Embeds YouTube videos
      Embeds Vimeo videos
      Embeds Peertube videos
    Tech stack
      Python
      Sphinx
      reStructuredText
    Use cases
      Tutorial videos in docs
      Course lessons in docs
      Video walkthroughs in help
    Audience
      Documentation authors
      Open-source teams
      Course creators
    Setup
      Install plugin
      Add video directive
      Build docs

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add short tutorial videos alongside written setup instructions in your documentation site.

USE CASE 2

Embed video lessons directly in docs so readers can watch without leaving the page.

USE CASE 3

Include Vimeo or Peertube videos in your Sphinx-built documentation using a single line per video.

What is it built with?

PythonSphinxreStructuredText

How does it compare?

ardupilot/sphinxcontrib-youtube0-bingwu-0/live-interpreter0xkaz/llm-governance-dashboard
Stars222
LanguagePythonPythonPython
Last pushed2024-08-30
MaintenanceStale
Setup difficultyeasymoderatehard
Complexity1/52/54/5
Audiencedevelopergeneralops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires an existing Sphinx documentation project and basic familiarity with reStructuredText.

No license information provided in the repository explanation.

So what is it?

sphinxcontrib-youtube is a small plugin that lets you embed YouTube, Vimeo, and Peertube videos directly into documentation pages built with Sphinx. Sphinx is a popular documentation generator used by many open-source and technical projects, and this extension fills a straightforward gap: making it easy to place a playable video right inside a help doc, tutorial, or reference page. Using it is deliberately simple. Instead of dealing with embed codes or HTML snippets, you just add a short line to your document that names the platform and the video's ID. For example, writing a single line with the word "youtube" followed by a video ID will render that video when the documentation is built. The same approach works for Vimeo and Peertube, and Peertube instances on custom servers are supported too by specifying which server to pull from. The people who would use this are teams or individuals already writing documentation in reStructuredText and building it with Sphinx. A practical example: a software project that wants to include short tutorial videos alongside written setup instructions, or a course creator who hosts video lessons on YouTube and wants them viewable directly inside the documentation site rather than sending readers elsewhere. What's notable is how minimal and focused the project is. It does one thing, embed videos from three platforms, without unnecessary complexity. The README doesn't go into much detail beyond the basics, but the project points to fuller web documentation for anyone who needs it. It's a utility built for a specific need within the Sphinx ecosystem, and it keeps the barrier to entry very low for documentation authors who just want to drop a video into a page.

Copy-paste prompts

Prompt 1
How do I install sphinxcontrib-youtube and add a YouTube video to my Sphinx documentation?
Prompt 2
Write a reStructuredText snippet that embeds a Vimeo video using sphinxcontrib-youtube, including the correct directive and video ID.
Prompt 3
Show me how to configure sphinxcontrib-youtube to embed a video from a custom Peertube server instance in my Sphinx docs.

Frequently asked questions

What is sphinxcontrib-youtube?

A small plugin that lets you embed YouTube, Vimeo, and Peertube videos directly into documentation pages built with Sphinx, the popular documentation generator.

What language is sphinxcontrib-youtube written in?

Mainly Python. The stack also includes Python, Sphinx, reStructuredText.

Is sphinxcontrib-youtube actively maintained?

Stale — no commits in 1-2 years (last push 2024-08-30).

What license does sphinxcontrib-youtube use?

No license information provided in the repository explanation.

How hard is sphinxcontrib-youtube to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is sphinxcontrib-youtube for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.