Wowpedia
Advertisement
Wowpedia
240,442
pages

Plays a movie.

playSuccess, errorCode = MovieFrame:StartMovie(movieID [, loop])

Arguments

movieID 
number
loop 
boolean (optional) - Whether to loop the movie. Does not seem to work.

Returns

playSuccess 
boolean - Returns true if the movie could be successfully played.
errorCode 
number
Value Type
0
success
1
codec failure
2
data missing
3
reading of video file failed
4
opening of video file failed

Example

  • Plays the Seasons of War trailer.
local f = CreateFrame("MovieFrame")
f:StartMovie(2)
Advertisement