I am using a UIWebView in a Tab Bar application and I am having a <video> tag for some m4v clips. I have the desired behavior so far, however when the device goes from portrait to landscape, the video (and the controllers) remain as before.
I am not 100% sure, but I suspect that the UITabBarController is "locking" the orientation change...
I am reading a document about HTML5. A few lines down from where I linked, a sample DOM tree is displayed for the sample HTML code given. Why is there no text node directly before the <head> element? Why is there no text node between the DOCTYPE and <html> nodes? Error or feature?
...
I'm creating a web app for the iPad and I'm trying to assign a touch event to an element within canvas. I have it set up like this:
function initialize() {
touch_element = new Image();
touch_element.src = 'img/image.png'
touch_element.onload = function(){
canvas.drawImage(football, 50, 50, 184, 120);
touch_e...
I'm looking for an elegant way to generate a thumbnail for use with the FileAPI. Currently I get a DataURL representing an image. Problem is, if the image is very large, than moving it around and rerendering it becomes CPU intensive. I can see 2 options to get around this.
Generate a thumbnail on the client
Generate a thumbnail on the ...
As I understand it, the <input type=email> element in HTML5 will render as a simple text field in browsers that do not support the tag. On other browsers it will render properly, like on the iPhone it will bring up the e-mail keyboard layout.
I’d like to use this in a project but my input fields are <asp:TextBox> controls. How can I us...
Hi all,
I have the latest version of Firefox (4 beta) and Chrome. I would like to start hacking up some ideas for what I could do with indexedDb. So far, it looks like it is not yet available in either browser.
Any ideas on when it will be available?
Thanks,
Walter
...
I am wondering how I might set vim to color the new html5 elements (ie "canvas" and "video") as it does with the existing "script", "body" elements (or reserved words in other languages like python's "def") etc. Current version is from MacPorts typically used in a terminal emulator.
...
Is there a way to style text font dynamically base on selected font in a list? For example, we can see this in Microsoft Word, where you can highlight some text and then change the font style by selecting a font style from the font dropdown box. I am trying to create a component similar to this in the browser. Current I am using the webf...
I'm not currently trying to set up a server with Websockets. Eventually I will, but I first just want to see a short working example of websockets, connecting to a third party server.
I found a short example here: http://www.websockets.org/about.html and here http://blog.chromium.org/2009/12/web-sockets-now-available-in-google.html but...
According to this Mozilla article on Ogg media, media works more seamlessly in the browser with an X-Content-Duration header, giving the length in seconds of the piece.
Assuming that I have that length stored somewhere (certainly in a database, perhaps also in the filename itself (video-file-name.XXX.ogv, where XXX is the time in second...
Hi,
I'm trying to pull together the javascript to seek through video by individual frames using HTML5. I had a few questions:
1) When you change the video.currentTime property, does this automatically re-render the video at the new time position. I've got the following, and regardless of whether the video is playing or paused, this ...
I have noticed that the new XMLHttpRequest object supports an 'onprogress' event in firefox. Is it possible to utilize part of the new HTML5 File api's to get an upload progress bar without any server-side modifications required?
...
I am looking into using browser sessionStorage for a web application, and was trying to find current information on size limitations. It appears most desktop browsers have imposed a 5MB limit. However, I am not finding many recent articles nor information on the mobile browsers.
The Disk space of the W3C Web Storage specification says...
Anyone knows any really good HTML 5 tutorials ?? Something that would help me use the new features in HTML 5 ...
Thanks
...
Hi< I was wondering would anybody know of tutorials describing, in detail, how to build a video playlist in HTML 5? I also would like these videos to play in a random order.
...
When I try to execute this in jQuery I get $ctx.getContext is not a function in firebug.
var $ctx = $( '<canvas />', {width:'100', height:'100'} )
$widget.append($ctx)
$ctx.getContext('2d')
Any idea why I get this error? How do I dynamically create and initialize...
In Firefox the image specified by the poster attribute of the VIDEO tag remains on screen until the play button is pressed. However in the Webkit browsers (Safari and Chrome) the poster is dumped in favor of the first frame from the video as soon as the video metadata is fetched.
I want to avoid having to place the poster on top of the ...
For the life of me I can figure out how to do a simple fast forward and rewind on the iPhone for an audio player using HTML5. All the Apple documentation says that the playbackRate should be used for this. I have watched the WWDC 2009 and 2010 sessions on this and downloaded all the example source code I can find but I still can't figure...
Planning to use HTML5 in a big project, I need to make an exact timeline for future changes.
Is there any source to tell me when a particular feature of HTML5 will be ready? Is there a roadmap for HTML5 support for each particular web engine?
Just for some more details, I’m working on a social/video sharing site. I want to use new feat...
Hi. I'm working on implementing a fallback mechanism for the HTML5 video player. I've got a way to replace it with the swfobject Flash player, but how should I detect if any issues have developed?
In other words, if we use the following list of error events that can be thrown, which one should trigger the Flash player replacement? Or sh...