I have added a fullscreenChange event. A boolean isFullscreen status is sent along to the handler.
Just observing clicks on the fullscreen button didn't work well, particularly in iOS (frequently failed to fire). This is cleaner, and just a single line anyway.
I have added a
fullscreenChange
event. A booleanisFullscreen
status is sent along to the handler.Just observing clicks on the fullscreen button didn't work well, particularly in iOS (frequently failed to fire). This is cleaner, and just a single line anyway.