You may have noticed I didn’t post anything again last month. Except for the post that was meant for the previous month. The purpose of the song of the month was to force me to post something once a month. However from this point forward… I’m just going to post things whenever I feel like it. Anyway here’s two videos to make up for the video that I didn’t post. The first one I specifically posted to showoff that the html5 youtube player now supports closed captions. Sadly, a lot of people ignore this feature and use annotations to achieve the same thing, which is however currently not supported in the html5 player. If you don’t see the html5 player and you see the flash player you can opt into the youtube html5 beta by going here.
I can’t help but complain that google isn’t using valid html for their new iframe embed though. The default code they use is this.
<iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/QAUSdtUlL8w" frameborder="0" allowfullscreen></iframe>
I’m not sure what allowfullscreen is doing but, it’s not determining weather or not the player plays in fullscreen or not. The title attribute doesn’t exist and afaik serves no purpose. It’s also using frameborder=0 rather than CSS!
I changed the code to the following which accomplished the same task and it validates.
<iframe style="width: 640px; height: 390px; border: 0px;" src="http://www.youtube.com/embed/QAUSdtUlL8w"></iframe>



