html5

HTML5 localStorage

So I just read Nettut's video about HTML5 local storage. However for some reason I cannot get it to work on my computer. (Ubuntu 10.04 Namoroka 3.6.9pre or Google Chrome 5). I'm using this javascript code: $(function() { var edit = document.getElementById('edit'); $(edit).blur(function() { localStorage.setItem('todoData', this...

HTML5 Geolocation, GPS Only

Is there a way to make HTML5's Geolocation only work, if it is using a GPS device to get the location? ...

Is HTML5 advanced enough to be used for a socket based application?

Is it possible to create a socket based multi-player game client using html5? Does html5 allow socket programming? ...

How to work with HTML elements underneath a canvas

I have a container of some HTML divs and with some CSS if I hover over them, the background color changes. I want to overlay a canvas on top of the container so that I can draw lines. The problem is that when the canvas is overlaid, the hovering changes of the divs no longer works. Is there a way to overlay a canvas but still have CSS or...

HTML5 LocalStorage size

Hello, Can anyone explain me the size of window.localStorage (for example, 5MB in Firefox) is 5MB for each scope or only for all? ...

GWT support for HTML5

Hello Does GWT support HTML5? I mean especially Canvas and WebSockets? Regards ...

JQuery Shuffle Effect using Html5 [Canvas +CSS +JS]

Hi All, I saw a JQuery Shuffle Example and I was trying to implement the same using HTML5 and Canvas + CSS + JS with images. but finding animation/drawing using Canvas bit difficult. I just had idea of creating as many canvas as images and then try to move the canvas for shuffle animation. Are there any libraries to achieve the same...

HTML5 Audio Player makes multiple GET requests when loading. Why?

I have been working on a jquery plugin that uses a HTML5 audio player () to play back mp3's. I noticed that in various browsers multiple GET requests were made for the same MP3 file when the audio player was loaded. I created a simple standalone HTML file to test this out. <html> <head></head> <body> <audio controls src="http://lo...

Amazon S3 Hosting Streaming Video

If I make an Amazon s3 MP4 resource publically availible and then throw the Html5 Video tag around the resource's URL will it stream? Is it really that simple. There are a lot of "encoding" api's out there such as pandastream and zencoder and I'm not sure exactly what these companies do. Do they just manage bandwidth allocation(upgrading...

Has anyone made an HTML5 video playlist that works in iPhone or iPad?

Hi -- I can successfully trap the "ended" event in an HTML5 video like so: onended="do_ended()" And in that function, I can make a playlist that works on desktop Chrome and Safari (yes, also with jQuery and AJAX): function do_ended() { $.get("/nextclip.php",{'id':video_id},function(data){ $("#html5_screen").html('<source ...

HTML5 Sequential execution

Hi, I have created a web storage for product details (productId, name, quantityonhand) and have populate records into it from the server. I have to validate whether the required quantity is available to accept the order. The Product form has checkboxes (with name="product") for every product available in the web storage and a corresp...

JS to monitor data usage?

I'm building a simple html5 app to monitor the total network traffic that's incoming and outgoing. Is it possible to know your bandwidth usage using js? ...

HTML5 iphone offline webapp

So i know that "offine mode" is supposed to work when you have no internet connection. But suppose I build a local network webapp, let's say at 192.168.1.100, then I leave my house, and i'm off the network, then I try to hit that address. Will the webapp pull from the cache, or will it say, "you have internet, but the host is unreachable...

Can UIWebViews create and access HTML5 databases?

I've built an online web app using HTML5 databases and it works fine in Mobile Safari. However, when I view the same site in a UIWebView inside an app, the HTML5 database part of the app doesn't appear to be working. Am I doing something wrong? It seems logical that something inside a UIWebView should be able to create HTML5 databases, b...

Correct usage of HTML5 <hr> tag

Hi, I'm writing a new webpage for a company and I have (a sane subset of) HTML5/W3C recommendations in mind. After reading the semantic meaning of <hr />, I was wondering if this was a good place to use it: <section name="historyItem"> <h2>2002</h2> <p>Dolorem ipsum dolor sit amet in 2002, consectetur [...]</p> <hr /> ...

Has anybody tried the new MVC HTML5 Toolkit from Codeplex?

I saw a tweet today referring to the MVCHTML5 helpers on Codeplex. I'm wondering if Anybody has tried this out yet? Does it add any real significant benefit over the default HTML helpers? What are the actual HTML5 aspects of this library? ...

HTML5 Web socket Handshaking

I'm sort of new to web programming, but I wanted to write a HTML interface for a embedded device (coded in C) that I am developing. I've already implemented a stream server (a la beej's socket server example) and a java client, but I'm interested in implementing a HTML5 Socket interface instead. I am having some trouble with the handsh...

html5 canvas clicking on bezier path shape detection

Hello, I have a canvas with some irregular shape drawings in it, and I would like to have a feedback when someone clicks on a specific one? I've been looking everywhere for this and have only found solutions for rectangle. I think it may have to do with isPointInPath(), but I've yet to find a concise explanation on how to use it. An...

It looks like IE does not have canvas.

I would like to implement a simple drawing tool that could run across most of the browsers, but it's not working on IE. Any one have an idea on how can I achieve maximum browser compatibility? ...

Remote alternative to local storage for low-security user data?

Suppose you're developing an independent, small sub-page for a big and well frequented web portal. The sub-page shows entries from a public event calendar, and allows users to highlight those especially interesting to them. The highlighted events shall be highlighted (and maybe shown on a separate list) on each future visit of that user...