HTML 5 As a Viable Alternative To Flash?
superglaze writes "Jon von Tetzchner, Opera's CEO, has claimed that the open standards in HTML 5 will make it unnecessary to deliver rich media content using the proprietary Flash. '"You can do most things with web standards today," von Tetzchner said. "In some ways, you may say you don't need Flash." Von Tetzchner added that his comments were not about "killing" Flash. "I like Adobe — they're a nice company," he said. "I think Flash will be around for a very, very long time, but I think it's natural that web standards also evolve to be richer. You can then choose whether you'd like [to deliver rich media content] through web standards or whether you'd like to use Flash."'"
Kill flash. Kill it stone cold dead.
If you mod me down, I shall become more powerful than you could possibly imagine.
More options is always a good thing.
But I can't imagine HTML 5 being capable of something like this.
Aero
Please stop hurting America -- Jon Stewart
How long until HTML 5 is supported in every browser?
The "good" thing about Flash is that it is a plug in. Flash can be added to just about every browser by downloading a plug in.
HTML 5 will take a lot longer to get into every browser.
I really don't like Flash or plug-ins but in this case it is an advantage and will be for a long time to come.
Oh and NOBODY except Slashdot will write to a standard that IE doesn't support.
See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
Datagrid or not, if your site requires flash for anything other than playing sound or video files, then it is more than likely I will not spend much time there.
"Now, I know a lot of people are going to argue with me, but the most important tag in HTML is . Every single graphical trick done to either speed up or sexify your web site is done with tables inside tables inside tables--it's tables all the way down!...When's the last time you laid out a site without a table element on every page?" Whoa, I haven't done than since IE4 / Netscape 4.7 days. I use tables for tabular data, very rarely for layout. I'm quite positive I'm not alone in this. While there are a number of Javascript-based datagrid controls available, it would be good to have some sort of standardized control as part of the standard definition.
In current days, Flash is only used to:
- Casual games;
- Boring add banners, like "hit the monkey";
- Video players;
- Webpages menus, when the designer has no know-how to use CSS/Javascript.
Excluding games, all uses can be replaced by web-standards (even videos, in next-generation browsers).
But as someone who's thrown together more than a few web applications in my time, I'd like to talk to you about what I'm really excited about--the datagrid element. Now, I know a lot of people are going to argue with me, but the most important tag in HTML is <table>. Every single graphical trick done to either speed up or sexify your web site is done with tables inside tables inside tables--it's tables all the way down! When's the last time you laid out a site without a table element on every page? Hell, it's almost always the next thing to follow <body> on my pages. And you know the code I write to interact dynamically with that table is a bitch. An unmaintainable mess. Yeah, there's probably some library out there I could use to simplify that pain but it always comes down to me messing around with advanced Javascript code trying to squeeze some more functionality into the user's interaction with that table. "Oh, I want this box to highlight red when this happens!" a user might say. Everyone wants a "simple table" with Google Spreadsheets functionality.
Well, although I am not one of the people who thinks people who use tables for layout should all go to hell, I do prefer to NOT use them. I can say that I've written a few web apps myself (and still do) and use tables only for data representation. And I am comfortable to say I am not alone... take a look at, for instance, /.'s source.
Another beautiful example of tableless layout can be found at Zen Garden
The Binary Anti-Pattern [http://beyondboolean.blogspot.com/]
"In some ways, you may say you don't need Flash."
I can't tell you how many times I've come across a site which uses Flash to show a single, individual picture. Not a stream of pictures. Not a mosaic of pictures. Not a slideshow of pictures. One picture.
WTF? You're telling me it's easier to code a Flash object to display that one picture than it is to throw in a link to the picture? Seriously?
Then you have those sites which insist on having their front page as Flash-only. Brilliant. Just brilliant. How the hell am I supposed to find anything on your site if there is no way to save that link for future reference?
Flash is ugly, slow and just plain annoying. Almost as annoying as punch the monkey. Web designers who rely on Flash to do their work should have their knuckles pounded with a five pound cast-iron doorstop dropped from a height of ten feet then made to punch a punching bag.
Hopefully HTML 5 will cure the web of this illness.
We will bankrupt ourselves in the vain search for absolute security. -- Dwight D. Eisenhower
Adobe gave us PostScipt, PDF, and SWF formats as open standards, that alone gives them the nice company seal from me =)
There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
How do you handle centering objects vertically inside divs?
Qxe4
HTML5 has a lot of potential, but adoption above and beyond Flash (or Silverlight, etc...) will depend on 2 factors:
1. Implementation Penetration
2. Authoring Tools
Flash's strength is in the tools more than the language(s), Actionscript and MXML. For every 1 Flash "programmer" I meet, I know about 10 people who know Flash well enough to make graphics and simple script work on the time line.
If a majority of the browser users have HTML5 support, and a killer app exists for editing content; I would then put weight towards the possibility of HTML5 trumping Flash.
CSS has some nasty cross-browser problems that tables do not, making them far easier than CSS for many things, assuming you can do them in CSS at all.
Its about time. Down with Flash.
Don't twist history. The reason flash took over web video is because vistors tired of WMV/QT codec hell.
TODO: Something witty here...
vertical-align: middle;
Or how about:
margin-top: auto;
margin-bottom: auto;
Should I go on?
It's unlikely Internet Explorer will die any time soon. So unless the Microsoft developers somehow magically start putting together a browser that is current in support of web standards, Flash and its brethren will never die. It doesn't matter how great the HTML5 support is in Gecko (Firefox) and Webkit (Chrome, Safari) - as long as IE continues to lag, we're stuck ("we" meaning those of us who code pages for the real world).
#DeleteChrome
In my various attempts to use vertical-align: middle; it's never worked :/
Isn't this was SMIL was supposed to deliver? Is that dead now?
God Fucking Damnit
Through a screen reader, maybe? In which case your table layout will completely fail, because screen readers expect the contents of TABLE tags to be, you know, tabular data.
You need to understand that blind and vision-impaired people will be among those "viewing" your page, and design accordingly.
Read my blog.
Flash is Flash. Period. If your Flash file works in IE, it works in FF, Opera, Safari, etc. It requires a plugin sure, but it's one that's almost universally adopted.
By comparison just about everything else is developed in 2 phases:
1. Write standards-compliant code that's well-formatted and works properly.
2. Fix about 37,000 IE-only bugs, knowing that ~70% of your users are going to be viewing your site with that piece of crap. Additional time is required because IE6 and 7 aren't even consistent with each other in terms of how they piss on the standards. This is especially true with CSS, which IE is absolutely terrible with.
I welcome HTML 5, as I think it has a lot of nice improvements, as well as a lot of stuff that should've been there years ago. We just have to pray that browser support - especially from MS - actually allows us to USE the new features on a regular basis.
Also, one side note: Even assuming Flash is no longer used AT ALL for layouts or content delivery (and I hope it isn't), Flash movies and games will of course continue to exist... so Flash isn't going to die as some are saying, it'll simply be used for what it was actually designed for - creating animations and games.
Sigh. I really hope that HTML5 is somewhat similar to xhtml. I really do believe it went in the right direction in general. Even with xhtml strict pages not displaying at all if they had some unclosed tags. It all in general was working toward having authors writing better, more interpolatable pages.
Is xhtml dead? Will the applicable changes in html5 make it back to xhtml? I get the feeling that MS never implemented xhtml strict because they didn't want to drop the ability to extend it.
Once you start despising the jerks, you become one.
I can't decide whether your post should be wrapped in <sarcasm> tags or not. Absolutely everything you have said goes against modern HTML/CSS/JS best practices. The table element should only be used for displaying... wait for it... tabular data!
Also, why would you think Flex was free when there are clearly marked "Buy Now" links all over the Adobe product page? Yes there is a free SDK available, but anybody with any sense at all would know that Adobe is a company that makes money. I just don't know why you switched your whole project over to Flex when you hadn't even spent more than 5 minutes researching it.
I'd like to know the name of the company you work for so that I can know to steer clear.
Not just that, but it may not even be necessary for the device to do anything terribly smart. If you can detect that it's a mobile device on the server-side, you can feed it a different style sheet that will change how it displays so it's more mobile-friendly. Same content, different CSS.
Try that with your nested tables.
You know what, if it were truly possible to divide content from the presentation, I would be the happiest man in the world right now. The unfortunate reality of the matter is, it's not, at least with the current incarnation of CSS and HTML.
At the end of the day, on most websites, the thing that matters IS the presentation (otherwise the only tags we'd need were h, a, and p). If you can't align one image correctly next to another one, then that is a problem. If you have to sacrifice your design vision at all, then that is a failure of the system. No one coming to your website cares if you've managed to separate the design from the content, that is purely a matter of making life easier for the programmer. If the system can't support the design vision, then it has failed.
Although I do like the idea of CSS, it's the implementation that has failed. Also, it would be great if we could have variables. As in $text="Put your long interesting content here" and then be able to put it anywhere you want on the page. It would be so much easier to read and move stuff around that way.
Qxe4
All else being equal, easier == better.
Qxe4
Through a screen reader, maybe? In which case your table layout will completely fail because screen readers expect the contents of TABLE tags to be, you know, tabular data.
You need to understand that blind and vision-impaired people will be among those "viewing" your page, and design accordingly.
I'd be pretty surprised if screen readers simply and universally fail when they encounter tables that are used for layout. Many of them have existed for a long time, certainly back into the 1990s, and not being able to handle table layouts would have rendered them useless for most of the web for a long time. And while making distinctions between data and layout uses for tables may not be purely deterministic, it's hardly an intractable problem. Something as simple as Lynx has been able to make some distinctions since 1999, well enough that most of the web turns out to accessible using it. I can't believe there aren't screen readers who can't do at least that well.
And if you can do that, what you mostly get without the layout table is generally a source-ordered linear reading of page sections corresponding to table cell... just like you'd get with any other document without repurposed table markup, albeit with sections determined by other tags. CSS gives you some flexibility in terms visual layouts you can create that aren't tied to the source order, which is nice, but it's hardly a disaster not to have this.
My own observation is that it's other things that present real obstacles to page accessibility/semantics: navigation that's only visible via flash or javascript, images or other media without fallback text, abuse of HTML entities, lack of access keys. Table layout? Not so much.
Tweet, tweet.
HTML 5 As a Viable Alternative To Flash? Not really, for one simple reason Flash/Silverlight are controled by their respective plug in's/api's and so forth. Thus no worrys about how something will render if one person is using one browser and another is using something else On the other hand, HTML is controled by the browser and each will do things a little different, either because they have not fully followed standards (MS) or they have added extras in a attempt to out do each other (all of them) Thus there will be always a place for things like flash/SL as with them content is delivered exactly as the designer/developer intended not how the browser decides to interpret it
Datagrid or not, if your site requires flash for anything other than playing sound or video files, then it is more than likely I will not spend much time there
Absolutely. And it is not just for being unavailable to disabled people, slow, insecure, buggy, destroyer of the control a user has about the navigation (top-of-the-head example: if a menu is implemented in flash, how do you choose whether to open a menu entry in a new tab or new window?), bandwidth-wasting, proprietary, restricted and not class-platform; it is also about the content.
There is a very strong negative correlation between the usefulness of a site and the amount of bling in it.
https://www.cia.gov/library/publications/the-world-factbook : no Flash; javascript unnecessary
http://www.c-faq.com/ : no Flash; no javascript
http://news.google.com/ : no Flash ; javascript not necessary
http://news.bbc.co.uk/ : Fash restricted to the videos ; javascript unnecessary
Now compare this to a typical teenager-oriented website: even menus are Flash. They choose Flash both
for things that make 0 sense being flash (like menus) and for things that may be easier with Flash, but are almost always a big waste of time. They think a website needs to animate every other element.
The one positive aspect in Flash is that it its use warns you against the quality of the content before you waste your time loading and reading it.
Would it really have broken CSS if they'd included something like
#centered-element {
position: centered;
}
or even
#centered-element {
position: absolute;
center: 0;
}
Having to know and use arcane stuff like margin:auto is totally absurd.
No, your children are not the special ones. Nor are your pets.