Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSMD on Wix #1280

Open
GimmeSomeJazz opened this issue Nov 28, 2022 · 4 comments
Open

OSMD on Wix #1280

GimmeSomeJazz opened this issue Nov 28, 2022 · 4 comments
Labels
question-usage Question on how to use certain OSMD aspects (code)

Comments

@GimmeSomeJazz
Copy link

Hi all,
First, thank you all for this amazing work.
I tried to import opensheetmusicdisplay.min.js in Wix :
import opensheetmusicdisplay from ‘public/opensheetmusicdisplay.min.js’
Unfortunately, I have this error :

LoadUserCodeError: Failed to import user code script: Load failed

Any tips?
Thank you!
Maxime

@sschmidTU
Copy link
Contributor

opensheetmusicdisplay is not a class.
Have you tried import OpenSheetMusicDisplay from ...? does the file exist in public/?
I unfortunately don't have experience with Wix. Is it Javascript or Typescript?

@sschmidTU sschmidTU added the question-usage Question on how to use certain OSMD aspects (code) label Nov 28, 2022
@GimmeSomeJazz
Copy link
Author

Thank you for this fast answer. Indeed, I tried that way too, but it did not work either. As I understood, Wix is JavaScript. Maybe someone had any good experience on Wix?

@joshstovall
Copy link
Contributor

Good luck, I'm not sure it will work with Wix. Wix is sort of like Squarespace or WordPress, right? I don't think it will work with this library. Though I think OSMD does have a WordPress plugin, maybe look into trying that?

@GimmeSomeJazz
Copy link
Author

Good luck, I'm not sure it will work with Wix. Wix is sort of like Squarespace or WordPress, right? I don't think it will work with this library. Though I think OSMD does have a WordPress plugin, maybe look into trying that?

totally aggree @joshstovall!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question-usage Question on how to use certain OSMD aspects (code)
Projects
None yet
Development

No branches or pull requests

3 participants