Apple IOS & Lack of HTML5 WebSockets Support
Why won't Apple support websockets on IOS Safari? This is really annoying for me... I'm now looking at having to implement a Comet/Bayeaux fallback for browsers that don't support HTML WebSockets ;( ...
Why won't Apple support websockets on IOS Safari? This is really annoying for me... I'm now looking at having to implement a Comet/Bayeaux fallback for browsers that don't support HTML WebSockets ;( ...
I've started using HTML5, starting from the HTML5 Boilerplate. This includes modernizr, which includes a shiv to enable HTML5 elements like <header>, <footer> etc. IE6-8 will ignore these elements without the shiv, and the shiv is JavaScript, so without JavaScript IE6-8 will look like a sack of crap. I'm worried about a client looking a...
I was reading through the specification and many examples about usage of websockets. Almost all of them talk about UTF-8 or ascii message transfer using websockets. The latest Hybi websocket spec requested support for binary transfer. REQ 6 in hybi spec Also i read somewhere that chrome supports hybi. But latest release Chrome 7.0 wor...
It doesn't take long when surfing the web to observe the general consensus that Flash is an expected standard, that it's okay to say "If you don't have Flash, my website won't work." Yet in the same regard, JavaScript is expected to degrade peacefully if the user does not have it enabled. I personally favor the "HTML5" approach, in oppo...
I have a HTML5 app that uses websql for storing data. Where possible, I'm using the readTransaction() method for read-only SELECT queries, and the transaction() method for INSERT/UPDATE/DELETE queries. I'm not sure if there's a performance benefit to using readTransaction(), but it seems like the right thing to do. The app works fine ...
I am trying to stream audio on a site hosted by Dreamhost from a lecture series using the <audio> tag in html5, but without much success. The actual code is <audio id="playerTwo" class="player" controls="controls" preload="none"> <source src="audio.ogg" type="audio/ogg; codecs='vorbis'"/> <source src="audio.mp3" type="audio/mpeg"/> </au...
Job has many task, task has many notes How should such a form look like ? With partials so I can enter the whole job from /jobs/new , and add new tasks from /jobs/2/tasks/new with possibility to add notes from there, and of course the possibility to add new notes from /jobs/2/tasks/5/notes/new ? Is this a good place to use the presente...
I have to draw lines around a circle (like in clock). How can i achieve this using a for loop? ...
I want to rotate the arrow to any given angle. What i need to add/modify so that it can be rotated to any angle. Currently its on 180 degree. function drawArrowAtAngle(cx,cy,angle,context){ context.save(); context.beginPath(); context.lineWidth = 1; context.strokeStyle = '#aaa'; context.moveTo(cx+25,cx-2); context.lineTo(cx-...
I using HTML5 D&D. I have one "parent" drop area, e.g. "parent". In that parent I drop my childs, e.g. "child". Each dropped child become also dropped area, e.g. it could accept D&D events. If I dragging something over "parent" area, it highlighted, same for the "child" areas. But I face issue, that "drop" event, fires from "parent" are...
I am using HTML5 video tags in a UIWebview on the iPad, and positioning them as needed using CSS. The key part of these videos is that they are designed to take up part, but not all, of the visible area on the page. When I'm doing this in the "normal" mode of displaying content only to the primary UIScreen, everything works great. Howe...
I am trying to draw a circle using mouse on the canvas using mouse events, but it does not draw anything: tools.circle = function () { var tool = this; this.started = false; this.mousedown = function (ev) { tool.started = true; tool.x0 = ev._x; tool.y0 = ev._y; ctx.moveTo(tool.x0,tool.y0); }; this.mousemove = function (ev) { var center...
How do I set up a setInterval render loop that breaks, once a condition is met? ...
I'm piecing together a cheapo app that amongst other things "frames" some of our websites... Pretty simple with the WebViewClient... until I hit the video. The video is done as HTML5 elements, and these work fine and dandy on Chrome, iPhones, and now that we fixed the encoding issues it works great on Android... in the native browser....
Im using a CSS3 multi column layout on my website with in the second column a video element. This works fine in Chrome and Firefox, but in Safari the video jumps to below the columns. Can i fix this and why does it happen? Thanks a lot! ...
I need to know best practices for IPhone/IPAD HTML5 Web development. ...
Don't kill me just yet, I'm asking out of pure curiosity. Elements like <section>, <nav>, <article>, <aside> etc all seem completely pointless. Sure they make everything have its own little place (and seo'd)... But it IS possible to over-organize things. There are some cases where things don't fit in any of the categories too. It also i...
I want to get music file details like 'file name', 'song name', 'size', 'artist', 'length','ratings' etc. This is required for my website. The user should click a button on the site and a popup should come, where he can select which folder contains the mp3 files. Then the popup program should create the necessary data and upload it to th...
I'm looking for an open source media player and I've come across flow player. It is licensed under the GPL, but also requires their branding remain visible on the player. This seems ridiculous, but they claim its compatible: http://flowplayer.org/download/free-license-faq.html If this were actually valid under the GPL, couldn't tons of...
I have two SVG rects, where one is logically on top of the other in terms of x and y position. Now, when you hover over the top rect, I want the rect underneath it to be the target of the event. But if I mousedown on the top rect, I want it to be the target. This different functionality based on event type is what makes the css "pointe...