Hey Edwin, question about vp_url_send() and the aworld: URL scheme. Is there any documentation I can look at? If not:
I'm testing vp_url_send() with VP_URL_TARGET_OVERLAY, sending a real HTTPS page and it renders correctly over the 3D viewport (transparent background works too). But when I click an <a href="aworld:?test=hello"> link inside that page, I get Chromium's ERR_UNKNOWN_URL_SCHEME — meaning the embedded browser doesn't recognize aworld: as a scheme at all.
I noticed an old changelog entry mentioning a fix for "aworld:? URLs in web pages," so I'd assumed the scheme was still supported for sending data back from an overlay/browser page into the SDK (similar to how Active Worlds' AW_EVENT_URL_CLICK works). Is aworld: still implemented in the current Chromium-based embedded browser? If not, is there a current equivalent for a webpage to signal a click/action back to a subscribed SDK bot — is VP_EVENT_URL still the right event to be listening for that, just via a different scheme or mechanism?
Also, can I get access to the wiki? I've tried logging in, but it seems to have forgotten me.
Thanks!
aworld: ?
-
Edwin
- Site Admin
- Posts: 169
- Joined: Mon Apr 09, 2007 10:04 am
- Location: Almere, The Netherlands
- Contact:
Re: aworld: ?
The aworld: URL scheme is only supported for web commands on objects currently. Bots that use the overlay for UI generally have their own communications channel, for example using websockets. This should be more responsive (it can go directly to the server running the bot) but it can be a bit more involved to get working.