What kind of movie file could be played in B3D?

Blitz3D Forums/Blitz3D Beginners Area/What kind of movie file could be played in B3D?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

maybe try this:

graphics3d,800,600
Global movie1
Global file1$="nameofyourmovie.avi"

movie1=OpenMovie( file1$ )
If movie1=0 RuntimeError "Unable to open movie file"

while not keydown(1)
 If (MoviePlaying(movie1)=0) Then 
  CloseMovie( movie1 )
  movie1=OpenMovie( file1$ )
 endif
 DrawMovie movie1,36,26,175,150
 Flip False
Wend

CloseMovie movie
End