html5

use HTML <video> tag if supported else use lightbox??? (script)

is it popular to have a page display video using the new HTML tag (as long as its supported by the browser), else fallback to using a lightbox??? [ & maybe even have another fallback??] i've never had to do anything like this so i don't know. would appreciate any suggestions ...

How to draw a polyBezier or polyCurve using Canvas HTML

I'm trying to draw a curve through multiple points (more than 3) . I tried to draw those points using available lineTo(), bezierCurveTo(). Could anyone help me solve this ? May be there is some workaround to draw this using arc() function ? ...

Unzipping zip archives with JavaScript in Firefox 3.6

I am toying with an application that will demo some Firefox 3.6 specific functionality, most of which are listed here: http://demos.hacks.mozilla.org/openweb/ I want to drag a zip file in the browser, unzip it, and work with the unzipped contents. Are there any existing libraries that can do this? Does FireFox 3.6 in particular have so...

Is there a definitive reference for both the video tag and the JS API used to communicate with it? (html5)

Is there a definitive reference for both the video tag and the JS API used to communicate with it? ...

How do you do true streaming with the video tag (i.e. not progressive download)? (html5)

I have I have cheap Apache PHP hosting. I have mp4 and or Ogg video file. I want to dinamicaly stream this video to users. And let that users see it thru html 5 video player. How do you do true streaming (beeng able to scroll to any part of wideo with out previous download of full video) with the video tag (i.e. not progressive download...

Why are there two competing implementations for the future of web markup - XHTML 2 and HTML 5?

Why are there two competing implementations for the future of web markup - XHTML 2 and HTML 5, particularly given that HTML 5 appears to have an XML-compliant counterpart XHTML5? ...

Marking up ordered definition list

Hi, I'm looking for the most semantically correct and sane method of marking up an ordered definition list. I have thought about hte following ways of doing it. First I used an ordered list with 2 paragraphs within each list item. But then I remembered the definition list element. <dl> <dt>Something</dt> <dd>Definition</dd> <d...

How can HTML5 "replace" Flash?

A topic of debate that's seen a resurgence since the unveiling of the iPad is the issue of Flash versus HTML5. There are those that suggest that HTML5 will one day supplant/replace Adobe Flash. I do not develop software that runs in a browser, so my (limited) understanding is: HTML is a pure-text markup language that is delivered ove...

How to draw an oval in html5 canvas?

There doesnt seem to be a native function to draw an oval-like shape. Also i am not looking for the egg-shape. Is it possible to draw an oval with 2 bezier curves? Somebody expierenced with that? My purpose is to draw some eyes and actually im just using arcs. Thanks in advance. Solution So scale() changes the scaling for all next sh...

Client-side image processing

We're building a web-based application that requires heavy image processing. We'd like this processing load to be on the client as much as possible and we'd like to support as much platforms (even mobiles) as much as possible. Yeah, I know, wishful thinking Here's the info: Image processing is rasterization from some data. Think lik...

Force download through markup or JS

Lets assume I have a file on a CDN (Cloud Files from Rackspace) and a static html page with a link to that file. Is there any way I can force download this file (to prevent it from opening in the browser -- for mp3s for example)? We could make our server read the file and set the corresponding header to: header("Content-Type: applicati...

How to hide the parent vertical scrollbar after an iframe is loaded?

Hi, I have attached the sample code which demonstrates the problem. I am checking this in Firefox 3.5.7. The problem is the parent HTML has a scrollbar, and it loads an iframe which is fullscreen (height: 100%, width: 100%), I want the parent scrollbar to be removed after the iframe is loaded. 1) Is this possible to do? 2) When we giv...

Is it possible to use HTML5 in a ASP.NET MVC project in Visual Studio 2010?

For now, I just want to use the <audio> and <video> tags and maybe try out the drag and drop features since these are supported by Firefox 3.6. The project will just be a test project, not necessarily for production. ...

html 5 video steaming?

to do html 5 streaming videos, does my web server have to support it? ...

For file upload which is better Google gears HTML 5 ?

which one is better. ...

XHTML or HTML 5 for php application

Hi , I am in a bit of a dilema , I know XHTML 1.0 really well and HTML really well. But what Mark Up Language should I use in my latest php application XHTML 1.0 or HTML 5 ? Also which would be future proof ? And finally if I was to build a normal site what Langauge would be best to use now ? ...

How to generate HTML 5 compliant code from Visual studio 2008?

Does Visual Studio 2008 support HTML 5 compliant code generated for browsers? ...

decent html5 offline storage and caching examples

I'm keen to test out html offline storage and caching with a view to developing a prototype to show off the offline web application capabilities of html5. I've found some webkit-specific samples, but I'm battling to find any decent code samples that even work at all in Firefox 3.6 For a sample, I'd be happy with something that works wi...

HTML problem, only works in Webkit

This works fine in Webkit, but when I go to Firefox (Or IE8) it totally messed up. I've been staring at this for so long that I can't find any errors at all with it, so maybe one of you guys can point out where I'm going wrong. CSS: body { font-family: Georgia, serif; margin: 0px; padding: 0px; background: #222; } hea...

Where to find good resources to learn HTML 5, and know more about it?

I want to know Where to find good resources to learn HTML 5, and know more about it, whats its pros and cons, and how to use it with asp.net for example? do you recommend a book, or a web based reference? where i can find good tutorials? ...