I want to do something when the user clicks on the fullscreen button (bottom right hand corner) in a html5 video.
So something like this:
$('#video').on('webkitRequestFullscreen', function() {
console.log("hello");
});
but this isn't working.
This will be run in an Android WebView so you don't have to worry about multiple browsers.