FancyMenu [Fabric] [MOVED TO NEW PROJECT]

FancyMenu [Fabric] [MOVED TO NEW PROJECT]

17M Downloads

"Web View" element (Use MCEF as optional dependency mod)

GlobalHive opened this issue ยท 8 comments

commented

A webview element would be nice
For custom GUI's based on websites

Example:
Add WebView

URL:
Google.ch

Shows google site as "browser view"

commented

This is a duplicate of #462 .
Web View elements will also probably not happen in the near future, if at all. There's simply no good library for rendering web pages to LWJGL, so I have no clue how I should add that, sorry.

commented

Theres MCEF
A Minecraft Chromium dev mod, which maybe could be used to do that

commented

*Some antivirus software may prevent MCEF from initializing. You may have to disable your antivirus or whitelist the mod files for MCEF to work properly.

This is a problem.

commented

This is a problem.

System interactions addon always exists.

commented

No it's not about the security aspect, but about users needing to manually do stuff with their Antivirus to make Web View elements work in some cases. They won't do that.

commented

Well i tested the example mod included in the repository, for me it was working without any false reports from antivirus

commented

Just to post an update for that:

  • MCEF's last supported MC version is 1.20.1, so the porting speed of that mod is way too slow for FM
  • MCEF only works on Windows 10+, which is a problem for people with Windows 7
  • The AntiVirus thing is still a problem

I will not add WebView elements for now, sorry.

commented

Will probably add a Web View element with MCEF as base, but it's an optional dependency. Web View elements will only work when MCEF is installed.