openmovie bug? help!

BlitzPlus Forums/BlitzPlus Programming/openmovie bug? help!

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.

I was using this code to play a movie and it worked for a while, and then suddenly stopped. I am sure the movie is in the same dir as the .bb file.

global movie=OpenMovie("movie.mpg")

While MoviePlaying(movie)
SetBuffer BackBuffer()

If KeyHit(1)
CloseMovie(movie)
End
End If

DrawMovie(movie,0,0,800,600)
Flip
Cls
Delay(5)
Wend

CloseMovie(movie)