@@ -116,6 +116,18 @@ See :ref:`doc_viewports` and the
116116`GUI in 3D demo <https://github.com/godotengine/godot-demo-projects/tree/master/viewport/gui_in_3d >`__
117117for more information on setting this up.
118118
119+ Looping a video
120+ ^^^^^^^^^^^^^^^
121+
122+ For looping a video, the **Loop ** property can be enabled. This will seamlessly
123+ restart the video when it reaches its end.
124+
125+ Note that setting the project setting **Video Delay Compensation ** to a non-zero
126+ value might cause your loop to not be seamless, because the synchronization of
127+ audio and video takes place at the start of each loop causing occasional missed
128+ frames. Set **Video Delay Compensation ** in your project settings to **0 ** to
129+ avoid frame drop issues.
130+
119131Video decoding conditions and recommended resolutions
120132-----------------------------------------------------
121133
@@ -143,9 +155,6 @@ There are several limitations with the current implementation of video playback
143155- Seeking a video to a certain point is not supported.
144156- Changing playback speed is not supported. VideoStreamPlayer also won't follow
145157 :ref: `Engine.time_scale<class_Engine_property_time_scale> `.
146- - Looping is not supported, but you can connect a VideoStreamPlayer's
147- :ref: `finished <class_VideoStreamPlayer_signal_finished >` signal to a function
148- that plays the video again.
149158- Streaming a video from a URL is not supported.
150159
151160.. _doc_playing_videos_recommended_theora_encoding_settings :
0 commit comments