html5

Getting buffering progress value in HTML5 video player

In Firefox when I see simple video element in this example (http://bit.ly/ki7hm), it has default browser controls. Right after page is loaded video starting to load, and I see how buffering (loading) line is moving to the right side of the default browser controls. I wish to ask how to get this value of a buffer?! Because I have tried ...

Is there any HTML 5 + CSS 3 framework specfically to make mobile website for supported devices?

Is there any HTML 5 + CSS 3 framework specfically to make mobile website for supported devices? ...

Accessing iPhone native video player that opens instead of HTML5 video

Annoyingly, when you have an HTML5 video on an HTML page, loaded inside an UIWebView, it opens the native player to play that video when you finally press the play button. Is there a way to access that native player so I can either override the aspect ratio or hide the controls? I tried checking all of the views that were added to my U...

How would one make this shape in an HTML5 canvas?

Hello, I'm wonder how you would go about and create a shape similar to this one below in HTML5 Canvas. It's more or less a cropped circle I guess, though my need would render it a synch different. context.fillStyle = "#000"; context.beginPath(); context.arc(200,200,100,0,Math.PI*2,true); context.closePath(); context.fill(); Now to c...

HTML5 localStorage adding to value with script

hello, I'm trying to use localStorage to register the right answers to an offline game. I've got the key and value stored, and can alter it using the bode below. I'd like each right answer to add to the localStorage.right plus 1 then move to the new page. Any ideas? Thank you in advance ...

Java Websocket Client with PHP WebSocket Server?

Can a WebSocket client written in java connect with phpwebsocketserver? Or do you have to have both client and server implemented in the same language? Thanks. ...

Sencha sqlite example

I would like to see a decent example of a mobile web app using the Sencha framework with a client side DB accessed with SQLite. I'm currently digesting JqTouch and kinda get the binding method used there from reading Jonathon Stark's "iPhone apps" book, but cant find any examples of accessing Senchas features ie listed elements with SQLi...

Is there a way to connect 2 browsers without a server? Maybe with Websockets?

I'm looking for a way to connect 1 browser to another without having to incur the network delay of having a server in between. It doesn't look like HTML5 WebSockets will work because I couldn't find a way to listen for connections in Javascript, only establish a connection. Does anyone know how to do this? (Connect 2 browsers directly?...

Determining the dimensions of an image drawn on a canvas and when the mouse is over the image.

I've got an animation on my canvas where I have some images (drawn using drawImage()). For the sake of simplicity, let's say there's only two images. These images are following a circular path in faux-3d space such that sometimes one image overlaps the other and other times the second image overlaps the first. These images are also sca...

autofocus with keyboard in an ipad html5 site

I'm working on an html5 app that will be used on iPads in a kiosk mode. The first thing users must do is sign in, so when the homepage loads, I'd like the onscreen keyboard to popup with the focus in the first field. I've tried all the variants I can think of, including html5 <input autofocus> attribute calling document.getElementById...

WPF and Silverlight dead ?

There is a lot of talk in the twitterverse today that WPF is dead and Silverlight has a bleak future, and that HTML5 is crowned new UI king. One such article here with further links. The problem I have with this, is that's all very well for WEB Dev but what about Windows Applications, what next for us? Do we go back to (or stay with) W...

Does IE6 support any HTML5 elements?

Does IE6 support any HTML5 elements? <!DOCTYPE HTML> <header> <section> <header> <nav> <canvas> <video> ...

HTML5 - synchronize local DB with Server

Hi, I have an application which runs in ofline mode also using browsers local database. Now I want my application to sync this with my server. I want to perform the below tasks Check for a connection at regular intervals When I have a connection send data to the server Get the updated data present on the server. What should I do to ...

HTML5 support information

I have been facing difficult time finding which browsers support which HTML 5 API and which not. Is there a website where i can get information like which browsers supports(have implemented) which HTML5 API(file, canvas, geolocation ......) and which are not yet supported ........ at one place. Yes, i would like to get information for...

HTML5 localStorage security

Would be a good or bad idea to use localStorage for sensitive data (assuming the current HTML5 implementations)? What methods can I use to secure the data so that it cannot be read by a person that has access at the client computer? ...

Wordpress-theme in html5 or xhtml?

Hey It's been a while with html5 floating around. Is it good to use it for a blog? It makes SEO better for sure, but does it harm the layout with older not-supporting-html5 browsers, like IE6? Also, should i just copy parts from Twentyten, or code from scratch? Twentyten must be created by someone who knows how to create wordpress-them...

Which technology would you use for Physics Simulations SVG or Canvas?

I'm starting a new project converting physics simulations(created in Adobe Director) to a more current platform namely html5 canvas or SVG. I would like to avoid Flash for a few reasons. I'm looking for recommendations and reasons why either canvas or SVG would fit this project best. I have read that SVG is better for interactivity which...

HTML 5 internet-explorer-8 html javascript

Does IE9 support any HTML5 elements? ...

Dynamically obtain data for HTML5 Graphic

On my Website I have tables of data that is stored on a database. Also, I use HTML5 in order to generate graphics relative to those data. While there are some general use graphics, I also want users to see how some specific data has evolved in time. Currently, in order to see that data, you need to click on a link at each value, leading...

How is the HTML5 cross-browser story going to be any different than CSS/JS?

When CSS and JS got popular, the big frustration was that every browser implemented it differently and only a limited set of "cool stuff" worked across browsers, or worked differently. Now we're making HTML5 popular, so it seems like we're about to embark on the CSS/JS incompatibility journey all over again, but now in a 3D, animated, a...