Wallpaper engine app turns black after one frame

When trying to use an html ue4 project as a wallpaper in wallpaper engine, from file or from hosted server, after it loads, it only displays one frame and then the screen turns black. Clicking fullscreen makes another frame appear, and then the screen turns black agiain. The project works fine inside a browser.
Any way to fix it? It’s probably wallpaper engine’s fault and not ue4’s but im just making sure.