Html – How do I prevent an audio file from replaying onmouseup?
I'm simulating a piano that plays a corresponding audio file when the appropriate key is clicked. If I allow the length of the file to run as if the piano key was sustained, and if I long-press the click, it…