I try a lot of time to detect a click on a full-screen button on a vimeo player, without success. But I find another solution that works for me:
$(window).resize(checkResize);
function checkResize(){
if (
document.fullscreenElement ||
document.webkitFullscreenElement ||
document.mozFullScreenElement ||
document.msFullscreenElement
){
}else{
}
}
source
share