Is there a way to open a simple HTML page or object into a Godot control? Or even to embed a Youtube player or Spotify player?

Its probably possible through GDNative, rendering out the HTML to a texture, and then using that texture in Godot, but I think it would be difficult to implement.

6 days later

@TwistedTwigleg said: Its probably possible through GDNative, rendering out the HTML to a texture, and then using that texture in Godot, but I think it would be difficult to implement.

mmmh do you have please any examples? Or can you link a tut or example please?

@"K-Storm-Studio Ltd" said:

@TwistedTwigleg said: Its probably possible through GDNative, rendering out the HTML to a texture, and then using that texture in Godot, but I think it would be difficult to implement.

mmmh do you have please any examples? Or can you link a tut or example please?

Unfortunately, I do not. I'm not sure anyone has tried to render HTML in Godot yet, using GDNative or otherwise.

There do appear to be C++ compatible HTML rendering libraries though, like Modest and LiteHTML, though I have no idea how hard they would be to bring into Godot (GDNative or otherwise).

If you are okay with using C#, you could use something like this repository, HTML-Renderer, and Godot's mono binding, which may be easier than the GDNative route as it wouldn't require any C++ compiling.

@TwistedTwigleg said:

@"K-Storm-Studio Ltd" said:

@TwistedTwigleg said: Its probably possible through GDNative, rendering out the HTML to a texture, and then using that texture in Godot, but I think it would be difficult to implement.

mmmh do you have please any examples? Or can you link a tut or example please?

Unfortunately, I do not. I'm not sure anyone has tried to render HTML in Godot yet, using GDNative or otherwise.

There do appear to be C++ compatible HTML rendering libraries though, like Modest and LiteHTML, though I have no idea how hard they would be to bring into Godot (GDNative or otherwise).

If you are okay with using C#, you could use something like this repository, HTML-Renderer, and Godot's mono binding, which may be easier than the GDNative route as it wouldn't require any C++ compiling.

ok thank you :) maybe using C# ...

2 years later