HTML 5 Canvas Vs. Flash

Posted on 2009-12-24
Last Modified: 2012-05-08

I need a PROS / CONS of HTML 5 Canvas Vs. Flash and your opinion on which technology will win the race.
Question by:elimesika
    LVL 15

    Assisted Solution

    i would prefer flash...
    nobody knows when the html5 will be fully supported by all browsers
    and of course, you have to count the backward compatibility

    but anyway, it's a hard question, i don't think that there will be a 'winner', as flash can be best choice for some applications, and canvas for others...
    LVL 14

    Accepted Solution

    At the moment, Flash beats HTML 5. There are still many features provided by Flash that is not provided by HTML 5. The HTML 5 standard is still a draft, and still isn't complete. Some of the features do not exist in all browsers yet.

    Firefox may claim to support HTML 5, but since that isn't complete, you can't say it supports all the features HTML 5 will come to have.

    IE8 haven't really support HTML 5, and since it is a major browser vendor, you shouldn't use HTML 5.

    Furthermore, like ludofulop said, older browsers do not have support for HTML5, hence backwards compatibility becomes an issue. You can's just install HTML5 into older browsers but you can do that for Flash Player.

    Ultimately, HTML 5 will beat the speed of Flash Player because it's just a plugin while HTML5 will be supported natively by browsers. However, it isn't complete at the moment so you should stick to Flash now.

    However, Flash Player have better backward compatibility, currently ubiquitous on browsers since over 98% users have that installed. Furthermore, with AVM2, the speed have tremendously increased. It have many more features and there are a couple more benefits.

    I will give a summary

    HTML 5 Pros:
    Fast (depending on browser of course)
    A standard (this means that most browsers will eventually support this)
    Uses mon-proprietary things to make the web more open (There sometimes are issues with using proprietary formats like FLV, F4V and others, HTML5 supports open video formats so people can use them royalty-free)

    HTML 5 Cons:
    Incomplete (Don't expect all browsers to support it yet)
    Lack of features (the features is currently lesser than what Flash provides)

    Flash Pros:
    Quite fast (only for AVM2, AVM1 is not quite fast)
    Supports some basic 3D (2.5D)
    Ubiquitous (most users have this installed, backward compatible)

    Flash Cons:
     FLV? F4V? ( I guessed I explained enough about that above)
    Plugin is plugin(no matter how fast they go, they are not native and will never be as fast)
    Bunch of exploits (Adobe is like 2002 Microsoft, lots of exploits in Flash and PDF, potentially dangerous)

    However, at the moment considering the factors, just because of the two cons HTML have,
     Flash > HTML 5 at the moment.

    Use Flash if you need to, otherwise use HTML, try not to use HTML 5 only features like canvas.
    LVL 14

    Expert Comment

    I forgot to tell you about the end.

    Ultimately, this will never be a race.

    HTML 5 will definitely take over Flash, just depending on how long it takes.

    Because one is native and one is plugin, they just can't race. It is obvious they can't be compared and HTML 5 will be the winner.
    LVL 19

    Author Closing Comment

    TanLiHao : Thanks a lot for your detailed answer.

    ludofulop: Thanks

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    "I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
    The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now