Streaming Celestia..

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Seb

Streaming Celestia..

Post #1by Seb » 07.08.2004, 19:43

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..

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Re: Streaming Celestia..

Post #2by Christophe » 07.08.2004, 23:13

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.
Christophe

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #3by selden » 07.08.2004, 23:30

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 ;)
Selden

Seb
Posts: 44
Joined: 12.09.2004
With us: 20 years 2 months
Location: Wiltshire, UK

Post #4by Seb » 12.09.2004, 16:21

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.


Return to “Development”