In the Unreal Four engine, when using the “web browser” plugin, you need to make the webpage transparent. When I check “Support Transparency”, it is not transparent. I don’t understand. Is there a special color that will make it transparent or how? Can the web page be transparent? thank you very much
Same question here!!
Found the solution, run this js code after loading the page:
document.getElementsByTagName(‘body’)[0].style.overflow = “hidden”;
document.getElementsByTagName(‘body’)[0].style.background= ‘none’;
And use this code to set the transparency on the fly with the changes on the render opacity:
document.getElementsByTagName(‘html’)[0].style.opacity = “0”;
1 Like
Found the solution, run this js code after loading the page:
document.getElementsByTagName(‘body’)[0].style.overflow = “hidden”;
document.getElementsByTagName(‘body’)[0].style.background= ‘none’;
This js code paste in web site html or in unreal engine? Thanks
Enable Supports Transparency in details of WebBrowser widget