Game Development Community

GuiTheoraCtrl and controlling it

by Andy Hawkins · in Torque Game Engine · 10/07/2006 (4:56 am) · 1 replies

There's not much documentation on GuiTheoraCtrl, enough to set up a GUI, play a video through it and stop it. Is there any way to control it and get feeback from a Theora video?

I'd like some basic functionality, like MyVideo.GetCurrentFrame, MyVideo.loop = true, MyVideo.SetCurrentFrame that sort of thing (where MyVideo is of type GuiTheoraCtrl ).

Can this be done? Has this been done?

#1
10/07/2006 (4:40 pm)
Well I have found I can restart the video by scheduling it to load and it automatically restarts anyway. Kinda ugly because there is a flash frame at the start. I also found there is a function in the source code called .getTheoraTime() but I'm not sure what I can do with that.

Has anyone embarked on a Theora video extension so there are more commands other than just load, play and stop? Hmmm... maybe I should write one. It's just ugly because it would be a mod of the engine.