[PHP/HTML] background music

⚠️
Self Deleted
10 Happy Years
Joined
Aug 10, 2009
Messages
210
Reaction score
17
How to add...

BACKGROUNDMUSIC

to an website (cms).

---------- Post added at 02:30 PM ---------- Previous post was at 02:19 PM ----------

b
u
m
p
+ H3LP JVLE
 
Re: [PHP/HTML] How to add...

Which CMS? If you Google background music + html you will find plenty of examples...but for the love of god please do not make it autoplay. Autoplaying music or videos when a user goes to your site is a good way to annoy people into not coming back.

There may even be an option in your CMS to do it without coding.
 
Re: [PHP/HTML] How to add...

Which CMS? If you Google background music + html you will find plenty of examples...but for the love of god please do not make it autoplay. Autoplaying music or videos when a user goes to your site is a good way to annoy people into not coming back.

There may even be an option in your CMS to do it without coding.

Ah thanks, i will search :)

---------- Post added at 02:39 PM ---------- Previous post was at 02:35 PM ----------

Found it :

PHP:
<embed name="music"
src="/download/music/music.mp3"
loop="false"
hidden="true"
autostart="true">
</embed>

Or :
PHP:
<embed name="music"
src="/download/music/music.mp3"
loop="false"
width="300"
height="90"
hidden="false"
autostart="false">
</embed>

Thanks (Y)
 
You could also make a flash application that plays music, so that people would not look at the source code and download the music files. Then you could be in trouble. But then they would be able to decompile the flash application.
 
Last edited:
Back