sindresorhus / screenfull

Simple wrapper for cross-browser usage of the JavaScript Fullscreen API
https://sindresorhus.com/screenfull
MIT License
7.06k stars 698 forks source link

iPad does not work #54

Closed coursevector closed 10 years ago

coursevector commented 10 years ago

Does not work on iPad screenfull returns false

sindresorhus commented 10 years ago

iOS doesn't support the Fullscreen API.

coursevector commented 10 years ago

This is just an example with bad code, but works fine on iPad: http://jsfiddle.net/4veeH/

iPhone doesn't matter since it always plays in the native player.

coursevector commented 10 years ago

It just seems weird to load a framework to make cross-browser fullscreen easier and also have to implement another solution just for 1 browser

sindresorhus commented 9 years ago

The fullscreen on the iPad is completely different from what's used here. Once upon a time Apple invented their own way to do fullscreening for videos, and only videos. That's what the iPad uses. I'm not adding support for it as it's legacy, properitary and only supports fullscreening videos.