html5

HTML5 audio codecs, support for other formats besides OGG

I started tinkering around with HTML5 recently and am very interested in Audio tag. Though one thing immediately came to my attention, it appears that OGG is the only format supported in Firefox! I understand that this is because MP3 and other codecs are proprietary software and require a license to use. But how is HTML5 Audio (and Vid...

HTML 5 Video stretch

Can you make a video "stretch" to the width & height of the video element? Apparentlyby default, video gets scaled & fitted inside the video element, proportionally. thanks ...

Drag scrolling on web

how to make scrolling like this: http://na.blackberry.com/eng/devices/blackberrypearl.jsp ...

Any software like blend for HTML5 canvas animation?

Is there any software available like blend, for working with HTML5. Especially, to do animation related stuffs. ...

Is it possible to tell iphone 4 to use @2x graphics in a web page

I'm building an iOS centric web page using HTML5, CSS3 and Javascript with jQuery and jQTouch. I've searched for the possibility of including @2x graphics so iPhone 4 can use it, but haven't found any information about this. Is this possible or not? Anybody know? ...

Capture image from camera into form or html5 canvas

I need to capture an image from a webcam (tethered camera, etc.) into a form or html5 canvas so that I can save the image to the server. Also, I would like to be able to preview the image live in the page. For example, I have a browser running at a registration check in station. I would like to take a picture of the attendee currently s...

Smooth user drawn lines in canvas

I'm using <canvas> to capture user input in the form of a signature and am trying to figure out how to smooth the input from the mouse. I think I need to process the user's mouse movements chunk by chunk and smooth each chunk, I'm not after super smoothing but any improvement on the jagged input would be good. Thanks, Mark ...

Safari 5 won't submit a form with bad data in input type=email

With an input type=email, Safari won't let the form be submitted if there's not a valid email address. But there's no feedback from the browser at all to let the user know why the form stopped working. Is there anything to be done other than writing some Javascript to validate the input (which kind of ruins the point of using type=em...

Is there an opensource framework for 3d canvas?

Is there an opensource framework to allow real-time rendering of textured polygons? I want to display photo's in a 3d space. I don't need many polygons (less than 100, but the more the better, of course) ...

iPhone Apps Using HTML5,CSS3 and jQuery

Is there any good tutorial from where, I could find, How to develop a iPhone apps using HTML5,jQuery,and CSS3. ...

How can I get debugging output from IE 9?

I am trying to make a website that uses the <canvas> element and Javascript to learn some new things. It works properly inside of Chrome and Firefox, but Internet Explorer 9 simply hangs on it. Neither Chrome nor Firefox give me any sort of error output in their consoles and IE9 just crashes without actually giving any debug output. Is...

How to use an .png image as background in canvas html5?

Hello, I would like to use an image for background in the canvas element provided by HTML5. The thing is I don't want the drawing to modify this image, I just want it to be use as a reference or guide for the user. For example: if I draw a background image on the canvas then I add some lines and random drawings, once I use the erase to...

HTML/DOM: What is standards equivalent of scrollHeight?

For nearly a decade i've been using: document.body.scrollHeight to return the "ideal" height of the browser window. This worked fine when i was forcing Internet Explorer into quirks mode, by using a quirks-mode doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Now i want to opt into standards mode, except the...

Changing src attribute of HTML5 audio element

I am trying use JS to playback some sounds. What i want to do is have piece of music playing but after a certain time replace it with another audio file. I thought the most effective way would be to reuse the same audio object, but it seems to not kill the original sound so all gets messy. What is the best way to do this? My code is bel...

HTML5 Canvas eraser

There's a way of implementing an eraser (other than using a white pencil?). I'm using layering, I have an image below the canvas, so, if eraser paints white, the user is going to notice since the below image isn't solid white. Thanx. ...

A few questions regarding CACHE MANIFEST syntax/limitations

I could not find any answers to the following questions, so where better than to ask on StackOverflow? :) Can I use full absolute URL's in my CACHE MANIFEST file? Example: CACHE MANIFEST http://www.example.com/css/stylesheet.css http://www.example.com/img/image.png Will the browser cache files on a different domain than the origin i...

Hiding the HTML5 number input spin box

Is there a consistent way across browsers to hide the new spin boxes that some browsers (such as Chrome) render for HTML input of type number? I am looking for a CSS or javascript method to prevent the up/down arrows from appearing. ...

Geolocation in Safari 5

Hi all, I have a application which reports my location using HTML5 geolocation. The application works correct on Firefox and Chrome, but on Safari 5, it says that Safari does not support Geolocation. From what I read, Safari 5 does support Geolocation. What am I missing? Thanks for your time. Sunil ...

Real Time data graph

I would like to build a web-based real time data graph and i'm looking at the different options such as: Html5 canvas JS libraries with graph support such as Extjs Can you please recommend any ? ** UPDATE ** By real time i mean, either the client polling the web server say every second or using reverse ajax; the server pushes data...

Best html5 resources - web and print

What are currently the best resources for learning html5 - I'm thinking web and books, particularly what's the best book ...