FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Music playin' from enterin' the site?

 


Sin Dasine
hey..i have one simply question, witch i suppose,will need a complex answer...
How could I put music on ma site so it would play from the point when you enter the site?and witch program should I use for that?how should I instal it?
Diebels
Hi, it´s very easy...
put this between your <html> </html> tags
<BGSOUND SRC="sound.wav" LOOP=INFINITE>
MrBlueSky
Sites that do that are highly, extremely, horribly irritating. IMHO Smile
Sin Dasine
Diebels wrote:
Hi, it´s very easy...
put this between your <html> </html> tags
<BGSOUND SRC="sound.wav" LOOP=INFINITE>


Thx,I'll try that....but should it be only wav,or could this work with mp3 aswell?
I mean like:
<BGSOUND SRC="sound.mp3" LOOP=INFINITE>
Sin Dasine
MrBlueSky wrote:
Sites that do that are highly, extremely, horribly irritating. IMHO Smile

maybe,but I'm doin on a musical site,so I suposed that this would be normal for that.... Smile
MrBlueSky
Sin Dasine wrote:

maybe,but I'm doin on a musical site,so I suposed that this would be normal for that.... Smile


In that case, yeah, that makes sense. Cool

Sin Dasine wrote:


Thx,I'll try that....but should it be only wav,or could this work with mp3 aswell?
I mean like:
<BGSOUND SRC="sound.mp3" LOOP=INFINITE>


No, only WAV, AU or MIDI files.
And it doesn't work in all browsers, I believe only in IE
drag0n
lol, THE sin on this site Wink is m.o.t.a. trying to get some site up and going on frihost? good choice.

sounds on pages are extremely iritating and people basicly don't want to hear it. you can put in an easy beat that will loop, but a song could really be annonying. some people browse without speakers, so the load time is increased, some browse in a quiet enviroment and don't want to distrub the people around them with sounds.

whatever you do include a 'turn music off' button. again i recomend not putting any songs on the site, just a cool beat. i should think you want to get some promotion with the site. if a person listens to a song on the site they will most surely not download it and they will not ever hear it again, you want people listening to the music and sharing it with other people on cds, playing it offline etc. hope i helped.

pozdrav iz rijeke Wink
{name here}
MrBlueSky wrote:
Sin Dasine wrote:

maybe,but I'm doin on a musical site,so I suposed that this would be normal for that.... Smile


In that case, yeah, that makes sense. Cool

Sin Dasine wrote:


Thx,I'll try that....but should it be only wav,or could this work with mp3 aswell?
I mean like:
<BGSOUND SRC="sound.mp3" LOOP=INFINITE>


No, only WAV, AU or MIDI files.
And it doesn't work in all browsers, I believe only in IE

YTMND is a whole humor site based around the idea of a picture, a sound, and some text. It works in all graphical browsers as far as I tested it on, and it uses the same techniques. Many users even use MP3 files embedded into their YTMND rather than WAVs. So your statement is wrong.
MrBlueSky
{name here} wrote:

YTMND is a whole humor site based around the idea of a picture, a sound, and some text. It works in all graphical browsers as far as I tested it on, and it uses the same techniques. Many users even use MP3 files embedded into their YTMND rather than WAVs. So your statement is wrong.


They use a flash-plugin (http://wiki.ytmnd.com/Flash_Preloader) to play mp3-files in the background

Because, among others

Quote:

Also, another benefit of this is better browser compability (whereas the other way uses specific methods for IE and Mozilla/Firefox.)


The <BGSOUND> tag is not supported in most browsers (http://developer.mozilla.org/en/docs/HTML:Element:bgsound), it only supports WAV, MID and AU and is non-standard HTML.

When you try to validate a HTML document containing <BGSOUND> it will fail:

Quote:

This page is not Valid HTML 3.2!

Below are the results of attempting to parse this document with an SGML parser:

Error Line 3 column 53: element "BGSOUND" undefined.
<HTML><HEAD><TITLE>Wrong</TITLE></HEAD><BODY><BGSOUND></BODY></HTML>

You have used the element named above in your document, but the document type you are using does not define an element of that name.
taitj
Is there a flash type background player? I would like on in the header bar of the site so that it plays with the option to change volume and mute. Thanks
taitj
It would be similar to this so that the site plays no matter where you are browsing on the website and it continues to play:

http://www.madonna.com/
Reply to topic    Frihost Forum Index -> Scripting -> Website Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.