Merge pull request #77857 from kinami-imai/add_loop_property_to_videostreamplayer

Add `loop` property to VideoStreamPlayer
This commit is contained in:
Yuri Sizov
2023-07-12 17:14:38 +02:00
3 changed files with 23 additions and 0 deletions
+3
View File
@@ -61,6 +61,9 @@
<member name="expand" type="bool" setter="set_expand" getter="has_expand" default="false">
If [code]true[/code], the video scales to the control size. Otherwise, the control minimum size will be automatically adjusted to match the video stream's dimensions.
</member>
<member name="loop" type="bool" setter="set_loop" getter="has_loop" default="false">
If [code]true[/code], the video restarts when it reaches its end.
</member>
<member name="paused" type="bool" setter="set_paused" getter="is_paused" default="false">
If [code]true[/code], the video is paused.
</member>