html5

JavaScript sound library the doesn't require HTML 5 or Flash

Is there a reason that all of the audio javascript libraries I'm finding (jPlayer, SoundManager 2, etc.) try to use HTML 5, and if that doesn't work attempt to use Flash but then don't fall back to anything else? Why wouldn't they try to fall back to the default HTML sound tags like <embed>, <object>, or <bgsound>? Is there a library o...

Does anyone have a validation schema for Visual Studio 2010 for XHTML+RDFa?

Visual Studio validates XHTML 1.0 Transitional by default. There are custom solutions for validating HTML5. But if you are writing a site that uses any part of the Facebook API or the meta property tags then your HTML is probably invalid. Most people don't know to change their DOCTYPE to this: What I'd like to know is, does anyone hav...

Chrome Canvas Linear Gradient != Firefox Canvas Linear Gradient

Well , the problem is the next : canvas = GreenCanvas.get(0).getContext('2d'); grad = canvas.createLinearGradient(0,0,255,0); grad.addColorStop(0, 'rgb('+r+','+0+','+b+')'); grad.addColorStop(1, 'rgb('+r+','+255+','+b+')'); canvas.fillStyle = grad; canvas.fillRect(0,0,256,34); 256 pixels . from for example rgb(0,0,0)...

Is it possible to record sound with HTML5?

I'm considering a web-version of some of our programs and considering HTML5 and Flash. Anyone know if it's even possible to record audio with HTML5? ...

Recommended IDE's for pure web apps (HTML5, etc.)

I'd like to play around a bit with pure web app programming. Coming from a VB6 background, some features I'd like are: step-by-step debugging Visual UI design If we decide to do our next app as a web app, price isn't terribly important (a better IDE being more productive and pleasant to use). Update: I'm looking for something like ...

How can I gain access to HTML5 session storage under a different scheme (http/https)

We have a very dynamic site which uses session storage extensively to keep track of things. However, as we have switched from using just HTTP to HTTPS for sensitive forms we have discovered that the session storage is scoped to the scheme. For example setting a key value on a HTTP page will not be accessible from a HTTPS page, and vice ...

WebApp that communicates using only json objects?

Hey everyone, I've been thinking about how the majority of web apps works at the moment. If as an example the backend is written in java/php/python what you probably see is that the backend is "echoing / printing" the html ready to the browser, right. For web apps that works using almost exclusively ajax, is there a reason to not simpl...

How to capture audio from a browser?

My client needs to let a user record a message from the browser, then export the message as an audio file (e.g., WAV). How is this best accomplished? Flash, Java, HTML5? By best, I mean something that is straightforward to implement and also broadly supported. What are people's experiences using HTML5? Thanks! ...

scale HTML5 Video and break aspect ratio to fill whole site

I want to use a 4:3 video as a background on a site, but setting the width and height to 100% doesnt work, since the aspect ratio is kept intact, so the video doesnt fill the whole width of the site. thanks for your help! here is my html and css code html: <!DOCTYPE HTML> <html land="en"> <head> <link rel="stylesheet" type="text/cs...

How do you prevent firefox from zooming in when pressing ctrl and +?

I am trying to use the ctrl and + combination within firefox for a different action for our web application. How could I prevent firefox from zooming when our web application is listening for this event? I do not want to change a setting within firefox, but would like the code to do this somehow. Any suggestions? ...

HTML5 video player prevent seeking

I'm creating a series of video tutorials and would like to prevent users from seeking forward and skipping sections. I'll be using an HTML5 video player that will be used for desktop and iPad browsers. Ideally, I'd like this to work on the iPhone as well, but I realize you have no control over the video on the phone since it uses the i...

Drawing a triangle in a coordinate plane given its three sides

The length of three sides of the triangle, a, b and c will be given, and I need to find the coordinates of the vertices. The center (probably the circumcenter) can either be the origin or (x,y). Can anyone point me in the right direction? ...

Chrome extension : Download/export content created "on the fly"

I need to let the user to download a file created on the fly from some data contained in the extension, but I don't want to do this server-side. As a real-world example : There is a variable containing the text "hello world". I want the user to be able to download/create a .TXT file containing such text. Is it possible ? -edited- S...

Are there any IDEs with HTML5 IntelliSense support?

Are there any tools that show HTML5 tags inside IntelliSense? What tools do you use to work with HTML5? ...

transforming in html canvas

ok, how can I transform a html canvas from a square to a trapezoid? so ___ | | |___| to ___ /___\ ...

Using HTML5 file uploads with AJAX and jQuery

Admittedly, there are similar questions lying around on SO. But it seems none quite meet my requirements. Here is what I'm looking to do: Upload an entire form of data, one piece of which is a single file Work with Codeigniter's file upload library Up until here, all is well. The data gets in my database as I need it. Good good. But ...

NXE dashboard in HTML 5

Im looking for a NXE dashboard style template in HTML or CSS or javascript just not flash. For those of you who dont know what NXE is, its the xbox dashboard. any information on this please respond ASAP. thanks ...

how do I html5?

I've been reading through stuff on html5 but have a very basic question: what do I need for html5? Do I need to download anything (from where?)? I have LAMP...does HTML5 support mysql databases? ...

Why doesn’t Web Sockets use SOAP?

First off, I intend no hostility nor neglegence, just want to know people's thoughts. I am looking into bi-directional communication between client and server; client being a web application. At this point I have a few options: MS-proprietary duplex binding, from what I hear unreliable and unnatural: comet, and web sockets (for suppor...

Native looking HTML selector with Android/iPhone Webkit?

Looking at Google Calendar on my android web browser I noticed the time selector looks like a native Android selector as opposed to looking like an HTML selector drop-down. To see it: go to http://calendar.google.com/ Touch the plus button at the top right Touch the time drop-down You should see the native-looking selector. What HT...