Skip to content

Commit

Permalink
Add WILDWEBMIDI_REMOTE_PACKAGE_BASE constant to define MIDI data loca…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
markusweigelt committed Feb 28, 2025
1 parent a27ea6a commit 236da8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/Private/Plugins/Kitodo/Templates/PageView/Main.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@
<f:else>
<div id="tx-dfgviewer-map-0" class="tx-dlf-map"></div>
<div id="svg_panel">
<f:asset.script identifier="wildwebmidi-remote-package-base" priority="true">
const WILDWEBMIDI_REMOTE_PACKAGE_BASE = '{viewData.publicResourcePath}/JavaScript/WildWebMidi/wildwebmidi.data';
</f:asset.script>
<div id="player"></div>
<div id="svg_output" style="overflow:hidden;"></div>
</div>
Expand Down

0 comments on commit 236da8a

Please sign in to comment.