Skip to content

Commit

Permalink
Merge pull request #10611 from tetrapod00/fix-video-again
Browse files Browse the repository at this point in the history
Fix video alignment after dependency update without CSS
  • Loading branch information
mhilbrunner authored Feb 4, 2025
2 parents adeaa6d + 39bbba6 commit 1afdbaf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contributing/documentation/docs_image_guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,12 @@ videos should be included with the following code snippet::
:autoplay:
:loop:
:muted:
:align: default

Where ``documentation_video.webp`` would be changed to the name of the video you
created. Name your videos in a way that makes their meaning clear, possibly with
a prefix that makes their relationship to a documentation page explicit.

The ``:autoplay:``, ``:loop:`` and ``:muted:`` flags should always be specified
unless the video needs to play audio. In this case, do not specify *any* of these flags.
The ``:align: default`` flag should always be specified.
1 change: 1 addition & 0 deletions tutorials/2d/2d_parallax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ The video below displays how these values affect scrolling while in-game:
:autoplay:
:loop:
:muted:
:align: default

Infinite repeat
---------------
Expand Down
1 change: 1 addition & 0 deletions tutorials/3d/csg_tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Interior environments can be created by using inverted primitives.
:autoplay:
:loop:
:muted:
:align: default

.. seealso::

Expand Down
1 change: 1 addition & 0 deletions tutorials/3d/spring_arm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,4 @@ Run the game and notice that mouse movement now rotates the camera around the ch
:autoplay:
:loop:
:muted:
:align: default

0 comments on commit 1afdbaf

Please sign in to comment.