« Google Analytics — Besturingssystemen | Main | iWeb : Adding Google Analytics without editing the webpage »
dinsdag, 04 mei, 2010
iWeb : HTML5 Audio and Video
Based on some topics in the iWeb forum at Apple Discussions about HTML5 I decided to give it a go too.
I already made the BlowUp and 3D pages described earlier.
Now I added some sample pages with audio and video.
HTML5 Audio — HTML5 Video
Both pages determine if a browser supports html5 and what audio or video formats.
Usually mp4/mpeg (h.264/AAC) or ogg. On the audiopage it falls back to a Flash Audioplayer if html5 is not supported.
I wrote the JavaScript in the past few days with some help from code at Apple Developers :
Safari HTML5 Audio and video Guide
I think it all looks rather well. See if you can apply it to your own pages.