1.0.0 • Published 1 year ago

wam-plugin v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

WAM Plugin Web Component

Description

The WAM Plugin Web Component provides a simple way to load and use WAM plugins in a web application. It can be used as a child element of the WAM Host Web Component or standalone for demo purposes.

Installation

Copy the WAM Plugin Web Component files into your project, making sure to maintain the directory structure. Be sure to include the WAM Plugin Web Component file in your HTML file.

<script type="module" src="path/to/wam-plugin.js"></script>

Usage

To use the WAM Plugin Web Component, add a tag in your HTML file with a src attribute pointing to the JavaScript file of the plugin you want to load.
When used as a standalone demo, the WAM Plugin will load a MIDI keyboard if the plugin is an instrument, or an audio player if the plugin is an effect.

<wam-plugin src="path/to/plugin.js"></wam-plugin>

Make sure the JavaScript file of the plugin is accessible from the specified path.

1.0.0

1 year ago