Flash Player and Chrome Sitting in a Tree

TechCruch just posted about the news that Adobe and Google are going to be collaborating a bit around Chrome and Flash Player. The basic gist is that Chrome will start integrating Flash Player directly into the browser so that users will always have the most up to date versions and anyone who downloads Chrome won’t need to also install Flash Player. I think that’s good, but the much bigger news in my opinion, is that we’re working with Chrome and Mozilla to revamp the plugin architecture. This has huge implications.

We’ve been using an old-school plugin model for a long time. In fact NPAPI, the plugin interface, stands for Netscape Plugin Application Programming Interface. And as the Wikipedia entry states, it’s so sucessful because it’s so simple. The API basically lets plugins associate themselves with a content type (like a SWF file) and then puts that plugin in charge of all the rendering. There’s not a lot of integration between the plugin and the content in the browser, which means the plugin lives in its own little world and it’s tough to break out. You can do things like ExternalInterface but it’s still pretty hacky.

But under this new plugin model, we’ll have much closer integration at the browser level. There’s a great summary of what this means at the Chromium blog:

Improving the traditional browser plug-in model will make it possible for plug-ins to be just as fast, stable, and secure as the browser’s HTML and JavaScript engines. Over time this will enable HTML, Flash, and other plug-ins to be used together more seamlessly in rendering and scripting.

Think better access to the hardware APIs via this new plug-in model, better access to the DOM, and a generally much better, more stable experience. Flash Player in the browser has always felt a little like a black box largely because of the constraints in the plugin model. Certain things didn’t work quite as you’d expect in a regular HTML site. Hopefully this changes that. In theory this could make it possible to use the save-password feature with your Flex/Flash apps, or make Flash SEO a lot easier, and it allows us to innovate around HTML-Flash integration. If you’ve used AIR, you’ve seen what’s possible when you have complete control over both technologies. This new plugin work makes that easier to do across all browsers that support it. I don’t know when/if we’ll see it, but it’s easier now.

Another benefit is that the API is going to be OS and browser neutral so you won’t see such wildly different performance on different platforms. The hooks that we can use to make the browsing experience better will work across all of the browsers that support the new plugin across all of the operating systems.

  • http://www.neave.com/ Paul Neave

    This is great news. Flash has always been lacking decent integration into the browser. Once a Flash object has focus, all native browser functions like text search, right-clicking, page back & forward etc become inactive. We need to bring this native browser functionality back. Ideally Flash (and any plug-in object) should be transparent to the user, so unless you dive into the web page source code, you wouldn’t know it’s Flash. And as well, I’d hope we can move past using the ugly object HTML tags and have better ways of integrating Flash content into our pages.

  • http://www.matthewfabb.com Matthew Fabb

    Looking through the new plugin model from Mozilla, I couldn’t help but notice that it includes a way to send OpenGL commands to the browser for 3D rendering:
    http://bit.ly/bNkzG3

    Hopefully this means a full native 3D engine for Flash in the future. :-)

  • http://ria-coder.com Danny Kopping

    Sounds fantastic! The problem remains with software fascists like Apple and Microsoft… It’s all good and well to have an amazing feature-set across Chrome and Mozilla-based browsers, but what is the likelihood that IE & Safari are going to adopt this?
    With Steve Jobs’ recent egregious comments about Flash on the Mac, I can’t see Safari champing at the bit to implement this, and Microsoft will have to hack their horrible ActiveX architecture too…
    In any case, i’m 110% for this movement! I think this new collaboration between the browser and Flash could be stunningly symbiotic, not a relationship based on deferred delegation anymore.

  • john mitas

    I said it a year ago, google should by adobe. They have alot of products that dont cross over and actually can complement each other.

    Adobe are going thru a phase where there products are starting to look stale and outdated, a rewrite of some sort im sure is in the plans for alot of there flagship products. Perfect time for google to step in and engineer these rewrites the google way and offer them as part of google apps.

    PERFECT synergy to compete with Apple/MS

  • Isaac

    Very good news!
    Thumbs up to Flash. Hope it works well with IE as well cos we can’t keep ignoring a browser that has more than 50% or the market. Am sure MSFT will be open.

    Great!

  • http://www.twitter.com/derekobrien Derek O’Brien

    Fantastic move by Adobe and great insight by Chrome and Mozilla to jump on board.

  • http://blog.leefernandes.com leef

    LMFAO @ “NPAPI, the plugin interface, stands for Netscape Plugin Application Programming Interface.”

    HAHAHAHAHA, Netscape…. oh man, I’m wiping tears. That’s so ancient.

  • Bill Brown

    I have a new favorite browser :)

    If CS5 is as “successful” as CS4, then I would tend to agree that Adobe may be ripe for buy-out. Of the companies able to do so, I would prefer it be Google – who seem to have more of the pioneering spirit to advance the Flash platform like in the Macromedia days.

  • Khalid

    Terrific. I think Adobe just made a killer move. Puts my mind to ease !

  • http://matthewfabb.com Matthew Fabb

    Danny Kopping: “With Steve Jobs’ recent egregious comments about Flash on the Mac, I can’t see Safari champing at the bit to implement this…”

    Yet Apple worked together with the Adobe Flash Player team to improve graphic rendering in Safari:
    http://www.kaourantin.net/2010/02/core-animation.html
    Apparently with these improvements graphic rendering should be faster on a Mac with Safari than it will be on Windows. So perhaps Apple would go for this plugin model as well.

    Microsoft is more likely to be the hold out, but perhaps they could be convince to change in order to provide better integration for Silverlight. Not to mention they could reduce the work for their Silverlight team if they join the industry standard.

    Unfortunately, since this is dependent on the browser, if it is implemented across browsers, we will have to still wait at least 5 years for over 90% users to upgrade to the latest browser with this new plugin model.

  • http://jimmyflex.blogspot.com/ Dimitrios Gianninas

    This is great news Ryan…one recent complaint of people using a Flex app at work is the ability to highlight say data in a DataGrid and copy the contents into an email (in a nice HTML table kind of way)…would this be possible with such changes?