html5

reverse geocode a set of co-ordinates

I have sets of co-ordinates in the following format (-33.9,18.6) How do I go about getting the name of the nearest town or Country for those co-ords? I'm guessing it will involve Javascript, but am happy to also use PHP if appropriate? EDIT: Am trying the Google Reverse Geocoder but having trouble with it. The following code is p...

Is there a size limit for HTML5 Manifest?

Hello I have been looking into HTML5 manifest but I am unclear as to whether or not there is file size limit for caching using the manifest. For example if i wanted to make several audio files available offline would this be achieved using manifest? or is it really only for small images and text? ...

HTML 5 Structure tags demo

Hello, i can't find demo of structure tags <header>, <footer>, <articles> ... http://brucelawson.co.uk/tests/html5-elements.html Here, something like this, but with highlighted of each elements Please, help ...

Most effective way to draw smooth animations over google maps?

I'm trying to draw an animation over google maps, hopefully using html5's canvas element. Is this possible? The animation is just along the lines of moving and rotating rectangles (simulating transit flows/traffic patterns), nothing fancy, but not something I see supported directly in the google maps API. Are there alternative map API'...

How to not cache a php file where a cachemanifest is beeing called?

Hi, i'm building a iphone app with jqtouch and i use a cachemanifest to cache all the static files (images, css, javascript) to make it load faster. However the page uses php for the dynamic content and i don't want to cache that. So i'm generating the cachemanifest with this php-script(manifest.php): <?php header('Content-Type: text/c...

html5: Input Field Using @fontface, non-system fonts. Is this possible.

Quick question, is it possible to have an input field in a form use a non-system font in html5 and css3? So if someone types in the form field the text could be something like gotham? ...

html5 vs flash - full comparison chart anywhere?

So since Steve Jobs said Flash sucks and implied that HTML5 can do everything Flash can without the need for a Plugin, I keep hearing those exact words from a lot of People. I would really like to have a Chart somewhere (similar to http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28HTML5%29#Form_elements_and_attributes ) that ...

How to synchronize HTML5 local/webStorage and server-side storage?

I'm currently seeking solutions for transparently and automatically synchronizing and replicating across the client-side HTML5 localStorage or web storage and (maybe multiple) server-side storage(s) (the only requirement here that it should be simple and affordable to install on a regular hosting service). So do you have any experience ...

jQuery plugins for HTML5 video playback?

I'm looking for a good jQuery plugin that allows HTML5 video playback, with graceful fallback to Flash (and potentially further, to default system player, etc). I've googled, but nothing I've found has been quite what I'm looking for. Any suggestions? ...

Flip <canvas> (rotate 180deg) after being published on page.

I'm trying to rotate a canvas element AFTER it's been appended to the DOM. Canvas is 600x50 and this is the code at hand: var canvas = document.getElementsByTagName('canvas')[2]; var ctx = canvas.getContext('2d'); ctx.translate(300, 25); // rotate @ center ctx.rotate(angle * Math.PI/180); which isn't accomplishing the task. Am I miss...

What is the logic behind to use Semantic meaningful markup?

Is it only for screen reader software? because browser renders both type of tags semantic and presentational in same manner. For example: for browser for us and for css <strong> and <b> is same. what is the purpose to semantic tag over presentational tag. is it for screen readers only or it's for better management of code? if it's f...

Any good, visual HTML5 Editor or IDE?

Hi All, Well it looks like Dreamweaver CS5 will try to smoother the HTML5 thing for a few more years (weeks actually). Seems like the next rung down is right to Notepad! Anyone know a good HTML5 editor with a visual/preview/style leaning? Eclipse with some pluggin? (Seems like the market will be begging for it soon.) Thanks ...By t...

Local development using HTML5 storage

I am experimenting with HTML5 local storage functionality, but was frustrated to learn that the browser won't allow local storage when the file is local. My guess is that the browser (Chrome in my case, FF too) wants to see a domain rather than a file location. Has anyone here discovered a workaround for developing locally? Perhaps setti...

HTML5 on iPhone Safari - data stored by localStorage does not always persist. Why?

Hi, I write a simple iPhone web app using HTML5's localStorage. Tests on a 2G device show that data stored using localStorage does not persist after the Safari process is killed although the opened Safari windows are remembered. The data is also lost in a case where I am on a different site on a different Safari window, then I change ...

How can i set my background color through HTML5 getItem?

Im using this code: $(this).css('backgroundcolor', localStorage.getItem('bgColorr') + " !important;"); When i write: alert( localStorage.getItem('bgColorr') + " !important;"); It gives me the proper alert, rgb(243,102,42) !important; .... Really getting to me.. thanks guys! edit: Surrounding code: $(function() { $(th...

How HTML5 Geolocation Feature Works?

How can the browser tell where I am? Totally based on registered IP address? What if I'm behind a proxy? ...

HTML5 Web DB Security

Hi all! I'm looking into an offline web app solution using HTML5. The functionality is everything I need BUT the data stored can be directly queried right in the browser and therefore completely unsecure! Is there anyway to encrypt/hide so that the data is secure? Thanks, D. ...

HTML5 video (mp4 and ogv) problems in Safari and Firefox - but Chrome is all good

Hi folks, I have the following code: <video width="640" height="360" controls id="video-player" poster="/movies/poster.png"> <source src="/movies/640x360.m4v" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <source src="/movies/640x360.ogv" type='video/ogg; codecs="theora, vorbis"'> </video> I'm using Rails (Mongrel in developm...

A good pdf for HTML5

Hello, I did google, but could not find a good ebook on HTML5, let me in on good resources. Thanks Jean ...

html5 video secure streaming?

Does html5 allow me to do secure streaming video? And by this, I mean token authentication. I want to be able to stream media only to those people who are authorised to view it. I can do this currently with Flash Media Server hosted by Akamai - they have a custom mechanism where I send them a token as part of the player connection hands...