{"library":"mkdocs-video","title":"mkdocs-video","description":"mkdocs-video is a Python plugin for MkDocs that simplifies embedding videos into documentation pages using a straightforward Markdown syntax. The current version is 1.5.0, which features a rewritten HTML parsing mechanism using `lxml.html` for more granular configuration with Python-Markdown's Attribute Lists extension. The project maintains an active, though irregular, release cadence.","language":"python","status":"active","last_verified":"Thu Apr 16","install":{"commands":["pip install mkdocs-video"],"cli":null},"imports":["# In mkdocs.yml\nplugins:\n  - mkdocs-video"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# mkdocs.yml\nsite_name: My Docs with Videos\nplugins:\n  - mkdocs-video: # Minimal configuration\n      is_video: True # Optional: Forces <video> tag over <iframe>\n\n# docs/index.md\n# Embed a local video\n![type:video](videos/my_local_video.mp4)\n\n# Embed a YouTube video\n![type:video](https://www.youtube.com/watch?v=VIDEO_ID)\n\n# Embed a video with specific attributes using Attribute Lists (requires markdown_extensions:\n#   - attr_list in mkdocs.yml, available since mkdocs-video v1.5.0)\n![type:video](videos/another_video.mp4){: autoplay loop muted style='width: 80%;'}","lang":"yaml","description":"To quickly get started, install the package and then enable the `mkdocs-video` plugin in your `mkdocs.yml` file under the `plugins` section. You can then embed videos in your Markdown files using a simple image-like syntax with `![type:video](path/to/video.mp4)`. For fine-grained control, especially with version 1.5.0 and newer, enable the `attr_list` Markdown extension and use attribute lists in your Markdown.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}