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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…