MkDocs IZSAM Video
This plugin is based on the Mikalai Lisitsa idea, please visit the page of the project at https://pypi.org/project/mkdocs-video/.
The plugin allows you to embed videos on the documentation pages using a simple Markdown syntax. This plugin allows to embed videos only in a <video> tag, if you need <iframe> or YouTube or third parties videos embed, please refer to Mikalai Lisitsa plugin.
Installation
Install the package with pip:
$ pip install mkdocs-izsam-video
Enable the plugin in the mkdocs.yml file:
plugins:
- mkdocs-izsam-video
See how to use MkDocs Plugins
Usage
To add a video to the final documentation page, you need to use the Markdown syntax for images with a specific name (hereinafter marker).
See how to use Markdown syntax
Example:
content folder structure
├── content
| ├── ...
│ ├── video.md
│ └── videos
│ └── your-video.mp4
└── mkdocs.yml
video.md
Use relative paths for videos stored together with your content
# Video example
Lorem ipsum dolor sit amet

Configuration
Marker
By default, the string type:video-tag is used as a marker in the Markdown syntax.
You can change this value by adding the following lines to your mkdocs.yml:
plugins:
- mkdocs-izsam-video:
mark: "your-marker"
Now you can use this marker in the Markdown syntax:

Marker
By default, the following CSS styles are used for the <video> tag that is inserted into the final page:
width: 100%;
You can change the style by adding the following lines to your mkdocs.yml:
License
The MIT License (MIT)
Copyright (c) 2021 Alessandro De Luca
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Change log
[1.0.3] - 2022-11-24
README update
[1.0.2] - 2022-05-2
Bug fix in plugin.py
[1.0.1] - 2022-04-28
Read me changes
- Typos and sentences correction
[1.0] - 2022-02-02
First release
- modified base plugin mkdocs-video to use HTML5 video tag
Metadata
Release files for mkdocs-izsam-video 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mkdocs-izsam-video-1.0.3.tar.gz | 3.9 kB | Without provenance | Details for mkdocs-izsam-video-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mkdocs_izsam_video-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for mkdocs_izsam_video-1.0.3-py3-none-any.whl |
Total release size: 9.0 kB
Release files / mkdocs-izsam-video-1.0.3.tar.gz
| Download URL | mkdocs-izsam-video-1.0.3.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2e544838747fddb11035d156222f149916744dda1b2d239616516c54fce2d75
|
|
BLAKE2b-256 checksum How to use checksums |
b7cd174a111ee565e5cc9c93c3f68700b57a9eb6bfaae3cb210a7faf320b2f89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Release files / mkdocs_izsam_video-1.0.3-py3-none-any.whl
| Download URL | mkdocs_izsam_video-1.0.3-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b078f72bad6e0e07c54a883cf8b6c82e42a434d6cb0e15ad50f1ef9b4ecccec9
|
|
BLAKE2b-256 checksum How to use checksums |
a02acc7e0d079d8c9276a1bb16e7c386b7925528c8f03510fb968456afce83bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Security for mkdocs-izsam-video 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.