html5

YouTube video in HTML5

How do I play a YouTube video in HTML5? ...

How to implement gmail like file upload/attachment using HTML 5

I remember some options where Ajax like(No post back world) file upload was supported, Hidden iframe Using flash object (Though i still have curiosity of why SWF is used ? and what advantages it offer ?) However by looking at blogs it appears that HTML 5 is promising, i tried some small examples and it really works :) But recently ...

Magento - Module VS Dataflow

Magento - Module VS Dataflow I am consider the possibility of ---- using Magento DataFlow to extract information from db to tie in with a video CMS. It could save development time - or it might not. It could be more stable - or it might not. The question becomes is it better to tightly integrate the video system to magneto as module...

How to save a canvas drawing?

I have this finger-painting app and I want my users may save what they draw and come back later and keep drawing. What's the lighter way to do this? ...

Is there a way to hide the new HTML5 spinbox controls shown in Google Chrome & Opera?

Google Chrome now, and Opera before, shows a "spin box" control beside a input field of type "number". I want to be able to style this, or hide it. Are there ways of controlling this UI element yet? EG: <-- That little ui element with an up and down arrow. It's not that functional and its adding unnedded elements to a form I've created...

Are image maps <map> deprecated?

Are image maps deprecated in (x)HTML? ...

Alternative to name attribute on image input in HTML5

HTML5 does not $_POST the 'name' attribute for image inputs. I am trying to find an alternative so that my server-side validation checks can identify which submit button in the form has been clicked on. Can anyone offer suggestions. ...

unable to access html5 canvas?

I'm stumling upon a weird problem: The code just wont be able to access the canvas element. Consider this code: this.canvas = document.getElementById('canvas'); this.context2D = this.canvas.getContext('2d'); Firefox would produce an error say this.canvas is null. But if I write it like this: this.canvas = $('#canvas'); this.context2D...

Using HTML5 web database to store files for offline access

I am attempting to create a simple web app for iPad which needs to be used in places with no internet connectivity. The app is essential a simple "slideshow" but also includes some video files (typically around 100MB.) Initially I was planning on using HTML5's offline manifest caching to sync the assets to the iPad's memory when interne...

How can I change the size of a tab captured with chrome.tabs.captureVisibleTab (Chrome extension)

I'm using the following code to capture a screenshot of the selected tab chrome.tabs.captureVisibleTab( undefined, function( data ) { display( data ) }); The API says its possible to change the size of the tab ( http://code.google.com/chrome/extensions/tabs.html#method-captureVisibleTab ) but I can't work out how to do it. At the mome...

How do I figure out why the contenteditable attribute doesn't work?

Hey All, I seem to be having an issue with some of my css/javascript. I can't seem to be able to get contentEditable to work in my webapp. I was inspired by the answer to this post to try this method. I've tested my browser here and it works fine. Are there any css rules I should be aware of that may be causing it to not work? I can s...

Can Html5 drap&drop interact with RichFaces fileUpload component?

Hi, My App used JBoss Seam, RichFaces. In the upload photo page, I want to use "drag&drop" a photo from desktop. I have tried with html5 but don't not find a way to interact with richfaces upload file control. Have a way to automatic start richface uploadfile on "ondrop" event in html5? Thanks, Huy ...

How do I handle the seek bar using javascript in HTML5 audio tag??

Can anyone help me create a javascript/jquery function to control the HTML5 audio tag control seekbar?? (Or suggest me a web resource from where I can learn). I want to customize the looks of the default controls and so I want to handle the progress in a different <div>. How can I achieve that? ...

Optimizing a simple jQuery image carousel

I need to cycle through 4 images on my site, I didn't want to add another plugin to the site, so i created my own simple carousel (html, css, and js below) My question is, just from looking at this code, is there an obvious simpler/better way to do it? html: <section id="carousel"> <img src="images/image_00.jpg" width="202" height...

Which elements support the ::before and ::after pseudo-elements?

I'm trying to come up with some good default styling for <input>s in HTML5 and tried the following: input::after { display: inline; } input:valid::after { content: ' ✓ '; color: #ddf0dd; } input:invalid::after { content: ' ✗ '; color: #f0dddd; } Alas, the ::after content never shows up. It's not a problem with double- versus...

HTML5 - Is it possible to drag an audio/video file on a users local machine and have it automatically play in the browser?

I would imagine this is possible if the app could access the full location path of the dropped file, but it doesn't look like this is available. ...

JavaScript, passing value to function

Kind of stuck with this thing, that's why need help please. I am using HTML5 and JavaScript to insert text on an image and create a new image with the text on it. Everything is fine if I am adding the text manually, however if I am trying to pass the text to the function as a value, its not happening. Here's the function code below f...

Which technology should one use while designing a web app - HTML5 + CSS3 or HTML4 + CSS2 ?

Hello, If I want to work on a web app with 2-3 months of timeframe in mind, which technology should I use? HTML5 + CSS3 or HTML4 + CSS2? Few points I am considering Compatibility of browsers Ease of use (especially with IE) Advantages over html4 Learning curve ...

Occasionally online app data synchronisation

Hi, I am writing an application which consists of a master "server" database (most probably sqlite) and a client side replica with client specific records (again, Sqlite). The clients may only be online occasionally or may be on slow 3G connections; I need a solution to reliably synchronise content either on demand or at scheduled inter...

Text resizing in HTML/JS.

I'm trying to create a book type interface that has 'pages', and the user can manually resize text, the catch is that I don't want the text to ever scroll. I was using the studio HTML5 demo as a starting point, the problem is as any given text is allocated to one slide, so as the text size is increased the slide sizes just increase and...