Hacker News new | ask | show | jobs
by kllrnohj 4696 days ago
YouTube's API only requires the video player itself to be in HTML5, the rest of the app can be native or whatever the hell you want. The engineering work here is youtube hands you an HTML snippet (specifically an <iframe>), and you plop that into a UIWebView where you want the inline video to be and you're done.

https://developers.google.com/youtube/iframe_api_reference

1 comments

The issue then is that Google will complain that the rest of the app doesn't adhere to all of Google's terms of services regarding displaying of ads, which are difficult to implement without their blessing.
There is no such ToS. Nor is there any "app must be HTML5" requirement.