source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

Question: HTML5 in Source?

Open MunMr opened this issue 4 years ago • 2 comments

Hi. Is there any chance to add it to Source? Because it's useable in Garry's Mod (for example), when you want to play YouTube videos, Twitch streams, etc.

MunMr avatar Nov 23 '20 23:11 MunMr

Already possible, source sdk 2013 uses ISteamHTMLSurface on vgui::HTML, which is steam's CEF (chromium embedded framework) version As such is it very usable on the MOTD

It is however not exactly possible like in GMod in regard to the GameUI, as in this version it's closed-source, you'd need to use the GameUI from AlienSwarm for that. If you however want it for the loading screen then it's possible by telling the GameUI to use your own vgui Panel as background.

neico avatar Nov 24 '20 04:11 neico

I don't think https will be possible in source, so http only and will be highly insecure.

apchistuo avatar Nov 20 '22 10:11 apchistuo