Playing .avi files

Blitz3D Forums/Blitz3D Beginners Area/Playing .avi files

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.

f=openmovie("example.avi")

while movieplaying(f)
   DrawMovie f    ;,[x,y][,width,height]
wend

closemovie(f)
flip

and from the help files:

Movie support relies on DirectShow, so you will need to ensure the correct drivers are installed. This command will open GIFs as well as AVI and MPEG movie files