3 ms·
To clarify I mean a onerror callback would be nice to have if something goes wrong when attempting to go fullscreen. If I have some time I'll write a patch!
by rdoherty 14y ago
To clarify I mean a onerror callback would be nice to have if something goes wrong when attempting to go fullscreen. If I have some time I'll write a patch!
- bdougherty 14y agoMy bad! There is a BigScreen.onerror, but I missed it in the docs. It should cover most things, but I didn't fully test it. I also couldn't get any browser to fire the native event in my testing.
- rdoherty 14y agoI think you can get it to fire if you trigger requestFullscreen outside of a user-initiated event? I'll have to check on that.