"Web View" element (Use MCEF as optional dependency mod)
GlobalHive opened this issue ยท 10 comments
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"
Web View elements will 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.
Theres MCEF
A Minecraft Chromium dev mod, which maybe could be used to do that
*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.
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.
Well i tested the example mod included in the repository, for me it was working without any false reports from antivirus
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.
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.