video_start(id,loop)

From ENIGMA
Jump to navigation Jump to search

Description

Pauses the game and all events and then begins playing the video.

Parameters

Parameter Data Type Description
id integer the index of the video file to play
loop boolean whether or not to seek to the beginning and play again when the video finishes

Return Values

void: This function does not return anything.

Example Call

// demonstrates starting a video for playback
video_start(myvid, false);