Hello everyone,
I'm sure there has been a post before on how to make any webapp run in fullscreen, but I thought I would post this especially with the new YouTube Webapp that was released recently.
So let's cut right to the chase! To make the YouTube WebApp run in full screen, make sure to sync the following code as a bookmark (call it 'WebApp' or something similar) to your iOS device.
Once you have the bookmark, navigate on your iOS device to YouTube Mobile (m.youtube.com). After it loads, open up your bookmarks and select the 'WebApp' bookmark and it should pop-up saying 'fullscreen enabled'. With that, you can now save it to the homescreen ('plus' sign then 'Add to Homescreen').
If everything goes to plan, you should have a full working YouTube webapp running in full screen, just as if it was a native iOS App! It works fairly well, and with iOS4, it even supports the media controls, which is a nice touch.
By the way, this can also be used for other WebApps (Google Voice, Buzz, GMail).
Hope this helps anyone and sorry for this large post!
Neshy
I'm sure there has been a post before on how to make any webapp run in fullscreen, but I thought I would post this especially with the new YouTube Webapp that was released recently.
So let's cut right to the chase! To make the YouTube WebApp run in full screen, make sure to sync the following code as a bookmark (call it 'WebApp' or something similar) to your iOS device.
Code:
javascript:var%20meta=document.createElement(%22meta%22);meta.name=%22apple-mobile-web-app-capable%22;meta.content=%22yes%22;document.getElementsByTagName(%22head%22).item(0).appendChild(meta);alert(%22Fullscreen%20enabled%22);
Once you have the bookmark, navigate on your iOS device to YouTube Mobile (m.youtube.com). After it loads, open up your bookmarks and select the 'WebApp' bookmark and it should pop-up saying 'fullscreen enabled'. With that, you can now save it to the homescreen ('plus' sign then 'Add to Homescreen').
If everything goes to plan, you should have a full working YouTube webapp running in full screen, just as if it was a native iOS App! It works fairly well, and with iOS4, it even supports the media controls, which is a nice touch.
By the way, this can also be used for other WebApps (Google Voice, Buzz, GMail).
Hope this helps anyone and sorry for this large post!
Neshy