The Register® — Biting the hand that feeds IT

Feeds

50 million user Scribd scraps Flash for HTML5

Doc sharer dubs plug-in 'incessantly bad experience'

What you need to know about cloud backup

Web 2.0 Expo Scribd - the document sharing site that boasts 50 million unique users a month - has told the world that after three years and "multi-millions" of dollars of development on Flash, it's ditching the beleaguered platform in favor of the fledgling HTML5 standard.

Company co-founder and CTO Jared Friedman announced the move this morning at the Web 2.0 Expo in San Francisco, calling it "the largest HTML5 deployment to date." Friedman and crew have already moved 200,000 documents from Flash to HTML5, and eventually, the company will transfer all documents stored on the site, which number in the tens of millions.

Friedman was careful to call Flash "a terrific technology." But somewhere along the line, Scribd realized it's a plug-in. "[Flash] has always had a few drawbacks," he said. "It boils down to the fact that you're putting the content inside a separate application. This leads to a browser-in-a-browser problem where we end up duplicating functionality in the user's browser ourselves.

"This is one, a lot of work, and two, almost incessantly a bad user experience."

Friedman acknowledged that until recently, handling documents in the browser proper wasn't the best option. "The biggest challenge is formatting. Documents use very complex formatting - vector graphics, rotated text, precise positioning - that was difficult to replicate in a webpage," he said. "Browsers only supported a dozen fonts. Without the right font, you can't reproduce the document effectively."

But now that the major browsers have rolled out support for additional fonts through the @font-face element and for vector graphics through either the canvas tag or VML, Friendman says, Scribd believes it can serve 97 per cent of all browsers without Flash. "This even includes IE6," he said. Not even Internet Explorer 9 has embraced the canvas tag, but that's where VML comes in.

Scribd can convert documents originally formatted by Microsoft Office and OpenOffice.org, or in PDF, PostScript, rich text, or plain text formats

Naturally, Friedman demoed his new HTML5 setup on an iPad. The iPad is controlled by a Silicon Valley cult that has a pathological aversion to Flash. ®

Steps to Take Before Choosing a Business Continuity Partner

Just shows

Browser plugins cripple the advancement of HTML and the web. If something isn't possible in the browser without a plugin then propose a standard, let people review it and improve it.

This is how the net used to work, people put out an RFC and others commented, it was then implemented.

POP3, NNTP and SMTP all started that way.

11
0

Open it up!

Enough with the closed source lock in.

2
0

Wiping the <LOL> off your face

You clearly haven't even bothered to look into how web pages work beyond Flash, but here's some info anyway.

"Experience tells me that embedded font rendering is a major reason why most brands choose Flash for interactive media, because they can't use the relevant branded fonts in other solutions - it looks crap."

All the major browsers now support embedded fonts via CSS3. When people talk about using HTML5, obviously that implies the use of CSS and Javascript. Recently, the major browser companies have even agreed on a standard font format to appease font companies who need to protect their IP.

"The latest Flash Player even moves into dynamic typographical layout territory and makes use of overflow text boxes, something that you'll see in Quark Xpress, Illustrator and Indesign."

The latest Flash player uses Webkit to render all that stuff. It's practically Safari with a load of plugins and scripting libraries. So, anything Flash can do, Safari can do. And so can any other browser. Opera can rotate text and skew it and do all sorts of stuff.

"handle tween animation?"

CSS3 transformations. I use them and they look nice in Opera, Safari and Firefox.

"handle in-stream video metadata?"

To do what? HTML5 browsers have in-built players that read the meta data.

"Hardware 3D acceleration?"

Where have you been? That's the big fuss MS are making about IE9. Opera's new Vega graphics library was designed for hardware acceleration, and there are even test builds from years ago on YouTube showing it using hardware acceleration to do interesting stuff. The current version of Opera has it disabled by default, but they didn't design it to do hardware acceleration for no reason. Clearly all the major browsers are moving toward it as Web 2.0 Apps have provided the necessity for speed. The first step was speeding up Javascript, the next will be hardware acceleration.

"Real-Time text effects, e.g. glows, drop shadows etc."

Old news. CSS does these already. I've been using box and text shadows for a couple of years now.

"Easily fill a screen with content irrespective of its "design size""

But that's how HTML has always worked. It's only when someone starts specifying absolute widths that you run into problems. CSS has rules to cope with different screen sizes, aspect radios, portrait or landscape, units for setting text sizes, line heights or boxes based on the width or height of the viewport, and a whole lot more. And then there are browser features such as zooming and fit-to-width.

"Interface with external devices, e.g. webcam streams etc."

Yes? All covered by the HTML5 'devices' spec. You really do need to look into these things before preaching and LOLing from your porch rockingchair in Hicksville.

And just wait until you see what the <canvas> element does! You'll feel like a flat Earther being told the world is round!

Flash is the only viable solution to these things today. But the web moves quickly and empires fall. Mosiac, Netscape, IE, Yahoo, Perl, XHTML, Frontpage, table layouts, Java applets, Shockwave. You name it, they all have their day and Flash is no different. I don't know if Flash will completely disappear to be replaced by Adobe using something totally new based on HTML/CSS/Javascript libraries, or if it will just become a specialised tool for obscure websites. But there's clearly an industry-wide disliking for Flash and the momentum means Flash has certainly seen its best days.

Adobe will always be able to offer greater functionality than HTML5, but the question is whether most people will find HTML5 adequate. I think they will, especially as most complicated things *can* be done with a lot of Javascript and the <canvas> tag. Most websites won't even have to write all their own javascript, they'll just use libraries/frameworks, in the same way they currently use JQuery or MooTools.

Because HTML5 also includes offline storage and database support, it also means it's possible we'll see javascript libraries available to install on a browser rather than individual websites, meaning the user can install once and the relevant websites will just work, just like using plugins. There's already one major browser company planning something like that...

1
0

More from The Register

SCO vs. IBM battle resumes over ownership of Unix
Zombie lawsuit back and wants to suck the brains out of Linux
Bjarne Again: Hallelujah for C++
Plus: Now officially OK to admit you never used STL algorithms
Interwebs taunt Sir Jony over Apple eye candy makeover
Hey Ive, Ive... add more unicorns, willya?
Apple: iOS7 dayglo Barbie makeover is UNFINISHED - report
Plus: You don't like the icons? Blame marketing
Red Hat to ditch MySQL for MariaDB in RHEL 7
So long, Oracle! Don't let the door hit you on the way out
Shy? Socially inadequate? Fiddling with your phone could help
App 'tells the brutal truth' about social inadequates' chatup lines
Java EE 7 melds HTML5 with enterprise apps
New release arrives with GlassFish, NetBeans support
 breaking news
'Office Facebook' firm Tibbr wants you to PAY for mobe-meetings app
Great idea. Punters won't cough for it though
 breaking news
The only Waze is Google: Ad giant tipped to gobble map app 'for $1.3bn'
Pac-Man-satnav-ish upstart in bidding war with Apple, Facebook
 breaking news
PM Cameron calls for modern, programmable computers! (We think)
IT education musings to G8 chiefs to mystify IT industry