Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

But what about video?

Front Dawes
Registered User
Join date: 28 Oct 2007
Posts: 76
08-08-2008 11:45
I know that cycling through mp3s is tricky due to a script not knowing when the previous track has finished, but what about video?

I have a whole series of videos (mp4's) on my website that currently I cycle through manually, but which i would love to automate via script. Any chance of achieving this, or any workarounds?

Front
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
08-08-2008 12:27
I suspect it would be a whole lot easier to do on the server side, but if the video is streamed you could possibly use some kind of protocol to poll from the server to see whether it is done playing. If it is a straight video file you could change the URL automatically from time to time but I don't think it could correspond to when a clip is "done" playing because there's really no such thing (each client starts it at a different moment).
Front Dawes
Registered User
Join date: 28 Oct 2007
Posts: 76
08-08-2008 13:27
I was wondering if any of the video hosting sites out there had such a thing as a favourites list, that allowed you to cycle through the list automatically, but only one url would be needed for SL.

Currently, the files are streamed, but I have the individual files as well.

Front
Xhawkx Holden
Registered User
Join date: 1 Nov 2006
Posts: 86
08-09-2008 08:54
you can try this....
on the server hosting up the video files... create a new file
call it someplaylist.WSX

the wsx file extension is for playlists...
then using a text editor add the files you want played... in order... like this...

<?wsx version="1.0" encoding="utf-8"?>
<smil>
<media src="http://somelocation/somfile1.WMV"/>
<media src="http://somelocation/somfile2.WMV"/>
<media src="http://somelocation/somfile3.WMV"/>
</smil>


then for the url... point to the WSX file.

May or may not work for ya