sphinx-contrib / video

A sphinx plugin that enables embedding of HTML5 videos
https://sphinxcontrib-video.readthedocs.io
Apache License 2.0
43 stars 29 forks source link

feat: add alternative source as optional argument #19

Closed 12rambau closed 1 year ago

12rambau commented 1 year ago

As mentioned in another PR, sometimes the codec of the video is unsuported by the user browser. By adding an extra argument to the directive, one can add an extra video file (with another format). the first one compatible will be displayed.

CC @JulianGro for feedback

superceed #4

JulianGro commented 1 year ago

Yeah, this looks amazing. I am glad that there is a maintainer around for this that actually fixes stuff up. Once this is merged and I find some time, I can finally move out documentation to upstream video.