Youtube HTML5 Demo

Youtube HTML5 Demo

Markup Review

Although only a demo, there was a lot of buzz generated about this so it deserves to be included. Basically Google have created Youtube using html5 elements and api’s. You’ll find more about the O3D Api over at Google Code. The demo only works fully in certain browsers (Safari, FF3.5 beta and the new Chrome release – released yesterday I think).

The inclusion of a <h1> in the <footer> does make me wonder if the spec is likely to change to include headings in the footer element soon though? Anyone got any thoughts on this?

8 thoughts on “Youtube HTML5 Demo

Tess says
#

Considering that there should normally only be one h1 in the document, I’d have thought that the footer would be the worst place to put it? Maybe it’s just me?

html5gallery says
#

Hi Tess

You’re right normally you are only allowed one h1 in the document but with html5 you are allowed multiple h1′s on a page.

However like you say I’m still not sure if the footer is a good place to put a h1 especially as headings aren’t allowed in the footer at the moment.

Rich

Kal Ström says
#

That’s simply not true. You can use several h1 headers in a page, even in html4 and xhtml. In html5 it will be even more used since the section tag will structure the page in new parts that could all have a new heading structure.

html5gallery says
#

Yeah good point there Kal you can use several h1′s on a page in html4 and xhtml1 though generally it’s not deemed best practice to.

Alan says
#

Now that YouTube is requiring a Flash update that I honestly don’t care to make, since it seems a little too invasive compared to previous updates, it is time for YouTube to switch to HTML5.

Anon says
#

The video is in .mp4 format, which, if I remember correctly, Firefox doesn’t support. Firefox works with Ogg/Ogv/Theora/Vorbis. Worked in Chrome though. I suspect it uses H.264, which Google is an advocate of.

Got something constructive to say?