Skip to content

Commit e77fdb2

Browse files
authored
Merge pull request #603 from ReviKZ/patch-4
Position Conditional extended
2 parents 23304f1 + a9986c5 commit e77fdb2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/mc/widgets/video.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ This setting does not change the play/stop state.
139139

140140
#### `position`:
141141

142+
!!! warning
143+
144+
With Kivy 2.2.1 this feature might be a little buggy as in the kivy config, video duration is hard coded to 1.
145+
Because MPF-MC uses the built in seek() with the position property divided by the duration (so 1), this effectively functions
146+
as the normal seek. This is an error on Kivy's side and may not affect other versions.
147+
142148
Moves the video to a certain position based on the time, (in
143149
seconds). In other words `value: 4.2` here would move the video to
144150
the 4.2 second mark. (This is similar to `seek:` except it's based

0 commit comments

Comments
 (0)