Elxis CMS Forum

Support => General => Topic started by: rentasite on April 01, 2009, 02:19:31

Title: Embed music on a site
Post by: rentasite on April 01, 2009, 02:19:31

Hi,

i want someone to hear music (specific audio/mp3 file) when he "lands" on a site i'm creating. Has anyone got to propose a solution about this?  :)

It could be a service/solution not related to Elxis, but i will embed it into the Elxis site Im developing.

Thanks in advance
Title: Re: Embed music on a site
Post by: ks-net on April 01, 2009, 02:52:23
flash
Title: Re: Embed music on a site
Post by: Ivan Trebješanin on April 01, 2009, 03:56:59
Off course, you can easily use simple HTML, like
Code: [Select]
<embed src="YourMusic.wav" />This might not work in some browsers, so here is another variant, that should work in all browsers
Code: [Select]
<embed src="yourmusicfile.mid" autostart="true" loop="true"
width="2" height="0">
</embed>
<noembed>
<bgsound src="yourmusicfile.mid" loop="infinite">
</noembed>
Title: Re: Embed music on a site
Post by: Farhad Sakhaei on April 01, 2009, 12:19:25
<bgsound src="http://www.website.com/file.mp3" loop="9">
Title: Re: Embed music on a site
Post by: webgift on April 01, 2009, 14:40:15
This source code we must insert into index.php e?


I'm interested in that. Good posting Supernet.!
Title: Re: Embed music on a site
Post by: rentasite on April 01, 2009, 16:06:48
<bgsound src="http://www.website.com/file.mp3" loop="9">

Thanks for your suggestions guys. I'm also searching on the web, for the best solution. I will post back for what i found.
Title: Re: Embed music on a site
Post by: nikos on April 01, 2009, 23:24:49
The oldest known way by html is this one that Farhad posted. I used to often in sites 10 years ago, just with .wav sound files.
Title: Re: Embed music on a site
Post by: rentasite on April 02, 2009, 00:07:16

I intend to use Mp3