html5

How long until you adopt a new specification (like HTML 5, for example)?

When a new specification comes out (like HTML 5) it can be tempting to begin using its enhancements; however, how do you deal with the fact that not all browsers will be up to snuff with the latest and greatest specs? Surely, it's no fun having to code the same thing twice. While we can take advantage of things that degrade gracefully,...

mobile: html5 vs xhtml

I am building a mobile app (hybrid mobile web app but with a native shell) with most users on the iphone (some on the blackberry) and am wondering if it should be written in html5 or xhtml? Any insight would be great. ...

Will Google Chrome Frame be Installable on Locked down Windows Machines?

Does anyone know if Google Chrome Frame will be installable onWindows machines in the dreaded Corporate IT World where machines are locked down with a Khaki Fist? I suppose that's really two questions Can Windows be locked down to prevent IE from installing plug-ins? Is Google being clever and finding a way around this? (i.e., is the ...

Is "localStorage" in Firefox only working when the page is online?

So i'm toying around with HTML 5 and the localStorage and i'm noticing that my values only get stored when i run the page in Firefox on the local host (i.e. http://127.0.0.1:8000/test/index.html) when i run the file locally (file:///C:/test/index.html) my values won't get stored. Safari 4 has no problems with both setups. So does anybody...

Learning HTML 5

I've seen some cool stuff that HTML 5 can achieve, but when I browsed amazon to see if there was a good book on the topic, there was none (at least today: 11/29/09). So my question is: Do you know about a good tutorial (a deep one, not just a quick how-to) for HTML5? Please don't point me to the reference, I'm looking for something m...

<audio> element autobuffers no matter what

I'm trying to make a web based media player using the HTML5 audio element implemented in Firefox 3.5 and Chrome. Reading Mozillas documentation, omitting the autobuffer attribute should result in the audio src not being requested: if specified, the audio will automatically begin being downloaded, even if not set to automatically ...

Is there a limit to the length of HTML attributes?

How long is too long for an attribute value in HTML? I'm using HTML5 style data attributes (data-foo="bar") in a new application, and in one place it would be really handy to store a fair whack of data (upwards of 100 characters). While I suspect that this amount is fine, it raises the question of how much is too much? ...

HTML5 Ajax to a different domain?

I recently came across http://chromeexperiments.com/. I found a couple of projects there that are quite intriguing: 100 Tweets and twitterbrowse (I'd post links to them but I'm not yet allowed). These both work fine for me in Firefox 3.5 under Ubuntu 9.04. The thing that I find particularly peculiar is the fact that these two "experiment...

Is there an HTML5 RIA toolkit available?

I think that HTML5 is the way of the future for the development of Ria application due to the reduction of the ammount of javascript need for basic animation, video, etc. So what are the tools available NOW to develop html5 interfaces? EDIT: It's been a year since this question has been asked. Has the outlook for HTML5 changed for th...

Are Web Workers themselves allowed to have Web Worker threads?

This would seem to be the case in Firefox 3.5+, there I can instantiate a Web Worker, and inside the worker, spawn another thread. However, the code will not work in Google Chrome, leading me to believe this is either a Mozilla proprietary extension to the spec or that Chrome has not fully implemented the spec. So which is it? ...

Why should (or shouldn't) I write my new website in HTML 5 and CSS3?

I am currently in the process of developing a website as a personal project. Normally I am quick to adopt new technologies, even though IE makes it a pain sometimes. However, this one makes me worried because the adoption rate for current browsers is spotty even in cutting edge ones like Firefox, Opera, and Safari. Would you consider ad...

Is there a javascript way to check if a browser natively supports MP3?

that's all really. If the browser can play MP3's then I'll use the audio tag to play a file. If not, I'll have to load in a flash player. ...

Setting up apache to serve PHP when an MP3 file is requested

I'm working on a way to serve up MP3 files through PHP and after some help form the SO massive, I got it working here However, that example doesn't appear to work when I use it as the source in an audio tag like this <html> <head> <title>Audio Tag Experiment</title> </head> <body> <audio id='audio-element' src="mu...

Should I care about HTML 5?

Should I care about HTML 5 for my web application ... and why? Or to put it another way, what are some of HTML5 new features that I should be aware of? ...

Implementing canplaythrough in SoundManager2

I need help making an algorithm to detect that all the conditions for HAVE_ENOUGH_DATA are met (and continuously checking until they are met) and I am stumped as to how to calculate all the necessary variables using SoundManager2's whileloading option. I don't need code, just a general algorithm that would work (even pseudo-code is fine)...

html5 websocket need server?

may i know to use websocket , need to write server code? in other words, javascript in my client application will need to connect to extra server rather than just my existing Apache server? ...

addEventListener in Canvas tag

Javascript - Canvas tag - HTML5 Hello, I have a canvas tag to create a graphic. At each section of my line, I have a "dot" to enable a 'mouseover' and display more detail. Everything works fine when I don't add an event listener to this dot. Firebug is warning me : s.addEventListener is not a function... Is it possible to create dyn...

When was <input type=search> introduced in Safari

When was <input type=search.> (and type=range etc.) introduced in Safari? And can you find the blog-post to this item? I can't seem to find it. ...

Html5 cache manifest in a UIWebView?

I'd like to be able to use the html5 cache manifest to store images locally on an iPhone that is visiting the page via a UIWebView within an app. I've set up a sample that I think conforms to the specs, and appears to work in safari 4 and mobile safari, but not in my app's UIWebView. The sample html is set up at http://bynomial.com/htm...

http headers to send file to html5 <audio>

I want use html5's new tag to play a wav file (currently only supported in FF.) https://developer.mozilla.org/En/HTML/Element/Audio I"m using php's readfile command to get the wav file off the hdd, and write it to the http response. But its not working. The audio widget in firefox just has the loading animation running constantly. T...