Garry's Mod - sv_loadingurl [loading screen] background music
8 replies, posted
I have heard music played in the background of loading screens before (an example would be Mogz), I want to play music in the background of my loading screen too, however it does not work. I have tried embedding the music file and also tried to load it from a youtube video on a webpage then loading it into the server with sv_loadingurl, and if I go onto the webpage through a browser the music plays and everything is as it should be. But when I load it with garry's mod music doesn't play, everything else works though (the background image), autostart="true" in the html code, so it should play, but it does not. What is the correct way to play background music in the loading screen if embedding it in a webpage does not work.
Thanks
~Luke
1: You're a terrible, terrible person, don't do this because people don't want to have to listen to your shitty music
2: [url=http://www.w3schools.com/html/html_sounds.asp]Don't click this[/url]
[QUOTE=leach139;40026774]1: You're a terrible, terrible person, don't do this because people don't want to have to listen to your shitty music
2: [url=http://www.w3schools.com/html/html_sounds.asp]Don't click this[/url][/QUOTE]
Thanks for the lovely helpful advice and thanks for linking me to HTML code which I've said i've already used (embedding)
You sir, deserve a prize!
It's pretty hard to say without seeing the code, mind posting it?
If you post your music on your loading page, that is a huge turnoff and no one will wait through it.
play this video
[media]http://www.youtube.com/watch?v=Qzb87qir7Cs[/media]
[QUOTE=Adzter;40026956]It's pretty hard to say without seeing the code, mind posting it?[/QUOTE]
This is the music playing code:
<embed src="images/TTT.mp3" autostart="true" autoloop="false" hidden="true">
it is within <body></body>
[QUOTE=leach139;40026774]1: You're a terrible, terrible person, don't do this because people don't want to have to listen to your shitty music
2: [url=http://www.w3schools.com/html/html_sounds.asp]Don't click this[/url][/QUOTE]
That's quite the assumption. Not every server with loading music has it blaring and is terrible based on your opinion.
[QUOTE=Blasphemy;40034714]That's quite the assumption. Not every server with loading music has it blaring and is terrible based on your opinion.[/QUOTE]
A lot of people play Garrys Mod while in Skype or while listening to music so it is pretty annoying when you hear other stuff interfering regardless of the genre or volume.
[QUOTE=Lukee9;40034684]This is the music playing code:
<embed src="images/TTT.mp3" autostart="true" autoloop="false" hidden="true">
it is within <body></body>[/QUOTE]
As for the code you should try using the <audio> tags as leach139 suggested, also ensure there's no simple mistakes like the file being called ttt.mp3 rather than TTT.mp3, etc.
Sorry, you need to Log In to post a reply to this thread.