Comment: Use HTML5+jQuery to add mouse suspension sound effects, compatible with Firefox 3.5+, Chrome 3+, etc., use the audio elements of html5 to play a random mp3 sound effect. Friends who need it can refer to it
Using HTML5+jQuery, no FLASH:Browser scope: Firefox 3.5+, Chrome 3+, Opera 10.5+, Safari 4+, IE 9+
Code example:
$("#speak").mouseenter(function(){
$("<audio></audio>").attr({
'src':'audio/'+Math.ceil(Math.random() * 5)+'.mp3',
'volume':0.4,
'autoplay':'autoplay'
}).appendTo("body");
});
The above is to use the audio element of html5 to play a random mp3 sound effect.
This code demonstration (using jQuery) comes from the home page of goodfootapp.com.