https://github.com/indr/webcg-adobe-animate-adapter
Adapter for Adobe Animate HTML5 Canvas templates for CasparCG and WebCG
https://github.com/indr/webcg-adobe-animate-adapter
adobe-animate casparcg html5-canvas webcg
Last synced: 10 months ago
JSON representation
Adapter for Adobe Animate HTML5 Canvas templates for CasparCG and WebCG
- Host: GitHub
- URL: https://github.com/indr/webcg-adobe-animate-adapter
- Owner: indr
- License: mit
- Created: 2018-07-29T07:16:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-23T08:02:46.000Z (over 6 years ago)
- Last Synced: 2025-07-08T23:48:48.815Z (11 months ago)
- Topics: adobe-animate, casparcg, html5-canvas, webcg
- Language: JavaScript
- Size: 1.42 MB
- Stars: 19
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# webcg-adobe-animate-adapter
webcg-adobe-animate-adapter is an adapter to use Adobe Animate HTML5 Canvas templates (graphic overlays) with CasparCG. The adapter provides the same features as the TemplateHost of the CasparCG's flash producer, plus additional development and debug tools that make it easy to test your templates without a CasparCG instance. Have a look at the [live example lower third template](https://indr.github.io/webcg-adobe-animate-adapter) and its [source code](https://github.com/indr/webcg-adobe-animate-adapter/tree/master/docs).
## Features
- Support of ACMP commands `play`, `next`, `stop`, `update` and `invoke`.
- Support of "intro" and "outro" labels for playing and stopping.
- Support of jumping to labels using ACMP `invoke`.
- Automatic update of template instances according to the provided data via `update`.
- Three data formats: plain JavaScript object, JSON and the templateData XML format.
- The adapter comes with lazy-loaded [development tools](https://github.com/indr/webcg-devtools) that provide a user interface to edit the template data and invoke the above commands.
## Installation
*This section describes how to install and integrate the adapter with your existing Adobe Animate HTML5 Canvas template. If you are looking for full instructions on how to create HTML5 Canvas templates with Adobe Animate, head over to my blog and follow the [tutorial](https://indr.ch/).*
- Visit https://github.com/indr/webcg-adobe-animate-adapter/releases and download the latest webcg-adobe-animate-adapter.zip.
- Extract the archive and place the two JavaScript files `webcg-adobe-animate-adapter.umd.js` and `webcg-devtools.umd.js` in the `libs` folder of your Adobe Animate project.
- Include `webcg-adobe-animate-adapter.umd.js` in your publish template by either
- adding `` after the `$TITLE`, or
- importing the publish template `Adobe-Animate-Publish-Template.html`, or
- importing the publish profile `Adobe-Animate-Publish-Profile.apr`.
- Test your movie and append `&debug=true` in your browsers address bar or
publish your movie, open the HTML file and append `?debug=true` to see the DevTools.
## Contributing
`npm run build` builds the library to `dist`.
`npm run dev` builds the library, then keeps rebuilding it whenever the source files change.
`npm run test` run the unit tests in watch mode.
`npm run demo` starts a demo at localhost:8080.
## Copyright and License
Copyright (c) 2018 Reto Inderbitzin, [MIT License](LICENSE)