PlayMovie()

Syntax

Result = PlayMovie(#Movie, WindowID)
Description
Start to play a movie previously loaded with LoadMovie() on the specified window.

Parameters

#Movie The movie to play.
WindowID The window to play the movie on. This value can be easily obtained by using the WindowID() function.

It's also possible to play a movie on a full screen, simply use the result of ScreenID() as 'WindowID'.

Return value

Returns nonzero if the movie started playing correctly and zero if there was an error.

Remarks

The function ResizeMovie() can be used to resize and move the movie on this window (to not use the full window area, for example).

See Also

LoadMovie(), StopMovie(), MovieWidth(), MovieHeight(), MovieLength(), MovieInfo()

Supported OS

All

<- PauseMovie() - Movie Index - ResizeMovie() ->