Seeking in MovieTexture, or alternate way to play movies?

Hey folks,

I checked the API for MovieTexture and there does not appear to be a way to seek to a particular point in the movie (I see Play, Stop and Pause). Am I missing something? For my current project I have a time line of sorts that can trigger an action to play a movie (in a MovieTexture); I want to make it so that if the user seeks in the time line I’ve created then the movie plays from the appropriate time instead of from the beginning.

If this is not possible, are there alternative ways to play movies in Unity (other than MovieTexture) that might allow seeking to a particular time?

Thanks,
Jared

if you find a solution let me know. i’m trying to do something similar. My current solution is to cut up the movie and string them together. basically i have this

static bool bCurrentlyPlaying = true;

if (bCurrentlyPlaying  !MovieTexture.IsPlaying)
LoadNextMovie();

mind you that’s just pseudocode. but that’s my approach. it definitely has problems, but i haven’t been able to find a better way to do it.

No, you’re right, there isn’t a way to set the position of the playhead. Ernestor’s workaround is probably about as good as you can make this, currently.

Hi folks,

Have there been updates with Unity 3 that would allow us to seek to a particular time in a movie texture? I didn’t see any additions to the MovieTexture documentation…

Thanks,
Jared

There isn’t a new feature about the seek in MovieTexture.

Someone find some way?

This is an important feature that can help us make more complex and beautiful GUI. :smile:

There is no way to fast seek.
You can only start, stop and pause them, if you would want seek you would have to track the time they were playing and play them invisibly to seek in “playtime” speed