LoadVideo¶
Description¶
Loads and plays a video.
Parameters¶
filename-
The file path of the video to load, relative to
Data/Videos/. Videos may ONLY be in OGV format. startDelay-
The amount of time, in seconds, to wait before playing the video after loading it.
skipCallback-
The function that will be called every frame during the video to determine if it should be skipped. The function must return a
bool32value. Setting this toNULLwill make the video unskippable.
Return Value¶
Returns true as a bool32 if the video loaded successfully; otherwise, returns false.