Share this question

Welcome to Teachnovice Q&A, where you can ask questions and receive answers from other members of the community.

This is a collaboratively edited question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

YouTube IFrame API and webkitExitFullScreen on IOS?

0 like 0 dislike

How do I access the webkitExitFullScreen on mobile (iPhone) safari (webkit) functionality on full screen.

On an iPhone using the IFrame API a video always plays full screen, but I can't afterwards access different functionalities via JS like the webkitExitFullScreen.

I saw that this has been filed already to the forum and the team in the YouTube API Forum in here:


I wanted to ask and follow up on their questions especially the last one since it has been a year ago already. But the groups are now closed and said I should file here. Has anyone have any idea if this has been implemented somewhere in the API already and I might have been missing it? Or maybe how to contact the team and ask them directly about the progress or situation?

asked Jan 24, 2015 by index  
Likewise, I would like to know if there is an update here? @index did you get anywhere?
@addedlovely No. Not yet. This actually became a limitation for now for us. :( Anything on your side?
@addedlovely I've filed this on google's youtube API here and they mentioned that this is not in their plans anytime soon. :(
You can get a callback to iOS from a video exiting fullscreen however I think its seperate from JS callbacks so you wont be able to control the internals of the webview with it... but if you want to change your GUI or something it will help... Because the webkit uses the native MPMoviePlayer this notification will work perfectly. [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(youTubeFinished:) name:@"UIMoviePlayerControllerDidExitFullscreenNotification" object:nil];

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.