If I use the "play" command to play a file, how I can detect it's reached the end of the file? Because the kind of thing I want to do is to tell the program to play the next media file or do something else when it has finished playing a media file.
What's the case if I use the player and the "start player" command???
Thankssss
End of video/audio file detection
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 9
- Joined: Sat Apr 08, 2006 3:54 pm
-
- VIP Livecode Opensource Backer
- Posts: 1236
- Joined: Sat Apr 08, 2006 1:10 pm
- Location: Zurich
- Contact:
from the playstopped entry of the runrev documentation:
so you can trap the message on the card or the stack level for audio clips.When an audio clip or video clip is playing, a temporary player is created for it. When the clip is finished, the playStopped message is sent to it.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode