Here, I've made a much easier code for those who still use this and need help. 0.5 is 50%, 0.8 is 80%, 0.3 is 30%, etc. This will help you adjust the sound volume to your liking for the page. Hope this helps! I'm going to be sharing my story in my community tab on my channel shortly, if anyone is interested in reading it! Come through and leave a comment! :D var audio = document.createElement('audio'); audio.src = 'YOUR URL HERE'; audio.loop = true; audio.volume = 0.5; // Set volume to 50% (you can adjust this value) audio.play();
Dearest stranger, I want you to know that you just helped a desperate uni student finish their assignment with adding sound to their twine project, sincerely I hope your every day is filled with joy and everytime you reach your pocket, there's money inside.
Please send the link of that Training Guide:Twinery it would help me a lot
Here, I've made a much easier code for those who still use this and need help. 0.5 is 50%, 0.8 is 80%, 0.3 is 30%, etc. This will help you adjust the sound volume to your liking for the page. Hope this helps! I'm going to be sharing my story in my community tab on my channel shortly, if anyone is interested in reading it! Come through and leave a comment! :D
var audio = document.createElement('audio');
audio.src = 'YOUR URL HERE';
audio.loop = true;
audio.volume = 0.5; // Set volume to 50% (you can adjust this value)
audio.play();
Dearest stranger, I want you to know that you just helped a desperate uni student finish their assignment with adding sound to their twine project, sincerely I hope your every day is filled with joy and everytime you reach your pocket, there's money inside.
Hello! how can you stop/ fade out the audio?
Works like a charm. I used dropbox, trick with that is the last interger or the last zero you paste, you must change that to a 1 and it should work.
yo bro u've saved my life mashallah
Thanks
thank you, helped me a lot