• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Gesior Acc Background Music

Joriku

Working in the mines, need something?
Joined
Jul 16, 2016
Messages
1,175
Solutions
17
Reaction score
481
Location
Sweden
Hello, i want to know how i can add a background song on my website, anyone knows how to add it?
 
Where you want.
You can add new folder music/music.mp3
Then:
<body><audioloop="loop"autoplay="autoplay"><sourcesrc="music/music.mp3"/></audio></body>
 
Where you want.
You can add new folder music/music.mp3
Then:
<body><audioloop="loop"autoplay="autoplay"><sourcesrc="music/music.mp3"/></audio></body>

this is my stuff
song (music file)
mystic.mp3
location (whole xampp)
C:\Xampp\htdocs\backmusic
folder called (backmusic)
i added the script on the top in layout.php
can you make it for me becouse when i do it it dosn't work :S
 
or is there any script there you can just take the youtube link?
This is the one i want to use
 
Your code:
Code:
</div></body></body><audioloop="loop" autoplay="autoplay"><sourcesrc="backmusic/mystic.mp3"/></audio></html>

Change...
Code:
</div><audioloop="loop" autoplay="autoplay"><sourcesrc="backmusic/mystic.mp3"/></audio></body>/html>
 
Your code:
Code:
</div></body></body><audioloop="loop" autoplay="autoplay"><sourcesrc="backmusic/mystic.mp3"/></audio></html>

Change...
Code:
</div><audioloop="loop" autoplay="autoplay"><sourcesrc="backmusic/mystic.mp3"/></audio></body>/html>

Parse error: syntax error, unexpected '<', expecting end of file in C:\Xampp\htdocs\layouts\tibiacom\layout.php on line 4
 
Back
Top