|
Jaques Urqhart
Registered User
Join date: 28 Mar 2009
Posts: 1
|
05-15-2009 03:36
Hello
Does anyone know how we can automatically play a sequence of YouTube videos using our own inworld scripts and/or PHP server.
We have used Torley Linden's video tutorial to play a single YouTube video and it works very well.
We have also tried a few video products advertised on SLX but none of them are reliable whe playing sequential clips.
I have looked in these forums and cannot find an answer but it seems the PARCEL_MEDIA commands cannot do this task by themselves.
Any help is greatly appreciated.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
05-15-2009 11:06
pretty much no, because the clip is reliant on actually playing in the viewer, so it's up to their net connection, and with multiple viewing it's independent for each.
the only way to guarantee it is for all the videos to be compiled together, or to be triggered by the ending of the one before (which could be done on an external server).
you can guesstimate it for the lower bandwidth vids by pre calculating the time, then adding a small buffer, before triggering the next... but the higher the bandwidth of the vid, the less reliable this technique is
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
ElQ Homewood
Sleeps Professionally
Join date: 25 Apr 2007
Posts: 280
|
05-16-2009 01:07
it's not 100%...because everything that happens with video happens on the client side. It's each individual's quicktime application which is playing the video on their own computer, so it's dependent on a lot of factors. However, I've done it fairly well with the Black Diamond at H&S Originals (ok, shameless plug but wth). Again, it's not 100% but it's fairly accurate, even when I'm lagging. And no, it's not done using the parcel media commands, it uses outside data to accomplish this.
|