html5

iPhone, JQTouch and HTML5 audio tags

I am having an issue with JQTouch (latest beta) and html5 audio tags on 'sub pages' - the audio tag works before any page transitions are done, and cease to work afterward. For example: http://richardprice.dyndns.ws/test.html and http://richardprice.dyndns.ws/test2.html are identical other than I swap the "current" class between the...

Html5 Audio plays only once in my Javascript code.

I have a dashboard web-app that I want to play an alert sound if its having problems connecting. The site's ajax code will poll for data and throttle down its refresh rate if it can't connect. Once the server comes back up, the site will continue working. In the mean time I would like a sound to play each time it can't connect (so I ...

Sqlite Database Firefox

Hi, I want to create a Sqlite Database in Firefox (I can update my Firefox). According to my knowledge Firefox does not give you Sqlite Database access. Is there any plugin or simple patch which gives Sqlite database simulation in Firefox? Regards, Allahbaksh ...

Getting started with canvas (HTML5)

I want to do some user interaction animations with HTML5 canvas, but I don't know where to start. Are there some articles or lecture about canvas? Edit: not just online lecture, I'm also interested in physical books. ...

html5 cache -> "network: *" doesn't work

Hello all, I am trying a simple test with the html 5 cache. Here is a simple web page : <!DOCTYPE html> <html manifest="test.manifest"> <head> </head> <body> <img src="http://www.somewebsite.com/picture.jpg"/&gt; </body> </html> With the following manifest : CACHE MANIFEST #v0.1 NETWORK: http://www.somewebsite.com/ This work...

Element point map for html5 canvas element, need algorithm

I'm currently working on a pure html 5 canvas implementation of the "flying tag cloud sphere", which many of you have undoubtedly seen as a flash object in some pages. The tags are drawn fine, and the performance is satisfactory, but there's one thing in the canvas element that's kind of breaking this idea: you can't identify the object...

QT Jambi HTML5 Video

Is it possible to use the HTML5 <video> element within a QT Jambi QWebView? I have set up a basic app, but it doesn't display <video> elements. ...

Convert actionscript to javascript and html5

How hard is it to do this? Is there any tutorials? obviously not all features will be available but what is the best case scenario? ...

how to get the css keys and values for any html tag

I would like to dump all css key/value pairs for an html tag. In particular, I would like to learn the css properties for <audio> tag, so I can try to customize the look. document.getElementById('myaudio').style returns a CSSStyleDeclaration object but length returns 0 and I cannot figure out to iterate over the key/value pairs. Thank ...

Does HTML 5 Gaming use Canvas and Javascript? How to prevent cheating in this case?

Does HTML 5 Gaming use Canvas and Javascript? How to prevent cheating in this case? For instance, what if a user uses GreaseMonkey or some tool to alter the script so that it just reports a perfect game score to the server every time? ...

An html5 canvas element in the background of my page?

Is it possible to have a full screen canvas element in the background of a webpage and "normal" markup elements like a table in front of it? like the following snippet (if it wouldn't be used as alternative content): <canvas id=&#34;imageView&#34; width=100%; height=100%;> <table>...</table> </canvas> ...

HTML5 move Canvas object

Hi, I have 2 canvas created on the same canvas. Is it possible to drag the small black one around? I want to make it draggable but I can not find any online tutorial or demo on this. Is it possible? I had looked to Canvas moveTo or transitions but I was unable to make it work. The code is here http://jsfiddle.net/35P9F/2/ var ctx = d...

How can I convert an HTML element to a canvas element?

It would be incredibly useful to be able to temporarily convert a regular ol' element into a canvas. For example, say I have a styled div that I want to flip. I want to dynamically create a canvas, "render" the HTMLElement into the canvas, hide the original element, and animate the canvas. Can it be done? ...

Is html5 video ready for primetime yet?

I've been asked to develop a website for the iPad. It's going to have a couple videos on it. I'd like to try out html5. I'd really only be using the new video part of html5 (with flash fallback for browsers that don't yet support it). Would it be a mistake to do this on a fairly traffic heavy site? Edit: The site is for all browsers, b...

What are the frameworks for creating HTML5 <canvas> applications?

Yesterday I ran across the jcotton framework for creating canvas applications and I was wondering what the state of the art is. Do other such frameworks exist? If so what are their [dis]advantages? ...

HTML5, Firefox playing duplicate videos after jQuery insert.

Hello, I've extracted the following from a project we are working on: http://www.bridgedev1.com/videotest.html This plays an OGV or M4V video depending on the browser, as one would expect. The page is loaded, then the video inserved using jQuery. This works perfectly in Safari and Chrome. The problem is that in Firefox (3.6.3). When...

Images not loading online but works when I try it offline (local), why is this?

I am using localgetstorage and setstorage to load a list of links and show them as in a slideshow. The problem is that when I preview it on my PC it works, as soon as I try to use the page in my server online it won't work. Have I done something wrong? Here's a link: http://hem.bredband.net/noor/bildspelet/bildspelet.html It is very b...

Get users number from iPhone using HTML5/jQuery

Is there a method for getting the iPhone users phone number using HTML5/jQuery? All I see is how to do this with the SDK. EDIT: So far the only thing I've found is on the initial install ask the user for their number and store it. ...

Should I Abandon Adobe Flash for HTML5 and <canvas> ?

I'm currently looking into developing Facebook applications and was planning on using Flash as the basis of my application, I have test built some simple PHP Facebook applications and I know enough about action-script 3 to start me on my way, but the API for Facebook development in AS looks far more tedious than the PHP one. my question...

How do you detect HTML5 video events?

How do you detect when a HTML5 <video> element has finished playing? I found a spec mentioning an ended event, but I don't really know how to interact with it. Thanks! ...