< Back to Coding, jQuery

Close the iOS video player with jQuery

$('video').get(0).webkitExitFullscreen();

An example when you could use this is when the video has ended to automatically close the video player and go back to the website.

Leave a Reply

Your email address will not be published.