blog.humaneguitarist.org

motivation be damned, just wait for someone else to do it and sleep more

[Tue, 07 Feb 2012 14:11:23 +0000]
So, a few weeks ago I said in these posts that I thought it was an oversight that the HTML5 audio and video elements didn't let one pass start and stop time parameters, allowing one to use specific portions of an audio or video file. Well, I just saw on this [https://developer.mozilla.org/en/Using_HTML5_audio_and_video#Specifying_playback_range] page that Mozilla has implemented this functionality per the Media Fragments URI Specification [http://www.w3.org/TR/media-frags/#naming-time]. And it seems that Webkit is there, too, per this [http://peter.sh/2012/01/media-fragments-performance-and-mediaelementaudiosourcenode/] post from a few weeks ago. Actually, that post was published the same week as when I started fiddling with a pure JavaScript and "data-" attribute solution when I went home sick from work. Now I wish I had just napped more that day and just waited to learn more about these implementations to take place. Know what's funny? I never saw these docs when I wrote the aforementioned posts. Perhaps that's because the pages I linked to above about Mozilla/Webkit were last updated within just a few days of mine. But anyway, I found them today because I saw someone came to my page searching for "