views:

12361

answers:

26
+1  A: 

Simply put, many are hoping that HTML5 features paired with javascript can provide a better, cheaper, more efficient graphical web experience than flash. Consider that many sophisticated websites like gmail, google maps, and youtube can run without any flash using HTML and javascript. Improvements being made to javascript and HTML allow for websites to develop even richer graphical & animation features without resorting to paying Adobe.

Doug T.
the flash SDK (while closed-source) is free and so is the player.
Typeoneerror
@Typeonerror true. but many pay for adobe's crazy development studio.
Doug T.
That some users choose to purchase professional development tools (which IMO are inferior to the free tools) is an irrelevant point Doug. The same statement could be made of any technology.
Jotham
Flash SDK is OPEN SOURCE and has been for a while. Not sure why so many people believe otherwise.
davr
@Doug, for the record, all three sophisticated websites that you mention use Flash today. The street view in Google Maps requires Flash and gmail makes use of Flash for the chat functions (Youtube probably wouldn't exist if Flash did not exist).
Lars
The SDK may be free, as is the plugin but Flash CS4 is not... I don't develop in flash but I'm sure that it doesn't take a genius to realize that this.
+5  A: 

It is not simply HTML5, but when browser adoption of it is complete. For instance, the presence of the HTML5 <video> tag means nothing without a browser provided video player to actually present the video (At which point, the hope is, Flash Video will no longer be needed). Same goes for the <audio> tag.

Additionally, HTML5's canvas element (combined with JS) allows for far more advanced graphics inside a browser than could be achieved before.

Doug Neiner
+3  A: 

I doubt it's meant as a replacement for everything Flash is able to encompass. However, if you look around the web nowadays, you'll see that Flash is in widespread use for delivering video or audio content in the browser. Something that's included in HTML 5, albeit crippled by now since they couldn't agree on any standard codecs.

Surely, all those nice Flash games and ads won't go away just because of HTML 5 and HTML 5 won't be able to replace them. But it aims for being able to replace uses that actually can deliver content. For vector graphics there is also SVG which might get some special treatment.

Whether this will really be the death of Flash for video remains to be seen. The HTML 5 video codec issues might be sorted out sooner or later. However, Flash will quite likely remain the medium of choice where content deliverers will want greater control over what will be delivered, DRM and similar techniques, &c.

Joey
+39  A: 

What people loosely refer to HTML5 in the context of this discussion is the combination of HTML as a markup language, CSS which specifies how it is rendered, and the javascript code which manipulates the HTML and CSS dynamically.

Furthermore, HTML5 not only has the standard text elements, but also <canvas> on which 2d graphics can be drawn, and <video> elements which embeds the video (as the name suggests).

So, in a full-fledged implementation of HTML5, you can implement a very dynamic web sites without using Flash. An example is the HTML5 version of Youtube, recently introduced as beta for Safari/Chrome users, see here. Another is an NES emulator in javascript + HTML. (Well the latter does not really concern HTML5... it uses <canvas>.)

Yuji
processing.js is also an interesting application of the canvas tag.
Esko
You can also render 3d elements inside of canvas elements using any number of 3d libraries, depending on your browser and OS. IE9's latest preview shows use of this using the native support (I'm assuming DirectX, but I can't be sure) http://ie.microsoft.com/testdrive/Performance/AsteroidBelt/Default.html
NateDSaint
+2  A: 

The modern browser that support HTML5 standard have capability to playing supported media file inside the browser, without needing 3rd party plugins.

You can try this by yourself. Latest version of Safary and Google Chrome, (Firefox 3.6 too) can play <video> tag in a HTML5 page directly. YouTube now support HTML5.

That's why iPad will be able to play video if the video site is using HTML5, without Adobe Flash plugins, using Safari browser that fully comply the HTML5 standard.

Donny Kurnia
Apple's choice of allowed media convetions processing on its devices has nothing to do with HTML5.
HTML5 is the technology that enable browser play video directly, instead of need plugins to do that. HTML4 and XHTML1.1 don't have this feature yet, that's why Adobe Flash is needed for video playing in the browser. HTML5 make the plugins needs gone.
Donny Kurnia
+2  A: 

Together with javascripts for tracking GUI events and scripting of the new HTML 5 elements, you get a lot of what Flash offers.

HTML 5 has a number of new elements. One of them is called Canvas. With it you can draw anything you want on screen, within its bounds. You use javascript to draw on it and you can catch any mouseclicks and similar with javascript too. If you are used to GUI toolkits on the desktop like Tk, GTK, you can liken these new elements to some of the widgets of those GUI toolkits.

Take a look at thejit to see an example of graphs in HTML 5

jeorgen
A: 

Web developers still care for a browser like IE6 which is really old, so you can be sure that Flash and similar technologies will be around for a long long time...

Deniz Acay
Web developers curse IE, and especially IE6. They only work on it because they have to not because they want to.
Rob
This doesn't invalidate dacay's point Rob.
Jotham
@RobIf you are running an internet business, you have to consider different browsers and devices. Most biz people still uses IE6 and also you cant tell your boss "This is just for browsers other than IE". IE 6 was an example to indicate that Flash is not going anywhere..
Deniz Acay
You said "Web developers still care for ... IE6". I'm stating that web developers despise IE6. Whether they must develop for it because there are still a significant number of users is a different story. I'm sure all developers would be thrilled if IE6 went away today.
Rob
ahh ok. sorry for my english, i didnt mean "care" for a positive caring :)
Deniz Acay
+2  A: 

It is not so much that HTML5 can replace Flash by matching it feature by feature. It is more that the HTML5 stack (including JavaScript and CSS) can be used to build the same sort of rich web applications for which Flash was the only viable option before. Because HTML holds the promise to also address some of the shortcoming of the Flash platform, there is a potential that it can replace Flash in this space in the future.

This discussion is very much centered around the technology that is used to render the application at the users end. It does not address the ease with which authors are actually able to create the content which will be delivered to their users. You already mentioned that Flash is associated with a set of commercial tools which are specifically built and marketed by Adobe to address the need of rich-content authors. Such solutions for HTML5 are not that much adopted yet. For developers who view authoring mostly as coding this is not a big concern and they will not have a hard time getting traction with HTML5 (and many already do). For those authors that don't have a developer/coding background, this may be another story and for them the viability of HTML5 will greatly depend upon the availability of integrated authoring tools. Maybe the Adobe Flash tools will output to HTML5 instead of SWF in a few years...

VoidPointer
+4  A: 

how it is possible from a technical/coding point-of-view that a text-based markup language (HTML5) could be considered a replacement to a multimedia framework (Flash)?

HTML5 is the new hot name for "web technologies stack", not just a "markup language".

It has a programming language (JavaScript), like Flash does; a set of APIs, significantly expanding as part of the efforts commonly labeled as "HTML5", ways to draw graphics (SVG, <canvas>), play audio and video (<audio>, <video>).

Unlike Flash, the "HTML5 applications" are processed by the browser, not by a proprietary browser plugin, which is good - at least for browser vendors (see the relevant piece of this blog post - thanks Jotham). For example, it makes possible for a browser vendor to fix issues (and not wait for Adobe) -- IIRC Apple cited Flash as being #1 reason for crashes among all crashes on the Mac.

[edited to remove "open standards are better" claims which I am too lazy to back up]

Nickolay
By way of adding some additional detail to the claim regarding Flash crashes on Mac OS. http://daringfireball.net/2010/01/apple_adobe_flash
Jotham
+1, that piece is actually more than just about crashes; well worth skimming.
Nickolay
"are processed by the browser, not by a proprietary browser plugin, which is good." how so?, we have so many browsers that currently seem to render a page differently. At least with Flash there is one consistent environment to develop for. "Open standards are also better than a single monopolist implementation." this depends. Open standards work great in theory but is terrible for advancing technology. Just look at OpenGL vs DirectX.
Allan
@Allan The reason why browsers used to render pages differently was because the W3C was largely open to interpretation, and in particular Microsoft was lousy at following the spec. Open standards are far better than a single implementation - but only when they are clearly defined.
James
@Allan: I was too lazy to go in details (it would be a large opinion piece) and didn't find a nice summary of why, so I just shown one example. There are more, read the Jotham's link to see it from the browser vendor's perspective. ////// Re: "open standards" for "advancing" technology -- now that's a weak argument. You *are* aware you're making this comment on the internet, which is rather advanced and built on open standards?
Nickolay
Anyway, it's offtopic for the original question, I'll edit my post to be less subjective.
Nickolay
@James Yes as I said open standards work great in theory but in reality we have a big mess. Getting a page to render correctly in Safari, Firefox, IE, Chrome and the various versions at the moment is a nightmare.
Allan
@Nickolay I started writing a reply but it was getting long so I will leave it for a blog when I get around to one, but yes I had read the article but have some issues with it :)
Allan
@Allan re opengl - that seems a pretty naive comment. You think the PS3 uses DirectX?
Antony Stubbs
@Antony - you missed my point. I am certainly not saying OpenGL is a redundant technology, far from it. My point is proprietary technology more often than not is the driving force for advancing technology. DirectX pulled away from OpenGL and it has been playing catch up ever since. http://www.tomshardware.com/reviews/opengl-directx,2019.htmlIf it was not for flash the past 10+ years we would have been without streaming video (youtube) and complex interactive media. Whats more is flash will continually keep improving. Without proprietary technologies we will advance at a snails pace.
Allan
+3  A: 

There's much more to Flash than Audio/Video. Recently Flex has been very popular because of it's rich programming model and ability to develop high performance user interfaces.

if HTML 5 or anything has to become popular, first of all the in-built JavaScript engine has to be more efficient. Flex/Flash these days are popular because of robust ActionScript engine.

Satish
+32  A: 

When Steve J. made the comments about HTML5 being the future, he didn't bother to explain that this statement really refers to the most widespread use of Flash today, that being Video. Perhaps he didn't explain this purposely, so that many misinformed end users who want to watch Hulu on their iPhones would unleash their rage against Flash. Which is exactly what has been happening..It is annoying and I lost respect for Steve.

The HTML5 stack (html, css and JS) will NOT be a direct replacement for Flash. I have been developing Flash content for over 10 years, I am also very competent in JS. I cringe thinking about using JS for tasks where ActionScript can accomplish the same thing in 50% less code. There are tasks that will be very difficult if not impossible to achieve with JS and CSS. For rudimentary animations and JQuery-like functionality, sure, HTML5 can be a viable option instead Flash. But for complex games and RIAs, I just don't see it. Actionscript has evolved into a robust, full featured language.

The other important thing is that the Flash player is updated by Adobe periodically to address any issues that may arise. How will they update/improve HTML5 spec if it becomes the norm and Flash went bye-bye?? They won't. You have to wait for HTML6 and all the browsers to support it. Which means you end up waiting 5-10 years. Great way to bring us back to 1998. No thanks, I'll stick with Flash for now.

As much as open standards are a worthy goal, I don't see this panning out the way they are saying...

My two cents.

Dresden2
On the side of SJ, I've seen sites that bring my powerhouse of a machine to it's knees by Flash based ads. These are admittedly badly done flash ads, but it is flash. Now on a mobile phone an ad that can cause the cpu to spike to 100% is not good and I stand by SJ assertion that Flash is harmful.
graham.reeds
In the name of full disclosure, I don't own any apple product, I have an android based phone and I like watching porn.
graham.reeds
Iain Collins
'Complex games' not achievable? I don't think I agree with this statement. Javascript is a language like any other (and as Iain points out, essentially identical to ActionScript). Perhaps you are thinking of the API as opposed to the language; though there are many Javascript APIs available should you choose to look for them.With the addition of a rendering API (i.e. the canvas element) I think you will be able to achieve any complexity of game you can achieve within another framework. To say a _language_ is incapable of solving a certain problem is a fallacy, I believe.
Will Baker
+3  A: 

Well, to get an impression of the capabilities of HTML5/canvas + JavaScript, you may want to take a look at this which is an implementation of Wolfenstein 3D purely done in HTML5, without using any Flash (note that you need a canvas-enabled browser such as Firefox to see this working).

none
+1  A: 

I first heard the comment of "HTML replacing Flash" from Steve Jobs. (He hates Flash perhaps because it crashes on his Mac computers I'm not sure. I think he's out of touch. The proof is his ridiculous product the "iPad".)

The point is HOW GOOD IS IT FOR DEVELOPERS? Answer: not as good as Flash. Yet. Why do I say this with my limited experience? It's all that "try... catch" compatibility code you need in Javascript to work in all the browsers. WHAT A LOAD OF RUBBISH. ActionScript/Flash is ONE piece of code/app for ALL browsers.

The other thing Flash has is graphical (and non-graphical) development software tools to streamline the process.

So THE SHORT ANSWER IS THAT ADOBE WON'T LET HTML5 "replace" flash, at least for the short term. But it can compete with Flash if people make enough development tools for it particularly WYSIWYG graphical tools, like if Google develop an easy to use WYSIWYG editor for making GWT apps. And that's a big IF.

Navigateur
A: 

I hope we're talking about How can HTML5 replace swf and flv. Not Flash entirely. I'm a Flash developer (amature). For me, someone who is more artistic minded rather than script programming minded, Flash is fairly easy (most of the time) to use. How do I make a cartoon character walk across the screen in HTML5? Or something simple like morphing (tweening) a circle into a square? Surely I don't have write that as code. I simply am not that clever in the are of programming to achieve that. Flash is relativley simple. Draw all your graphics in what ever app you're comfy with (illustrator for me) then stitch them together with action script. I love you both Apple and Adobe. Please come up with some sort of compromise.

Damo
That's a question, not an answer. The HTML5 buzzword includes SVG which includes declarative animation.
hsivonen
So you don't flash to go under for your own selfish gain? This is the IT field not the auto industry... Wake up.
anon, the "selfish claim" is a wild accusation. Animators _need_ tools such as the Adobe Flash IDE - their work is simply not possible without it. It's not about being selfish. It's about being able to do your job. Btw why are you using a an anonymous profile to post personal criticisms against others?
helloworlder
A: 

If Adobe does not get there heads out of their you know what and put out some 64bit apps I can surely see poeple moving to HTML 5.

patrick
+3  A: 

Now this is what I call ironic: alt text

Antony Stubbs
Should it be really not an answer, but a comment with the picture?
Vi
+1  A: 

Flash operates with a timeline, stage and scenes and allows loading of movies one on top of another. It also has onion skinning, tweening and other vector art tools that make cartoon animations easy via frame by frame animation. You do all of this and then control it will a very small easy amount of code/action script. HTML JAVA CSS isn't anywhere as near an artistic experience for the author and there's much more coding involved to achieve similar results - flash is much quicker and easier and user friendly. I doubt Flash will be going anywhere in a hurry.

animator
With `<canvas>` and `<video>` you can do all sorts of things in HTML5/JS too. Could you do this in flash? http://www.craftymind.com/factory/html5video/CanvasVideo.html
TRiG
Cute video :P It's a pretty awesome example of the power of HTML5. There are some things you can do in Flash, but also things you can't do in HTML5.
helloworlder
A: 

Surely HTML5 will replace flash. I can only see this as being a good thing especially when you weigh up the pro's.

  1. Flash is not SERP friendly
  2. It can be distracting from the core message with flashy animations!
  3. Slow load times - splash pages have now all but gone from most websites.

I'm sure theres many more but these are the ones that instantly spring to mind.

Keywords Consultants
Tom
Points 2 and 3 are not related to any technology. You could achieve 2 and 3 using HTML5 too, and any other technology out there e.g. Silverlight, Unity etc.
helloworlder
+1  A: 

What these silly non-creative people haven't realized is that HTML5/Javascript/CSS is very bloated to begin with. All of that asset is still entirely RAW text file. no compression no bytecode optimization and it will always be like that. So for game developers that is not an option having all your source in easy reach of theft. Flash allows you to compile your source code in a more compact means while still be able to create your dynamic content in a tight vector graphics manner. Ontop of that flash already supports shaders, hardware acceleration, pixel filters (Pixel bender) and Layer effects. Till this day you can't get html elements to drop a shadow with ease and simplicity. HTML5 will merely try to replace flash as a media player but since Flash's popularity is due to its consistency it will be a hard sell. MY hatred of CSS and Javascript can be surmised by the fact that 40% of javascript code is for browser compatibility and CSS implimentation is NEVER consistent on different browser vendors. Till you nerds get around this problem Flash will never be replaced. Fact is for whatever you can do in HTML5 we can do in flash faster and better.

I've already seen the Wolfenstein 3D in Canvas. Its inferior. and tiny. We can make a better 3D engine with a larger window. Beat that?

Shinto
Great points! In theory I think most people know that HTML will one day become a viable alternative to Flash. However, whether version 5 is it, is the question. HTML6 ... maybe. But the problem is that the open sources standards body moves like a snail due to bureaucratic complexities in contrast to propriety technologies, where obvious leaders put down the fist and something happens.
helloworlder
A: 

It is possible the text-based markup language (HTML5) could replace a multimedia framework (Flash).

The solution is simple, just move the framework into the browser and become an open standard. Not only multimedia framework, the browser can include lot of other stuffs which belong to the operating system now.

It is possible eventually browser will be the OS (user mode). Current OS will be limited to the kernel mode, mostly deal with hardwares.

Jack
+4  A: 

I think some people here are programming snobs and aren't listening. I, too, am a beginning Flash developer and I don't want it to go away. You know why? Because CREATIVE people can use Flash to develop what's in our brains very easily. A person who likes to draw and create scenes does not necessarily like to code. Typing a bunch of "sentences" is NOT drawing and animating! What you're saying about HTML5 is like saying that Picasso and Dali should have learned a programming language in order to paint. Ridiculous, right?

That's why people prefer Flash to HTML5. It's not self-serving, it's just acknowledging that the people capable of creating cool animated web content would rather be able to create our own visions rather than learn an unrelated skill or rely on someone else to interpret for us.

Instead of ridiculing, you might want to come up with an HTML5 visual environment that rivals Flash.

Katryna
I think this is a good point. Until there is an equivalent authoring tool for HTML5 content it will struggle to be adopted. Sure, a programmer can do the same thing with HTML5/Javascript/CSS3 that they can do with Flash, but artists aren't going to want to mess around with code. What we need is a web-based animation suite that is at least as easy to use as Adobe's tools. No doubt Adobe is already working on such a thing so they avoid losing their dominance in web content creation.
Will Baker
This answer has absolutely nothing to do with Flash on the one hand or HTML5/CSS3/JS on the other. This answer is entirely about authoring tools. If an authoring tool can be made for one language (Flash) why couldn't one be made for another (HTML)? In fact I've seen it suggested that Adobe themselves may modify their authoring tools to output open-standard content.
TRiG
TRiG, I disagree. The question is if HTML5 can replace Flash. To answer the question realistically you still need to take into account authoring tool availability.
helloworlder
A: 

A lot of people claim HTML5 will kill off plugins like Flash and Silverlight, but that simply isn't the case.

Take for instance, this scenario.

Load a binary file over a url. For the sake of the demo, we'll use shapefile format (.shp), which contains geographical polygons in a coordinate system.

Parse the byte contents client side.

Draw the contents in an efficient manner.

Demo: http://www.libertyvanguard.com/liberty-gis

This is just one example where plugin technology won't be replace by HTML5.

Liberty Vanguard
+1  A: 

A scathingly obvious and wider angle point that is rarely made, is that the vaguely referenced "flash" term actually encompasses the entire Flash Platform, and that includes the Flash IDE.

Animators and other artistic types who use the technology to create complex cartoons and animations depend almost entirely on the IDE for their work. It is just simply not possible without it. End of story. It's not just the technology at the language specification level that matters! It's also about the "supporting technologies" in this case IDEs (I say "supporting" but the Flash IDE is very much a technology integrated with the rest of the Flash Platform).

If someone builds an HTML5 IDE that has features that rival the Flash IDE, that's great, but I'm surprised the point is so rarely made. Artists are as much part of the debate as programmers, and it's unreasonable to say it is not their business.

So, to answer your question directly: HTML5 would be considered a totally reasonable alternative - or even replacement - to a multimedia framework such as Flash if and only if a proper IDE is built for it, thus elevating it to a multimedia framework also.

It is just not realistic to make an argument without taking into account IDEs. If the question is specifically "Can HTML5 in it's completed state, without an IDE, be an alternative to Flash for applications apart from manually animated complex animations?" then the answer would most likely be yes and we'd all go home.

helloworlder
A: 

Interesting topic. I echo the sentiment of most posters here that while HTML 5 makes great leaps in basic multimedia presentation, it won't be able to replace Flash. All the online gaming sites are a good example. Flash is can run on most browsers except on certain mobile devices.

On that note, I believe battery drain was the original reason why Steve Jobs did not want to support Flash on the iPhone and iPad. This might bite Apple (no pun) down the road. Android 2.2 will have flash support (but it not clear if all the hardware manufactures will support it -they'll have be confident in their batteries).

Also, it looks like Flash 10+ will be a sure thing on Blackberry devices going forward including BB phones the upcoming BB Playbook tablet (btw, this toy has some killer specs - can't wait to get my hands on it when it comes out next year).

I am willing to bet that Flash will continue to be big in Web Dev even after HTML 5 support becomes universal.

Krigs
A: 

Can you record sound (and perhaps do speech recognition) with HTML5? (It's not easy with FLASH, but possible, from what I've read)

That's a deal breaker for our apps.

Clay Nichols
If you have a question, ask a question. Don't post it as an **answer** to someone else's.
David Dorward