How would i go about creating some controls for streaming movie files so that the user can pause the movie and wait for it to buffer or in case they need to pause it for another reason.
I want the controls to be on the 3d texture not the gui.
How would i go about creating some controls for streaming movie files so that the user can pause the movie and wait for it to buffer or in case they need to pause it for another reason.
I want the controls to be on the 3d texture not the gui.
Anybody have any advice on where to start?
I’m thinking that i will have to overlay multiple planes 1 millimeter above the flat movie object.
One plane each for the play, pause, current position and buffered position.
Is there a better or easier way?
There is an important thing to note: You can’t get / set the position within the movie, you can play, pause and stop it basically and as you load it from WWW, ask for the www download progress for the stream preload progress …
but otherwise, I would likely use real 3D objects with box colliders for the fictive UI if it is true 3D, if it is always perpendicular to your view (so parallel the view plane) then GUITexture and the hittest
bugger.
Is it possible to get the total duration for a www.movie texture? I can calculate the basic position with a timer if i know this.
3D objects sounds like a better idea.[/quote]