Click to See Complete Forum and Search --> : adding sound to a page when it is being loaded


neenach2002
05-29-2003, 01:45 PM
how do i add music to a page when it loads and how do i get it to repeat the music when he music is finished???

Nevermore
05-29-2003, 03:11 PM
<embed src="musicfile.wav" autostart=true hidden=true repeat=true>

neenach2002
05-30-2003, 08:49 PM
what if my file is not a wav file???

Jona
05-30-2003, 09:35 PM
What type of file is it? You can use .wav, .mp3, .mid, .midi...

Jona

Nevermore
05-31-2003, 03:48 AM
As long as the browser will recognise it as a music file, it should work.

neenach2002
06-06-2003, 08:12 PM
ok...can i load it from another website???

neenach2002
06-06-2003, 08:26 PM
oh, does that go in the body or head???

neenach2002
06-06-2003, 08:27 PM
noooooooooooooooooo...
it won't work on msn networks pages...
is there any other way???

Jona
06-06-2003, 10:58 PM
It goes in the body tag, and it only works if the server you are linking do does not have hotlinking protection (allows anyone to access their files from multiple or different domains).

Jona

neenach2002
06-07-2003, 01:23 PM
there is NO BODY TAG on pages in MSN networks!!!

Nevermore
06-07-2003, 01:49 PM
All HTML pages have a body tag, unless they are frameset pages. If it is a frameset, put the code in a body tag in a frame.

khaki
06-07-2003, 02:00 PM
Originally posted by neenach2002
there is NO BODY TAG on pages in MSN networks!!! neen....

do you mean that you are still having <body> tag issues?!

what happened to your HTML book?

there is a pattern developing around your web development..
and unfortnately it points to you.

and just out of curiosity...
what is "MSN networks" pages?

you should be writing "web pages"... which are structurally all the same.

uh-oh... maybe it's time to re-read chapter 1 again :rolleyes:
;)

fun'in wit ya...
;) k

neenach2002
06-07-2003, 10:26 PM
but...
on msn when i type <html> at the beginning, it shows up in the page!!!

brendandonhue
06-07-2003, 10:42 PM
Then you are not creating it as an HTML file.
HTML only runs in an HTML file.

neenach2002
06-08-2003, 02:37 PM
oh...i just realized that msnw appears at end of page, i.e.
http://groups.msn.com/darktepleofkaiba/welcome.msnw

brendandonhue
06-08-2003, 02:41 PM
Your link doesn't work.

But you are not creating HTML pages. It sounds like you are just typing HTML code into a message board. You do not have control over the HTML code in the MSN Groups pages.

neenach2002
06-08-2003, 02:58 PM
the link wasn't supposed to work, it was an example of what a page on msn would have at the end of it...and BTW, there is an option to 'Edit your page using HTML" iw ould think that HTML coding would work...

neenach2002
06-08-2003, 03:00 PM
also, the correct URL for the link is...
http://groups.msn.com/darktempleofkaiba/welcome.msnw

neenach2002
06-09-2003, 12:08 PM
how do i make a button that would allow me to play sound when it is clicked???