Skip to content

Commit

Permalink
Add playsinline to supported options (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Jan 3, 2025
2 parents 750f930 + e0fd4a9 commit ba36a5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions sphinxcontrib/video/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"poster",
"preload",
"width",
"playsinline",
]
"List of the supported options attributes"

Expand Down
1 change: 1 addition & 0 deletions tests/roots/test-video/mp4_options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ video
:poster: https://example.png
:preload: none
:width: 640
:playsinline:
2 changes: 1 addition & 1 deletion tests/test_build/video_options.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<video autoplay="True" height="320" loop="True" muted="True" poster="https://example.png" preload="none" width="640">
<video autoplay="True" height="320" loop="True" muted="True" playsinline="True" poster="https://example.png" preload="none" width="640">
<source src="_images/video.mp4" type="video/mp4" />
You cannot display videos
</video>

0 comments on commit ba36a5d

Please sign in to comment.