I made an HTML5 export with GLES3, and it worked fine in Chrome, but in Safari it didn't show the 3D objects (rendered on a 2D sprite using a ViewportTexture) properly. I checked that the problem doesn't appear with GLES2, but there the transparency doesn't work as well as with GLES3.
I tried turning on "fallback to GLES2 when GLES3 is not available", but Safari seems to be able to support most of GLES3 and thus the fallback doesn't trigger.
Is there a way to check which browser the user is using and choose the OpenGL version based on that?