-
-
Notifications
You must be signed in to change notification settings - Fork 334
Open
Description
Hi,
How to interact with the renderer from new buttons within wp plugin?

I have multiple exercises for each page. Example here: https://www.fxparlant.net/test-abc-notation-plugin/
U function
I have tried the same function as on the other buttons on the default player:
<button onclick="(function(t) { u(e.options.playPromiseHandler || e.options.playHandler, t, s, e.options.afterResume, !!e.options.playPromiseHandler) })();">Test U</button>
Error: u is not defined
abcjs.midi.startPlaying
I tried with the abcjs.configurator:
<button onclick="abcjs.midi.startPlaying(document.getElementById('abcjs-midi-687e010d06e5e'));">Test play</button>
Error abcjs is not defined
Thanks for you help.
Metadata
Metadata
Assignees
Labels
No labels