Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Y

    YouTube API Blog

    apiblog.youtube.com · Company blog · on HN since 2008

    The YouTube API Blog is Google's official blog for developers using YouTube's APIs and players, covering embeds, SDKs, and HTML5 video.

    Visit blogHN submissions
    Web DevelopmentTech Industry
    What HN says

    HN commenters link it as a source for YouTube's Flash vs HTML5 reasoning and API announcements such as game integrations and the move to Stack Overflow.

    Stats for nerds
    24HN people shared it
    11linked in comments
    138story points
    Sep 2013last shared
    2010people per year2013

    Top posts on HN

    1. 1
      YouTube's thoughts on Flash and the video tag
      10 people · 113 points · first shared 2010 · 33 comments on HN
    2. 2
      YouTube as a platform? The YouTube Analytics API
      1 person · 6 points · first shared 2013 · 1 comments on HN
    3. 3
      HTTPS Support for YouTube Embeds
      1 person · 5 points · first shared 2011 · Discussion on HN
    4. 4
      A New Way To Embed YouTube Videos that Supports HTML5
      2 people · 4 points · first shared 2010 · 1 comments on HN
    5. 5
      Announcing the YouTube SDK for .NET
      2 people · 2 points · first shared 2010 · Discussion on HN
    6. 6
      YouTube Geo Search + Gears Geolocation = Find Flix Near You
      1 person · 2 points · first shared 2008 · Discussion on HN
    7. 7
      YouTube Google I/O: The iframe Player API
      1 person · 2 points · first shared 2011 · Discussion on HN
    8. 8
      No WebView required, with native YouTube Player API for Android
      1 person · 2 points · first shared 2012 · Discussion on HN
    9. 9
      Introducing JavaScript Player API for iframe embeds
      1 person · 1 points · first shared 2011 · Discussion on HN
    10. 10
      Updated YouTube Data API
      1 person · 1 points · first shared 2008 · Discussion on HN

    What HN people wrote when they linked it

    • evanlongFeb 2012

      My Google interview experience:

      Google Internship January 2008: Had a phone screen. First question as I heard it: “Given a binary tree tell me if it is a binary tree?” I was a bit confused and said I didn’t understand the question and requirements. Given A tell me if it’s A. Yes? The interviewers response to my confusion was: “Do you even know what a binary tree is?” Yes, I do. When he restated the question as “given a binary tree tell me if it’s a valid binary search tree” I understood the requirements efffed up something in the implementation though. Then was asked to do another problem. Something with number sequence and iteration. Got told “division is slow” so don’t use it. Couldn’t see a solution without division on the spot. Then got asked if I know about Java serialization. My response: “implements Serializable” and you can write out or read in objects but I have never really used it in any serious way before.

      I got the reject. Which I expected more or less. Kind of frustrating since I felt the interview was pretty much done in the first few minutes since I was asked: “do you even know what a binary tree is.” Kind of an uphill battle from my perspective.

      YouTube February 2010:
      Applied for YouTube because I saw an ad in gmail. Why not.

      2 phone interviews. And 4 onsite.

      I thought I did ok solved everything to the best of my ability. Frustrated that I didn’t get it. Really enjoyed it. Seemed like a lot of fun. One interviewer told me my current job sounded boring.…

    • droithommeFeb 2012

      I have run into all the same problems, also I don't like the loss of full screen video. HTML5 video is simply not an adequate replacement for Flash, end of story.

      I've found that many people who believe things work fine joined the HTML5 opt-in trial, but don't realize that HTML5 only works on some videos and Flash is still being used for others. Most videos seem to be only available in Flash even with the trial enabled. Right clicking on the video reveals which it is if there is any doubt.

      A YouTube engineer discussed some of the issues a couple years back: http://apiblog.youtube.com/2010/06/flash-and-html5-tag.html. At the time Hulu had similar comments about HTML5 video capabilities: http://blog.hulu.com/2010/05/13/pardon-our-dust/. A more recent post from a few months ago by YouTube staff on the subject is here: http://googlesystem.blogspot.com/2011/11/youtubes-html5-player-gets-better.html

    • cpearceJan 2011

      "Of course, hardware adoption is still a huge question mark which I noticed Google also failed to discuss further in this post."

      This has been discussed on the WebM blog:

      "The WebM/VP8 hardware decoder implementation has already been licensed to over twenty partners and is proven in silicon. We expect the first commercial chips to integrate our VP8 decoder IP to be available in the first quarter of 2011."

      http://blog.webmproject.org/2011/01/availability-of-webm-vp8-video-hardware.html

      "They don't address why they're removing it, why they chose to do it now, or whether or not they'll be consistent across their platforms."

      Incidentally, months ago they've also blogged about why they'll keep YouTube using Flash, rather than HTML5:
      http://apiblog.youtube.com/2010/06/flash-and-html5-tag.html

    • woodallJul 2010

      I do not know how Hulu Plus is steaming data to the iP(ad)hone, but there has to be some sort of encryption. The reason so many streaming sites use Adobe Flash and/or Microsoft SilverLight is because they offer it. Youtube wrote a blog post about HTML5 and included some insight on this[1].

      -----

      Content Protection :: YouTube doesn't own the videos that you watch - they're owned by their respective creators, who control how those videos are distributed through YouTube. For YouTube Rentals, video owners require us to use secure streaming technology, such as the Flash Platform's RTMPE protocol, to ensure their videos are not redistributed. Without content protection, we would not be able to offer videos like this.

      -----

      [1] http://apiblog.youtube.com/2010/06/flash-and-html5-tag.html

    • ancardaApr 2013

      The code on your GitHub, for the most part, seems fine.

      One thing I can say is don't use exec[1] if you can avoid it:

      $string = 'rm /var/www/Giftest/*.gif';
      exec($string);

      While there's nothing * technically* wrong, it's platform specific and I think it would be better to use PHP's unlink[2] function. Also, sorry if this is wrong, I haven't looked at the regex but it seems your parsing YouTube URLs? Have you looked at oEmbed[3] - it may be an easier way to accomplish what your doing? You can use it with json_decode[4] to get an object.

      [1] https://github.com/Machtap/GiffyTube/blob/master/download.php

      [2] http://php.net/manual/en/function.unlink.php

      [3] http://apiblog.youtube.com/2009/10/oembed-support.html

      [4] http://php.net/manual/en/function.json-decode.php

    • tomlinNov 2010

      > Angus: Youtube's Flash implementation uses more battery than their HTML5 equivalent on my machine.

      Apologies for this, it seems to have evidence in it: http://apiblog.youtube.com/2010/06/flash-and-html5-tag.html

      It's hard for me to compare HTML5 to Flash if the Flash version has a truckload of abilities being used that cannot be utilized in HTML5. What's so hard to understand about this?

      Does the MacBook fan only come on for Flash? It seems unlikely. Seems like it might engage for CPU-intensive processes that contain audio, video, Internet access (WiFi or 3G isn't cheap on the battery) and a mixture of other features.

      I'm not trying to get any one to agree to Flash being better. I just don't see an equal argument. Ever.

    Related

    GitHub Bloggithub.blog1.8k people

    YouTube-dl's repository has been restored

    GitHub Blog
    Company · last shared 2026
    Google Code Bloggooglecode.blogspot.com165 people

    Why should anyone ever use a Google API again?

    Google Code Blog
    Company · last shared 2022
    YouTube Blogyoutube-global.blogspot.com119 people

    YouTube is going Live

    YouTube Blog
    Company · last shared 2016
    Google Blogblog.google2.1k people

    Gemini 3

    Google Blog
    Company · last shared 2026
    Google Analytics Bloganalytics.blogspot.com120 people

    Google Analytics Blog: What’s happening on your site right now?

    Google Analytics Blog
    Company · last shared 2016
    Reddit Blogredditblog.com163 people

    How We Built r/Place

    Reddit Blog
    Company · last shared 2021
    Android Developers Blogandroid-developers.blogspot.com277 people

    Android Studio 1.0

    Android Developers Blog
    Company · last shared 2016
    Swift Blogswift.org307 people

    Swift is Open Source

    Swift Blog
    Company · last shared 2026