http://triptohell.info/moodles/win32/ft ... 2.1658.zipI updated my code to work with the latest version of libcef.
It *should* work... it might also blow up. such is life.
Extract to your quake dir.
You can use the menu_downloads thing to enable the plugin (there should also be a prompt to load it up if you've not acknowledged it yet or something. 'c' means that its present but not enabled. you want it checked).
You can then use the 'cef' command to load up a new browser window thing.
Or you can create a shader with a "videomap
http://foo" term and then put it on walls. You can use the gecko qc extension if you want to send input/commands to a videomap shader controlled by csqc/menuqc (a location prefixed with 'cmd:' allows you to focus,unfocus, refresh, stop, back, forward, undo, redo, cut, copy, paste, del, selectall, or you can javascript:alert("zomg");, raw:<RAW HTML TEXT> also works, if you want to force it to show a custom page from qc, or http[s]://foo will of course just change the page's current site).
If you're showing it as a 2d page, you'll probably want to gecko_resize your browser to give it a 1:1 physical:virtual ratio so that there's no bluring/scaling (or just set vid_conautoscale 1).
I did create an 'fte' scheme, so
fte://data/* reads files from quake's filesystem,
fte://ssqc/* fte://csqc/* fte://menu/* will invoke the Cef_GeneratePage qc function to generate page requests (make requests to your qc if you feel like doing so, maybe in conjunction with uri_unescape).
You should also be able to call window.fte_query("getstats", function(req,ret){alert(ret);}); and get a list of stats. getseats, getserverinfo, getplayers should also work. note the delay.
I didn't bother testing most of this stuff so probably half of it is broken. Enjoy.
.