No Flash For The iPhone

Via TechCrunch I noticed that there won’t be flash player for the iPhone anytime soon. I’m not surprised. I said this before.

Apple doesn’t want the iPhone to get the reputation of having poor battery life. Apple is said to have avoided 3G thus far because of power consumption reasons, instead opting for a lower powered EDGE chip. When Apple moves to 3G later this year, they will want to at a minimum keep the same battery life. Having Flash on the iPhone will mean a likely drop in battery life. Something they don’t want.

I suspect in 12-18 months when H.264/AAC is a more common encoding scheme, I think we’ll see a Flash component for QuickTime that can take advantage of the hardware on the iPhone. Right now there’s too much vc6 stuff out there.

Apple doesn’t want anything released to drain battery life or it will be accused of misleading consumers about average battery life. Keeping the CPU idle will help keep that time up.

I suspect the SDK will have some limitations on CPU cycles an app built can consume before it’s throttled in some way. For the exact same purpose. That’s fine for most things, most users won’t notice, but for video, any slowdown or bottleneck becomes very visible.

Flash For iPhone

Gear Live is reporting that Flash for the iPhone is coming. Given how many times rumors like this come around, I’m slightly skeptical until I actually see confirmation for myself.

That said, if there is an implementation, I suspect it will be a special mobile version, and very MPEG-4 centric. By that I mean H.264 as the encouraged (if not only) video encoding, and AAC as the preferred audio format, with MP3.

There’s a simple reason for this. AAC, MP3, and H.264 can be processed using hardware decoding. This means the CPU isn’t needed, resulting in lower power consumption. Many mobile devices have specific hardware for this reason. There is unknown hardware in the iPhone, which may very well be for hardware decoding.

By leveraging hardware decoding it allows Apple to offer things like video without sacrificing thermals or battery life. Since Flash can now use H.264 as well, it could offload some of that complicated processing. The CPU itself contains PowerVR MBX 3D graphics.

This could allow for most Flash to work, with much lower power consumption. The downside to this is that VP6 encoded video wouldn’t be able to use hardware decoding. For many online video sites (which use VP6 since H.264 is still very new) you’d have to run off of the CPU meaning more thermals and power consumption. A notable exception is YouTube, which thanks to Google’s work with the Apple apparently uses H.264 by means of a custom application.

HD Photo Now JPEG XR

Back in March I mentioned that Microsoft is trying to standardize it’s HD Photo format as the official successor to the ever so popular JPEG format. Well it’s now looking to become JPEG XR.

Suprisingly it’s still not listed on Microsoft’s Open Specification Promise where Microsoft lists things it won’t sue over. Hopefully they will update that soon. My understanding from what I’ve read is that’s the intent.

It’s a pretty interesting thing going on. Video on the web has improved by leaps and bounds over the years from a tiny grainy video object that took a decade to load, to instantly loading and still improving quality Flash / Windows Media / QuickTime. Photos on the other hand have been using JPEG for pretty much a decade. Most photography buffs don’t seem to fond of JPEG because it can degrade picture quality, but still love services like Flickr.

Will JPEG XR spark a photo revolution by allowing better quality?

Blocking Firefox

There’s recently been a lot of buzz about a list of sites that make Firefox sad. Having written reporter, I’ve done a fair amount of monitoring in this area over the past few years. Overall I think the scope of sites that still block certain browsers/OS is declining. By scope I mean quantity of sites/popularity of sites. More and more often the sites are less and less popular sites. Often they are either financial institutions (known for being the last to update their tech) or media related (and dependent on Microsoft Windows Media DRM). That’s not to say the landscape doesn’t need to improve. From where I sit, it says the landscape is improving. More and more websites are realizing the need to work anywhere. No site is happy with a 5% drop in traffic. That means they can’t afford to ignore a browser with even more market share.

Things are looking a little brighter. While it’s still not good for the web, Silverlight and Flash seem to encourage much more compatibility across browsers/platforms than Windows Media Player ever has. Flash has been a major win for Firefox. Flash is rather consistent across browsers making it a popular choice for media (think YouTube). It’s leveled the playing field, since lets face it, Windows Media historically has been lacking in Firefox, though recently improving. On Mac OS X it is awful at best. h.264 support will make Flash even more attractive to content providers in the near future who are still holding out because of quality.

An interesting point made by that list is a lot of sites are “IE only” because of buggy navigation menu’s, typically due to flyout and drop down menu’s. It really is too bad. Most of those implementations aren’t even search engine friendly (they often store the entire navigation in a JS array). You’d think that would be incentive enough to change.

So those are my somewhat random thoughts on the topic for the moment.

On a sidenote, other content of the site includes a how to on Firefox pencils that look pretty cool.

Safari On The iPhone

There is a message on the Surfin’ Safari blog about the new iPhone, but it doesn’t say as much as I had hoped it would. I want to know the following as a developer:

  • How close is Safari on Mac OS X 10.4 to how the iPhone renders? Are they the same version of WebKit or a fork? How can developers test without an actual phone? Is any Mac with Safari a good method? For the Blackberry we have the simulators. How does it differ?
  • What if any plugin support exists? Does it support QuickTime? Flash? Acrobat (or Preview.app)? Can it handle attachments? Can users download third party plugins? Or are they limited to capabilities of the phone as it ships (or through official software updates)?
  • What will the UserAgent be? Will it be the same as desktop Safari?

The phone is touted as pretty much a full browser, and Safari is up to the task. But I wonder how well it handles rich media through plugins. From the Google Maps demo, I think it’s safe to say xmlHttpRequest is supported.

I’d really like to see some documentation on how webmasters can prepare and ensure an optimal experience on this new device. Ideally it would be given in advance so one could ensure the best experience possible.

Wii Browsing

Now that the Wii Browser is available, I’m really thinking I should check it out. It’s based on Opera. In my mind they needed to have a few things in order for this to not suck:

  • Fairly good HTML/XHTML support – Opera has that
  • Good support for CSS – Opera has that as well, but available for all small-screen versions
  • JavaScript Enabled – Opera has pretty good JS support, but not always available for small devices.
  • Support for Macromedia Flash – Especially with the popularity of YouTube, it’s needed

Apparently it meets these requirements. I really need to check this out. As a web developer, seeing something like this after years of crummy non-PC based browsers could be impressive. Screenshots so far have not disappointed.

Web 2.0 I can’t hear you

There’s been a lot of talk about what seems to be called “Web 2.0″ lately. It’s this new renaissance of browser wars, new dot com’s coming about, users contributing content (blogs, wiki’s), more fluid applications using AJAX, rich media over broadband, and all that good stuff. Personally I agree, we are at a great time for the Internet. I barely remember the last time it was this good. Ideas are flowing, and technology is advancing. But how far will it advance?

Using newly discovered (though not new) technologies like AJAX, it becomes possible to make a web page feel rather fluid. Almost to the point of a good client side application. Using something like SVG (or more likely Flash as SVG is still rather new) you can get enhance that even further. These are great. When put together nicely, you get this wonderful complete application. Well not really. Since very early on, computers gave audible feedback. Apparently we lost that in Web 1.0, and haven’t fixed that regression in “Web 2.0″. We leave it to plug ins like Flash, or QuickTime, but is that really appropriate? I will suggest it’s not. Audio has been rather closely integrated to computing since the beginning from those beeps computers made when keyboards really clicked as you typed. Auditory feedback is part of a complete application (that error beep when you do something wrong in an OS for example). We don’t have that on the web.

Innocent Proposal

Yes, I am aware the below proposal will upset some people, but hear me out before attacking.

I propose the web push to make OGG or find some other open solution to solve part of this problem. Pre recorded audio that’s compact and patent free so web application developers can provide audio feedback to user problems. OGG has been used by games such as Unreal for some time, so it’s proved to be adequate in quality. It would be perfect for things like voice overs, music, and other pre-defined audio purposes.

Secondly, there’s a need for what is essentially MIDIXML, MIDI in XML format. Something that could easily be generated by a server using JAVA, PHP, PERL, ASP, CF, or what ever language and transmitted. Since XML can be gziped, it could be compact (though a slight latency for gzip reasons). Easy for anyone to generate it would allow for much simpler creation of audio than ever before.

Bonus points for text-to-speech on the web, which would reinvent this whole thing to a new level (imagine using simple xml-like markup to present a human speaking, from within a web application). Combine that with AJAX and filling out your taxes on line could be designed in a way that would be usable. You could get explanations while you enter data, dynamic forms adjusting so you only see what you need to.

If these two formats were included in browsers like we now are seeing with CSS support that finally has started to come of age, Web 2.0 would essentially be able to replicate a client side experience, minus the graphical abilities, though flash can compensate for part of that. Sound isn’t just a frill, it’s partially accessibility. Audible feedback is a good thing. That’s why cars do it (in addition to that light on your dashboard), and aircraft as well “Pull Up!”. Even my cell phone is capable of audible feedback (key press sound, ringing, photo taking, etc.). Yet my computer can’t really do audio when online.

There is an annoyance factor of course (we all hate loud websites), but that could easily be compensated for by a good browser UI which could feature volume controls, including a mute capacity. Ideally plug ins would respect that setting so that the experience is clean and simple. Perhaps a way to have visual notification when audio is used if the user has it muted. This would mitigate the annoyance factor while providing for audible feedback.

Why not plug ins? Because they don’t standardize. We’d never get the penetration that you can get with standards. Look at video, there is still a complete lack of standards between players and codecs. Imagine if CSS was only available with a plug in. Do you think the entire web would download the CSS plug in? No, not likely. The penetration Flash has had is unique, and not likely to repeat itself, so that’s not even an argument. It’s one front the browser has no hand on. With video the browser at least has GIF support (which is on occasion used for things like webcams), it supports, images and text natively. But really no audio support.

Imagine a web application that could verbally explain a form to you (filing out taxes online?), or the ability to have a service like Gmail open in a tab, and get notification of a new message via audio. No javascript alert(). Imagine an online store with complete audio support (so far we really have only iTunes, which is proprietary).

Audio on the web has been misguided for a long time. I think Web 2.0 needs to address this. Audio is a part of computing.

The web is capable of so much, but it only touches 1 sense. If the web reaches 2 senses it doubles it’s potential. Perhaps in a few years I’ll be able to suggest SmellML or TouchML or TasteML.

Adobe Buys Macromedia

I didn’t expect to see that in the news this morning (hat tip glazou), but I did expect it to happen years ago. The two companies just seem complementary. As proof of that I’ve often heard people confuse the companies and their products. This is big news for the industry as a whole. I can see many things changing:

  • Daniel Glazman mentions that there’s likely only room for 1 html editor. Go Live or DreamWeaver. I’m personally going to suggests DreamWeaver survives. Simply because it’s more robust. It’s advanced features such as editing code, php, etc. are much better than Go Live. It reaches a larger market. As for the impact on NVU? Well I guess that remains to be seen. I guess people will now be looking to see if DreamWeaver will be the only real commercial game in town.
  • SVG. This I think is the largest impact this deal is going to have. The fate of SVG. Adobe has been pushing SVG since very early on. But now with Flash in their hands. How do they feel about an open standard? Will they perhaps decide to open Flash to relax critics and just push their software as the ‘ultimate Flash IDE’? Will they stifle the growth of SVG? Or will they perhaps make the Flash plugin render SVG just like QuickTime or other media plugins support multiple formats?
  • Adobe has made a business of being cross platform (similar to Netscape). Their Acrobat Reader is available for virtually anything (even the Palm OS). Does this mean better Flash support for non-windows computers (which has historically sucked)?
  • PDF + Flash + Shockwave = ?
  • New products? Will Illustrator and Flash converge?
  • How does Photoshop fit in? Will it integrate with Macromedia Products?

Overall this is a groundbreaking event. It’s not unexpected as their products were complementary for ages and it was inevitable for them to come together. It’s finally happened.

Flash Killer

I’m blogging to much this week, but I can’t stop.

Daniel Glazman, has showcased how some CSS and JavaScript can be a great alternative to Flash.

I left a little comment:

Perhaps an awesome extension to Composer would be something that would create a GUI to create such effects. Technically, most designers use flash all in similar ways. Why not analyze those a bit, and create a product that does the popular stuff in a non-proprietary way?

Would be neat.

And the reply:

Robert Accettura : absolutely. That’s in my plans.

This is a great thing. Most Flash developers only do one of several things with Flash. It’s the same animations, mouseovers every time. What a great free way to do so, using standard free products in the browser already, and not even leave your web development app.

SVG would be nice too, but until native support is robust and standard in Mozilla, I don’t think that will happen.

Either way, that’s a major development headline.

Don’t get me wrong, Flash is nice. It’s pretty cool actually. But it’s overused, and proprietary. Most of the time it’s completely unnecessary. Flash isn’t needed for a mouseover. That’s a waste. I think with the many new features he’s put into code over the past few months, plus this, he’s got a dynamite app on his hands. One I’m itching to get my hands on. Hopefully he’ll be commiting some code into Mozilla’s CVS sooner than later :-D .