This function enables or disables looping for the currently loaded video. Set the enable argument to true to enable looping, and false to disable it.
By default, looping is disabled.
video_enable_loop(enable);
Argument | Type | Description |
---|---|---|
enable | Boolean | Whether to enable (true) or disable (false) looping |
N/A
video_open("Loading.mp4");
video_enable_loop(true);
The above code loads a video and enables looping on it.