Web developers behind the sites on Appleโs approved list of iPad-ready online destinations have confronted an issue that the device-maker is forcing to the fore: are official World Wide Web Consortium standard languages sufficient tools to deliver cutting edge functionality, or do plug-ins lead the way in design innovation?
ย
Soon after Apple unveiled the iPad in January, one point quickly became clear for Web developers: Just as with the iPhone, the device would not support Adobe Flash, or any other Web plug-in.
ย
Instead, if Web developers wanted all the dynamic content on their pages such as videos and animations to appear correctly on Appleโs new device, they had to create it using only the next generation markup language for the Web, HTML5, and related open standards.
ย
At first glance, it appears like a logical move to stick with open standards, rather than technology largely controlled by a single company.
ย
โA lot of the things that Flash has traditionally been used for, were Flashโs domain, because there werenโt any credible open standards available. Now there are,โ said Bruce Lawson, a vocal HTML5 advocate who also works on the Opera Software as a developer relations (for this interview, he stressed that his opinions were his own, and not those of Opera).
ย
But a casual search on Google reveals that there are at least 74 million web pages that use the Shockwave Flash (SWF) format. It is a tall order to ask all of them to change for a single companyโs line of products, even if Apple sold more than 500,000 of these devices last weekend.
ย
Observers also note that the developer tools for HTML5 arenโt as advanced as those for Flash, and the standard is not finished yet, which could lead to more work for developers down the road to readjust pages to meet the finalized standard.
ย
And by eschewing the Webโs plug-in model, the iPad may potentially miss out on cutting edge features enjoyed elsewhere on the Web.
ย
For photo-sharing site Flickr, the chief feature on the site that needed to be addressed was video, which the company has been gradually introducing into its service.
ย
โIt was not a huge effort,โ said Flickr Project Manager Markus Spiering, though quickly adding the siteโs developers were already familiar with the standards that Apple was requiring for the device.
ย
โWe were using Flash for our video content, but the iPad doesnโt support Flash,โ Spiering said. โThe iPad has a built-in HTML5 video player, which we could leverage.โ
ย
The Web development team were already testing HTML5, and had already borrowed some of the work it did for the Apple TV, which worked well in the iPad format.
ย
โIt was a couple of days of testing and then we enabled it,โ Spiering said.
ย
Now, when an iPad user visits the Flickr site, the siteโs servers determine the visitor is using that device and switches from sending the video to a Flash player to sending it to Appleโs HTML5 video player.
ย
Spiering said that to offer video for all Flickr visitors using HTML5 would be a larger challenge, because additional controls โ such as full screen capability โ would need to be added to bring the browsers up to feature parity with the iPad.
ย
Apple itself has released guidelines on how to prepare Web pages for the iPad. In a nutshell: All the capabilities you seek can be found by using Javascript, Cascading Styles Sheets (CSS) and a set of still-evolving standards loosely associated with the World Wide Web Consortiumโs HTML5. What could not be used are plug-ins of any sort, including Adobe Flash.
ย
Adobe has been, understandably, defensive over Appleโs stance, and playing up Flashโs use on other portable devices, as a way to deflect attention away from Appleโs decision.
ย
However, Dave McAllister, Director of Open Source and Standards (OSS) at Adobe Systems suggests that Apple itself may be putting the iPad at a disadvantage by not including plug-ins.
ย
โFrom our viewpoint, itโs not just the lack of Flash, itโs the lack of being able to use plug-ins that are not owned, controlled and approved, that is an issue,โ McAllister said.
ย
McAllister noted that innovation with the Web format has historically taken place not with the standards themselves, but rather plug-ins. Standards take years to ratify and tend to center around technology that has been so widely replicated, it has in effect been commoditized.
ย
โStandards donโt lead innovation. To innovate means to build on or out from the existing platform,โ McAllister said. โYou donโt want to have to wait for the consistent commodity approach to catch back up to the innovation. You want innovation to happen, and [standardize] the best from it.โ
ย
Itโs been the plug-in model that introduces new functionality to the Web, he argued. Think of Sun Microsystemsโ Java plug-in, for instance, which introduced rich graphical functionality for the Web in the mid-1990s. By eschewing plug-ins, the iPad could potentially lose out on some of the cutting edge features enjoyed on other Web browsers.
ย
Another issue that McAllister notes is that Web development shops will have to come up with two versions of their sites, ones that run Flash and ones that donโt. โMost of these [shops] already have Flash as part of their workflow, so now they are adding a second part of the workflow,โ McAllister said.
ย
For its part, HTML5 is starting to prove itself to be a very capable markup language, able, in theory, to replicate much if not all that Flash could offer. HTML5 and associated standards such as CSS and Scalable Vector Graphics (SVG), will be an โopen platform for rich Web applications,โ said Philippe Le Hรฉgaret, who is the W3Cโs interaction domain leader overseeing graphics, HTML, and video, in an e-mail.
ย
Last week, Google engineers posted a version of Quake II that they ported to HTML5, using Javascript. Elsewhere in Google, a beta version of YouTube has been created that uses HTML5.
ย
HTML5 and its related standards can cover a lot of Flash functionality, Lawson said. Simple animations can be recreated in CSS. More complex animations can be done with the HTML5 canvas tag in conjunction with Javascript.
ย
But unlike Flash, HTML5 doesnโt yet have a lot of production-ready integrated developer environments. โFlash has very good authoring tools,โ Lawson said. As McAllister noted, Dreamweaver and FlashBuilder are already incorporated into the day-to-day operations of many Web development shops.
ย
In contrast, the tools for HTML5 and related technologies are still being developed. Worse yet, many are aimed more at the programmer than the run-of-the-mill Web designer. As one media company told the Valleywag industry gossip site, โGuess what, we donโt have a bunch of code junkies in our newsroom.โ (Though Adobe itself seems to be in the early stages of incorporating the HTML5 standards into its own production tools, if this prototype of Dreamweaver that converts artwork into HTML5โs Canvas tag is any indication).
ย
Another potential problem: The HTML5 standard has not actually been finalized yet.
ย
โThe HTML5 standard is still a work in progress,โ Le Hรฉgaret admitted. The problem is that until it is finalized, HTML5 may change. And if it does, all the pages affected by the changes will have to be revamped.
ย
One bit of unfinished business is the HTML5 video tag. HTML5 allows pages to run video directly within the browser window, without a plug-in. The problem is, the browser makers are split over which video codec to use.
ย
Google Chrome and Apple Safari natively support the high-definition H.264 MP4 format for this task. Neither Opera nor Firefox support this codec, due to concerns over licensing fees. Opera and Firefox, on the other hand, use open-source codec Ogg Theora, which Apple and Google have been reluctant to support, citing performance concerns. Microsoft hasnโt committed to either.
ย
Overall, however, HTML5 may be closer to the finish line than its critics suggest. Lawson does not think that the W3C will make dramatic changes to the HTML5. โIt seems to me that the main work on inventing new features is pretty much over,โ he said. โIt is possible that one or two features might get dropped because they are not being supported by any browsers, but the features that will be dropped are by definition ones not being widely used.โ
ย
For the foreseeable future, anyway, Web developers interested in tweaking their sites for the iPad, but also using continuing to use Flash, may have no choice but to build, as Flickr did, hooks specific for the iPad. And Flash itself, despite Steve Jobsโ wishes, is not going anywhere soon.
ย
โI donโt think HTML5 will kill Flash in anything but the very long term. There is so much Flash content out there that will need to be supported,โ Lawson said.