+ 4
How can I add MIDI music to my webpage?
3 Antworten
+ 7
Kuba Siekierzyński, is there a way to play a midi file in Code Playground from another website using PHP? I tried
echo "embed src=\"$fileURL\" autoplay=true"; but it looked for the midi in ../Playground/
I don't know what I'm doing but thought it could work in this context.
https://code.sololearn.com/we7W2j7yfnAL/?ref=app
+ 5
You can use <embed src="music.mid"> and set autoplay to true.
But please reconsider. Playing a background music on the website is not considered user friendly :)
Unless you really know what you're doing...
+ 3
thank you.