Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

detect that a video has played / and will loop?

bucky Barkley
Registered User
Join date: 15 May 2006
Posts: 200
02-09-2008 23:43
I'm wishing for an event that would tell me that a video is about to loop (really, that the video is done playing).

Any way to be notified that a video is done, short of manually setting a timer and having that fire off in a given number of seconds? (and I imagine that breaks real quickly if the user hits the pause button)

And yes, I thought of appending PARCEL_MEDIA_COMMAND_UNLOAD to the command list that plays the video - no go...
_____________________
Bucky Barkley -- Mammal, Scripter, Builder, Lover
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
02-10-2008 00:42
Not that I know of. I think you'd have to know the length of the stream beforehand (possibly retrieved via an HTTP query if there is some web service that will give that to you) and use a timer from the moment you start playback.