html5

HTML5 Video not auto-playing

Hello, I'm requesting this chunk of html from a mysql database: <p>Hello.<br><video src="video/hi.mp4" width=100% height=100% autoplay="autoplay"></video> It displays, but won't autoplay. On a static HTML page it goes off without a hitch. The request comes from an ajax call for a matching keyword that is being typed into a input bar. ...

Base64 decode from Buffer to Buffer efficiently in node (node.js)

I currently have a python and C version of wsproxy (WebSockets to plain TCP socket proxy) in noVNC. I would like to create a version of wsproxy using node.js. A key factor (and the reason I'm not just using existing node WebSocket code) is that until the WebSocket standard has binary encoding, all traffic between wsproxy and the browser/...

Facebook Connect w/ Mobile Web App - How to get most fluid flow?

Hi All, I'm developing a mobile wep app, and would like to allow my users to login using Facebook connect. I initially implemented the standard Oauth2 authentication, but I found a couple issues: When I install the app as a home screen shortcut and the user needs to authenticate the user is redirected to facebook's site for authenti...

Canvas to Image

I need to convert the canvas tag into a image file and it need to support the IE6+,Mozilla 3+ and saffari 5+ ...

How to integrate a series of images to form an HTML page?

I have a series of images (named as image_1.jpg, image_2.jpg and so on) in a folder. How can all of the images be joined together to form an HTML page using Javascript? ...

Creating a Web Radio

Hi everybody, I'd like to develop a web sample application that can send and read audio on the fly. The idea is to develop a website with HTML5/JS. So, the admin part (in php or whatever server side language) will allow me to send audio from a mic. Then, on the client side, the user can listen to the stream with the <audio> tag for ex...

Good tutorial for using HTML5 History API (Pushstate?)

I am looking into using the HTML5 History API to resolve deep linking problems with AJAX loaded content, but I am struggling to get off the ground. Does any one know of any good resources? I want to use this as it seems a great way to allow to the possibility of those being sent the links may not have JS turned on. Many solutions fail w...

File upload via hidden iFrame - form nesting problem

Hello, I assume this one is rather a JavaScript/jQuery/DOM question than a Rails question, but it's all due to the way I implemented it in Rails. I am trying to upload files while creating a new object (auction). While the user inputs some data, he shall also have the possibility to upload multiple photos. The main problem is, that th...

HTML5 drawing with "replay" feature"

I am trying to implement a html5 drawing app. Currently, I can allow for a drawn image to be saved. I want to be able to have a replay feature that redraws the image the same way that it was originally drawn almost as if it were a video. Any ideas? ...

Video Conversion (a la youtube)

So we were going to make a website allowing users to upload video. The website is going to be in PHP/MySQL. Are there any converters out there available for PHP to convert a video from a given format to flash to display on the web page to play? Basically we would have a file on the server in say .avi format, or quicktime format. How do ...

Using sound on a website for iPhone, BlackBerry and Android

I am developing a website that will play sound files for all smartphone users -- BlackBerry, Android, and iPhone. I've already figured this out for the iPhone, but how do I do this for BlackBerry and Android? ...

Drawing on canvas with iPad?

Hi, I found this http://www.bennadel.com/blog/1867-Drawing-On-The-iPhone-Canvas-With-jQuery-And-ColdFusion.htm example on how to draw on a canvas with the iPhone (which works) but it doesn't work on my iPad. When I try to draw something all I can do is to make straight lines from the same starting point. Also it doesn't disable the scro...

HTML5 multiple canvas on a single page.

If we use multiple on a single html page does it hamper the performance of the application that is being developed and does the code get very bulky and require more time to load the page? ...

Clent-side data storing,DOM storage or HTML5 Local Storage ?

Im really confused when thinking about my requirement to store data locally for offline viewing.Now i have two options,DOM storage and HTML5 Local storage. As im a complete newbiew in this particular topic,i need some help of SO Experts and Gurus. Whats the Advantage and Dis-advantage of these two.?can any one compare these one.,so that ...

HTML5 streaming video - is it possible?

Hi. Is it possible to use HTML5's video tag and connect it to an RMTP stream? Thanks. ...

What Does This Mean and How Does It Help?

Hi! At the moment I'm coding a web application that imports image data from Google Maps via the Static API - http://code.google.com/apis/maps/documentation/staticmaps/ - into an HTML5 canvas. Unfortunately, I've run into the problem of not being able to manipulate the pixel data from Google Maps due to cross domain restrictions. How...

Get Value Outside of db.transaction Scope in Web SQL DB

Pretty sure the answer to this question is "closures" but I'm having a hard time getting it right. Given the following: var total = 0; db.readTransaction(function (tx) { tx.executeSql('SELECT COUNT(id) AS mytotal FROM sometable', [], function (tx, results) { total =results.rows.item(0).mytotal; conso...

Block-level links that work in Firefox?

I'm using block-level links, but running into the Firefox bug as reported here. Unfortunately the fix of simply adding a wrapper is not working for me. My block-level links are still screwed up as you can see from this link: http://bpl2.barbadospropertylist.com/category/blog/bpl/ (in Firefox 3.5). How should I be using block-level lin...

Rounded Corners Optimization

Now that CSS3 includes styles to add rounded corners to images automatically, does this mean that adding rounded corners to images without CSS should be discarded? I would assume that shaving off some of the image would load the page faster then shaving off some of the CSS, but at the same time, that would all depend on how fast the bro...

How would I convert a HTML5 / CSS3 document to PDF?

We're currently generating reports for our web application using html5 / css3, and they look good on screen, but obviously when the user hits print who knows what is going to come out of the printer. So, what I would like to know is what is the best way to convert these reports to PDF for download / printing while maintaining the same vi...