PlayMovie()

Syntax

PlayMovie(#Movie, WindowID)
Description
Start to play a movie previously loaded with LoadMovie() on the specified window. The WindowID value can be easily obtained by using the WindowID() command from the Windows library.

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

If the movie is intended to be rendered directly on video surfaces with RenderMovieFrame() then the 'WindowID' value has to be #PB_Movie_Rendered.

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

Supported OS

Windows, MacOS X

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