You’re sitting in your office with your speakers un-muted. Maybe you’re making plans for dinner, and decide to check out the web site of that hot new restaurant in the North Trendy neighborhood. Of course, you’re not supposed to be making dinner plans while on the clock. So when Busybody McNosypants stops by your cube, [...]
[4 Feb 2013]
Following-up on my mobile web development post from last week, we have Daniel Glazou, co-chair of the CSS Working Group outlining the scope of the -webkit-prefix problem. Go read his post Call for Action: The Open Web Needs You *Now*. Or read some of what I’ve excerpted below. As in the past with IE6, it’s [...]
[9 Feb 2012]
To date, Firefox does not yet support the loop attribute of the <video> element. This snippet is a simple work-around. Once the video’s ended event is fired, it calls the play method. For more, consult the media events section of the HTML5 specification.
[4 Oct 2011]
For the June meeting of the HTML5 & CSS3 LA User Group, I spoke about XMLHttpRequest, Level 2 and Cross-Origin Resource Sharing headers. It’s always tough to present code. That goes double when you are sleep deprived, yet caffeinated and tongue-tied. In any case, the slides — which is really just one really long, really [...]
[30 Jun 2011]
Yesterday my first piece for A List Apart went live: Modern Debugging Tips and Tricks. It’s an overview of using the JavaScript console that’s now available in every modern browser, and doing remote debugging using Opera Dragonfly and JS Console.
[8 Jun 2011]
Namespaces can be a great way to build up a pragmatic URL structure that’s easy to remember with continued usage. What do I mean by a namespace? I mean a portion of a URL that dictates unique content. One of Kyle Neath’s tips from his post URL design. This. URLs make your site more usable, [...]
[6 Jan 2011]
Last week, a Twitter friend asked about learning programming and where to start. I suggested ActionScript 3.0, but 140 characters isn’t enough to explain why. That’s what blog posts are for. ActionScript sounds like a weird choice, right? It’s client-side, not server-side. You can’t connect to a database or create files on the fly without [...]
[23 Aug 2010]
In my first post on HTML5 video and its progress event, I wrote: Only Firefox provides a means to calculate the amount of the video that has been loaded. The progress event object includes total and loaded properties that reflect the total size of the video file, and the amount the browser has retrieved from [...]
[6 Jul 2010]
I’ve been tinkering with the HTML5 video element quite a bit lately. However, it’s not the best-documented thing in the world. There are very useful properties in the video element’s events that aren’t so clearly explained in the spec. Developing a media player means you have to uncover these properties using a little bit of [...]
[29 Jun 2010]
I created this example of the increment (++) and decrement (–) operators in action because I needed to see how they work in combination. I tested this example in Firefox, Safari, and later versions of Internet Explorer, but it probably works in Opera and Chrome as well.
[18 Jun 2010]