<script>
// Play the XM file
function play() {
XMPlayer.play();
}
// Initialize the player
XMPlayer.init();
// Load the XM file
fetch('a sad touch.xm')
.then(response => response.arrayBuffer())
.then(buffer => {
XMPlayer.load(buffer);
setTimeout(function(){
play();
}, 3500);
});
// Pause the XM file
function pause() {
XMPlayer.pause();
}
// Stop the XM file
function stop() {
XMPlayer.stop();
}
</script>
Hi, I have a problem with autoplaying in my site...
XMPlayer.init();andfetch, I have to wait about 2 to 3 minutes before playing...Site: bang1338.xyz