I'm trying to play fullscreen for HTML5 video element on iPad / iPhone using JavaScript, but when I try to use videoElement.webkitEnterFullScreen (), I see INVALID_STATE_ERR: Dom Exception 11.
My code
For example
Now, it looks like special support for this behavior has been added here:
which specifically prevents viewing full-screen mode without user gestures.
My question is:
Is there a workaround for this?
I can see that the Vimeo HTML5 video player mimics this behavior somehow as shown here (on iPad / iPhone)
So it seems like it's possible. Did I miss something?
eculver
source share