Fullscreen API: Which events are fired?

I was using:

$(document).on('webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange', fn);

It fires for Safari, Chrome, and Firefox (haven’t tested others).
There seems to be a subtle difference in the resulting context between webkit and moz,
element height and width are different. But the events fire, which is your question.

Oh. And watch out for using alert('fs') with full screen testing. It often interferes with the screen change.

Leave a Comment