Allows embedding of HTML5 videos in sphinx
Project description
The video extension allows you to embed .mp4/.webm/etc videos as defined by the HTML5 standard. It’s just a wrapper around:
<video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> Your browser does not support the video tag. </video>
Parameters
The extension should expose pretty much all parameters from the HTML5 <video/> tag.
Example:
.. video:: path/to/video.mp4 :width: 500 :height: 300 :autoplay: :nocontrols:
Please note that the width, height, autoplay and nocontrols parameters are all optional.
Installing
As usual with sphinx extensions, remember to add them to your config:
extensions = [ 'sphinxcontrib.video' ]
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sphinxcontrib-video-0.0.1.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc866c65a39a5ce0ab4f5c4ca14cf4e463261f7a5f7bddf951cb168ce34463a3 |
|
MD5 | 51e568e26e6f6bc031086aaea4a52cee |
|
BLAKE2b-256 | 25db925d4faa7d1c3079c613fc1ca118a5d6fea8c08286a125f98d4a88260674 |
Close
Hashes for sphinxcontrib_video-0.0.1.dev3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe319afdab7ee44f34397f1165fa5e2e9196217ea43cfa4fc41d0edb968f3c5a |
|
MD5 | 47694162bf2bc9a5634e1be7c062951b |
|
BLAKE2b-256 | 39bda7a7b8959551e2f465675bfd914bd476809da9855a3c28157e3e458c1569 |