Page 1 of 1

Videos

Posted: Wed Jan 20, 2010 12:43 am
by O.Mago.O
Hello...

How to make a video to watch it again after having finished. I mean the video running forever.

Can you help?

In advance thank you very much.
Magician.

Re: Videos

Posted: Wed Jan 20, 2010 1:48 am
by ristis
Hi.

You can use AnimationPlaying() to check whether the video is running or not.

Code: Select all

video = PlayAnimation("video.avi")
Repeat
    DrawAnimation video
     
    If AnimationPlaying(video) = 0 Then video = PlayAnimation("video.avi")
    
    DrawScreen
Forever

Re: Videos

Posted: Sun May 14, 2017 12:16 pm
by Jerrold
O.Mago.O wrote:Hello...

How to make a video to watch it again after having finished. I mean the video running forever.

Can you help?

In advance thank you very much.
Magician.
You mean have it on a loop?