For the complete experience, please enable JavaScript in your browser. Thank you!

  • Creative Cloud
  • Photoshop
  • Illustrator
  • InDesign
  • Premiere Pro
  • After Effects
  • Lightroom
  • See all
  • See plans for photographers, students, businesses, and more >
  • Marketing Cloud
  • Experience Manager
  • Analytics
  • Target
  • Social
  • Media Optimizer
  • Campaign
  • Acrobat
  • EchoSign
  • Digital Publishing
  • Primetime
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player
  • All products
  • Creative Cloud
  • Individuals
  • Photographers
  • Students and Teachers
  • Small and Medium Business
  • Enterprise
  • Schools and Universities
  • Marketing Cloud
  • Acrobat
  • EchoSign
  • Digital Publishing
  • All products
  • Learn at your level
    Get started or go deeper with tutorials of all our products.
    Learn now >
  • Contact support
    Get instant help from one of our awesome support people.
    Start now >
  • Ask the community
    Post, discuss, and be a part of our knowledgeable community.
    Join now >
  • All learn & support
    • About Us
    • Careers At Adobe
    • Investor Relations
    • Privacy  |  Security
    • Corporate Responsibility
    • Customer Showcase
    • Events
    • Contact Us
News
    • 10/06/2014
      Adobe Takes Creativity Mobile at MAX 2014
    • 09/22/2014
      Adobe Acquires Aviary to Fast-Track Creative Cloud App Development
    • 09/16/2014
      Adobe Reports Q3 FY2014 Financial Results
    • 09/10/2014
      Adobe and Publicis Groupe Team Up to Deliver First Always-On Global Marketing Platform
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Creative Suite Developer Center / Adobe Extension Builder /

Introducing HTML5 extensions

by Hallgrimur Bjornsson

Hallgrimur Bjornsson
  • Google
  • Twitter

Content

  • Introducing HTML5 extensions

Created

26 September 2013

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
CS Extension Builderextensibility
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

This article assumes basic familiarity with Creative Suite and Creative Cloud product extensibility.

User level

All

This article discusses the new HTML5 based extensions for Creative Cloud products.

Introducing HTML5 extensions

When Creative Cloud was launched in June 2013, we added support for HTML5-based panels in several Adobe products. These new panels open up the world of panel development to a wider range of developers who may be more comfortable working with HTML/JavaScript and CSS. Since June, support for HTML5-based panels has been added to more Adobe products. As of now Photoshop CC, Illustrator CC, InDesign CC, Premiere Pro CC and Prelude CC support HTML5-based panels.

A preview of Adobe Extension Builder 3, a new developer tool that supports creating HTML5-based extensions, was launched in June at Adobe Labs. 

Download Extension Builder 3 Preview

Starting in the middle of 2014 we will begin removing Flash-based extension support in Creative Cloud products, starting with Photoshop CC. We encourage all developers to start planning and migrating to the new extensibility framework based on HTML5.

HTML5-based panels allow developers to leverage the rich ecosystem of existing JavaScript frameworks and tools when creating their panels. HTML5-based panels share the same technology with web applications, which opens up exciting opportunities for integration with web services.

The videos below demonstrate the power of HTML5 extensions, and how to build them.

Underlying technologies

All extensions for Adobe desktop applications are built on the Common Extensibility Platform (CEP), which was previously called CSXS. The current versions, CEP4, supports both Flash and HTML5 extensions. An Adobe desktop application that has integrated CEP4 can run either kind of extension.

CEP 4.0 uses Chromium Embedded Framework 1 (CEF1) to power HTML5 extensions. CEP 4.2 will use CEF3. CEF3 is a multi-process implementation that uses asynchronous messaging to communicate between the main application process and one or more render processes (WebKit + V8 JavaScript engine). It uses the official Chromium Content API (CEF 1 uses the WebKit API), thus giving performance similar to Google Chrome.

Flash/Flex/AIR extensions run in APE (Adobe Player for Embedded). This product is deprecated, and, as stated above, will be removed from Creative Cloud products, starting in the middle of 2014. This means that developers must migrate their extensions to HTML5 if they want to continue to support them in Creative Cloud (CC) applications. Flash-based extensions will continue to run as before in versions CS5.x and CS6 of their host applications.

Migrating your extensions to HTML5

In order to migrate your Flash/Flex extension to HTML5, you must replace all ActionScript and MXML code with JavaScript, HTML and CSS. This means you will have to recreate the panel UI.

ExtendScript code will not be affected by this change. However, the method you use to call ExtendScript code from the panel is different. If you have been using CSAW (Creative Suite ActionScript Wrapper) to call into the application DOM, you will have to replace that with native ExtendScript code.

Passing complex objects

You may need to pass complex objects between your extension panel and ExtendScript. Currently, an HTML panel can interact with ExtendScript through evalScript(), which supports strings. Binary data must be base64-encoded or quoted-printable to pass it in this way.

It is possible to use JSON strings; however, ExtendScript does not support JSON.stringify(). You can work around this by building strings like this, which you can then decode in JavaScript using JSON.parse() :

return '{"status": "success", "value": "' + escapeForJson(value) + '"}';

You can also use local files to exchange complex objects.

Packaging and distribution

HTML5 extensions are packaged as ZXP files, in the same way as Flash-based extensions. Extension Manager CC supports the installation and management of all ZXP extensions.

You can distribute your ZXP files privately or through Adobe Exchange.

Developer tools

You can start building HTML5 extensions now, using your favorite tools. The latest version of Extension Builder makes it easy for you to create a new project, edit the bundle manifest, export a project so that it can be distributed and many other things that are specific to Adobe products.

Summary

With HTML5 extensions, developers can build panels for Creative Cloud products using the same tools, frameworks and APIs that they use to build modern web applications. To get started, download Extension Builder 3 and join the discussion on the Extension Builder 3 forums.

Resources

A short guide to HTML5 extensions

Full documentation

Sample extensions

Davide Barranca’s blog

Extension Builder 3 Preview

David Deraedt’s plugin for Adobe Brackets

Adobe Exchange

 

 

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License

More Like This

  • Developing extensions for multiple versions of the Creative Suite
  • So you want to sell your Creative Suite extensions?
  • Developing hybrid extensions with Creative Suite Extension Builder
  • Debugging Workflows in Creative Suite Extension Builder
  • Overview of Adobe Creative Suite Extensibility
  • Handling XMP Metadata with Creative Suite Extension Builder
  • Developing multiple Creative Suite extensions
  • Adobe Creative Suite image conversion utility
  • Introducing CS Extension Builder 1.5
  • Skinning Creative Suite extensions
Choose your region United States (Change)   Products   Downloads   Learn & Support   Company
Choose your region Close

Americas

Europe, Middle East and Africa

Asia Pacific

  • Brasil
  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Cyprus - English
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Greece - English
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • Malta - English
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • Southeast Asia (Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam) - English
  • 台灣

Commonwealth of Independent States

  • Includes Armenia, Azerbaijan, Belarus, Georgia, Moldova, Kazakhstan, Kyrgyzstan, Tajikistan, Turkmenistan, Ukraine, Uzbekistan

Copyright © 2014 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices