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

How to play file.mid #259

Open
josanta opened this issue Jan 2, 2021 · 4 comments
Open

How to play file.mid #259

josanta opened this issue Jan 2, 2021 · 4 comments

Comments

@josanta
Copy link

josanta commented Jan 2, 2021

hello, how can I play recorded mid files on my pc.
like file.mid

<script type='text/javascript' src='//www.midijs.net/lib/midi.js'></script> - This is working online and offline.

How can I use it on my local folder as here:
<script type='text/javascript' src='js/midi.js'></script>
Why is it not working.
Thank you :)

@hmoffatt
Copy link

hmoffatt commented Jan 2, 2021

Content type is wrong. Path may be wrong. Check the network pane of your browser's developer tools - does it try to load the script?

@josanta
Copy link
Author

josanta commented Jan 2, 2021

Content type is wrong. Path may be wrong. Check the network pane of your browser's developer tools - does it try to load the script?
the path is correct. can I share code with you?

@josanta
Copy link
Author

josanta commented Jan 2, 2021

midi.mp4

player.zip

These are the files and video

@hmoffatt
Copy link

The browser console says: Loading failed for the <script> with source “http://.../player/js/libtimidity.js”. Appears there are files missing from the zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants