Background music on my site accidentally stops

I have created a personal site and added background music to it. But all .mp3 files stop playing after a while. How to fix it? Issue can be reproduced locally.