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

Support for "loop" attribute is missing #3

Closed avarga closed 1 year ago

avarga commented 4 years ago

Currently there seems to be no way to control that the video should loop or not.

Looking into the code, looks like it currently supports the width, height, path, alt, autoplay and (no)controls HTML attributes. How about supporting more, like: loop, audio, poster, preload (see spec at https://www.w3.org/TR/2011/WD-html5-20110113/video.html#video)

I can provide a pull request if that helps.

JulianGro commented 3 years ago

4