August 28, 2010

Watch a Video in YouTube's HTML5 Player

In January, YouTube launched a player that used the HTML5 video tag. To try this player, you have to go to youtube.com/html5 and enable the player. If you have a browser that supports the video tag and the YouTube video doesn't use captions, annotations and doesn't show ads, you'll be able to watch the video in YouTube's HTML5 player.

What if you want to switch to the HTML5 player for a single video or you want to link to the HTML5 version? YouTube has a special parameter that lets you do that: just append "&html5=True" to the video's address. Here's an example:

http://www.youtube.com/watch?v=cTl3U6aSd2w&html5=True (link)


For now, YouTube's HTML5 player works in Google Chrome (h.264; Chrome 6 adds support for WebM), Opera 10.6+ (WebM), Safari 4+ (h.264) and Firefox 4 (WebM).

23 comments:

  1. That's old :)

    You can now EMBED these videos to use html5.
    Example: http://youtube-global.blogspot.com/2010/08/conflicitivism.html

    ReplyDelete
  2. I can't wait for annotations to come to the html 5 player.

    ReplyDelete
  3. Hey, fullscreen is now only within browser window. It doesn't stretch to monitor. :(

    lolmaus

    ReplyDelete
    Replies
    1. Magicjack Support 1-800-653-4096,
      Customer Support For Magicjack
      COMPLETEPCSOLUTION is one of the best way to resolve
      all problems like magicjack technical support,
      magicjack customer suppport and installation,
      magicjack contact number.

      Delete
  4. @Anonymous (August 29, 2010 2:35 AM)
    Yeah, that is rather annoying.
    I don't know why they never extended the view to the entire screen.
    It'll probably come at some point.
    But considering how long they are saying HTML5 will take to mature, i'm doubtful...

    ReplyDelete
  5. That's a browser issue, not YouTube's problem. The HTML5 spec recommends against adding this feature:

    "User agents should not provide a public API to cause videos to be shown full-screen. A script, combined with a carefully crafted video file, could trick the user into thinking a system-modal dialog had been shown, and prompt the user for a password. There is also the danger of "mere" annoyance, with pages launching full-screen videos when links are clicked or pages navigated. Instead, user-agent-specific interface features may be provided to easily allow the user to obtain a full-screen playback mode."

    ReplyDelete
  6. Actually, the spec says that it's a bad idea to add an API for full-screen videos, but browsers should add this feature in the user interface. That means YouTube's full-screen button will never extended the view to the entire screen, but browsers can add a full-screen option in the context menu.

    Firefox 4 already has a full-screen option in the context menu and Chrome plans to add a similar feature. In Chrome, you can click on YouTube's full-screen button and then press F11.

    ReplyDelete
  7. Full screen to browser window is a good thing. If you want total full screen, just do full screen inside html5 youtube then hit F11 or whatever key or menu item would put your browser in full screen mode.

    ReplyDelete
  8. Some videos cannot be forced to html5: http://www.youtube.com/watch?v=vIhs8_m5qPc&html5=True

    ReplyDelete
  9. What's the status of this? It doesn't seem to work any more, or very often anyway, or very well.

    ReplyDelete
  10. I'm using Chrome but videos never play in the HTML5 player. Stupid broken Youtube.

    ReplyDelete
  11. I can't watch that one in HTML5 in Firefox on ARM: https://www.youtube.com/watch?v=3SacL219sic&html5=True .

    I'm especially interested in HTML5 video playbacl because I'm using Ubuntu on ARM (Toshiba AC100), and there is no Adobe Flash player provided for ARM.

    ReplyDelete
  12. This doesn't work anymore it seems..

    ReplyDelete
  13. Now you can watch YouTube HTML5 Videos in True Full screen , Here is how http://www.linkstoweb.in/2013/02/How-to-fix-YouTube.html

    ReplyDelete
  14. HTML5 Development errors, cant play this video.

    ReplyDelete
  15. Magicjack Support 1-800-653-4096,
    Customer Support For Magicjack
    COMPLETEPCSOLUTION is one of the best way to resolve
    all problems like magicjack technical support,
    magicjack customer suppport and installation,
    magicjack contact number.

    ReplyDelete
  16. Youtube Technical Support - Are you looking for Technical Support for YouTube? You are at right place, Get Online Technical Help & Support for YouTube related problems like streaming problem, login issue, video not playing, no sound on youtube, Youtube Error, etc. Our highly trained Technicains will help you to fix your issue instantly. Please click for more information http://acetecsupport.com/youtube_support.html

    ReplyDelete
  17. Solicito imponer el orden social a los secuestradores del mundo y de Guatemala pero en especial a los de mi colonia porque soy la encarnacion divina de los Dioses e ídolos primordiales de las religiones de Guatemala y del mundo como tambien del cristianismo y de los extraterrestres para mantener a la paz del mundo y a la union popular aborigen por causa de las religiones que cumplo de mis encarnaciones divinas de tales deidades. Mis secuestradores me están especulando sexualmente por mis calumniadores regenerados moralmente conmigo porque mis plagiarios desean pervertirlos a difamarme para evolucionar un caos a nivel mundial por rematarme debido a la religion y a mi divinidad adquirida. La calumnia de violador sexual masoquista no debe a que tenga víctimas sino que me creen pendenciero por los ventosos femeninos como un hostigador pero que mi solucion son las secuaces sexuales en vez de las suspicaces pendencieras.

    Atentamente:
    Jorge Vinicio Santos Gonzalez,
    Documento de identificacion personal:
    1999-01058-0101 Guatemala,
    Cédula de Vecindad:
    ORDEN: A-1, REGISTRO: 825,466,
    Ciudadano de Guatemala de la América Central.

    ReplyDelete
  18. Solicito imponer el orden social a los secuestradores del mundo y de Guatemala pero en especial a los de mi colonia porque soy la encarnacion divina de los Dioses e ídolos primordiales de las religiones de Guatemala y del mundo como tambien del cristianismo y de los extraterrestres para mantener a la paz del mundo y a la union popular aborigen por causa de las religiones que cumplo de mis encarnaciones divinas de tales deidades. Mis secuestradores me están especulando sexualmente por mis calumniadores regenerados moralmente conmigo porque mis plagiarios desean pervertirlos a difamarme para evolucionar un caos a nivel mundial por rematarme debido a la religion y a mi divinidad adquirida. La calumnia de violador sexual masoquista no debe a que tenga víctimas sino que me creen pendenciero por los ventosos femeninos como un hostigador pero que mi solucion son las secuaces sexuales en vez de las suspicaces pendencieras.

    Atentamente:
    Jorge Vinicio Santos Gonzalez,
    Documento de identificacion personal:
    1999-01058-0101 Guatemala,
    Cédula de Vecindad:
    ORDEN: A-1, REGISTRO: 825,466,
    Ciudadano de Guatemala de la América Central.

    ReplyDelete

Note: Only a member of this blog may post a comment.