Page 1 of 1

Streaming Celestia..

Posted: 07.08.2004, 19:43
by Seb
I've managed to get a remote control streaming version of Celestia on the web. http://www.sebsworld.co.uk/celestia/view.asp .. (currently only testing possibilities, so dont expect this url to work later)

It makes use of the cel://.. My question is:

Could someone point me in the direction on documentation regarding the cel:// URL formatting. Can movement commands be issued through the cel://. eg. cel://keycmd=homekey or cel://speed=12 etc..

Re: Streaming Celestia..

Posted: 07.08.2004, 23:13
by Christophe
Seb wrote:Could someone point me in the direction on documentation regarding the cel:// URL formatting. Can movement commands be issued through the cel://. eg. cel://keycmd=homekey or cel://speed=12 etc..


No, you can't do that with cel urls. They simply hold state information. You should look at the celx script language instead, see Harald's page on Lua support in Celestia for more information.

Posted: 07.08.2004, 23:30
by selden
Seb,

You need to include a disclaimer on your Web page that says it requires Windows Media Player.
In other words, it only works for Windows and Internet Explorer. :(

While cel urls can't emulate a keystroke, a lua (or .cel) script can invoke a cel url.

The command line qualifier --url can be used to invoke either a cel url or a script, although I can't tell if you're using that part of the code when invoking your variant of Celestia.

fwiw, although WMP is started, I don't get any images when I click on a button. (at 19:10 US EDT).

And I have to admit that seeing someone post using my initials does tend to make me twitch ;)

Posted: 12.09.2004, 16:21
by Seb
I was only testing this, this is not online anymore.

Quite tricky to acheive what I was trying to do, but thought it would be really nice introduction for new users. - to browse the universe from a web page.

I would be interested to see if anyone else got something like this work.