Skip to content

Commit 76f9c9a

Browse files
authored
Merge pull request #593 from ReviKZ/patch-2
Extended width setting description
2 parents 17386a8 + 297b4ba commit 76f9c9a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/mc/widgets/video.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,19 @@ screen). Set to `0` (or leave this setting out) to play the video at
5858
whatever size the asset is configured for (or, if a size is not
5959
specified there, at the native video size).
6060

61+
OLD VERSIONS:
6162
Note that the `height:` and `width:` settings cannot stretch or skew the
6263
video. So if you enter values that result in an aspect ratio for the
6364
video widget that does not match the video itself, then the video will
6465
be sized as large as it can within the bounds of the size of the widget.
6566

67+
TESTED IN MPF 0.57 & KIVY 2.2.1:
68+
With the 2.2.1 Kivy version `height:` and `width:` settings can now stretch the video,
69+
skewing hasn't been tested. It's important to note, that both values must
70+
be set for the changes to happen; for example: if you only set `height:`
71+
to the desired value, the `width:` setting will default to `0` causing the
72+
video to be in it's native size.
73+
6674
### width:
6775

6876
Lets you specify the width of the video. Set to `0` (or leave the

0 commit comments

Comments
 (0)