www.webdeveloper.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 19

Thread: adding sound to a page when it is being loaded

  1. #1
    Join Date
    Apr 2003
    Location
    Canyon Country, CA
    Posts
    734

    adding sound to a page when it is being loaded

    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???
    Owner of:
    SOAnime.com
    Support staff at: AgileCo

  2. #2
    Join Date
    Feb 2003
    Location
    Britain
    Posts
    1,335
    <embed src="musicfile.wav" autostart=true hidden=true repeat=true>

  3. #3
    Join Date
    Apr 2003
    Location
    Canyon Country, CA
    Posts
    734
    what if my file is not a wav file???
    Owner of:
    SOAnime.com
    Support staff at: AgileCo

  4. #4
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    What type of file is it? You can use .wav, .mp3, .mid, .midi...

    Jona
    Visit Slightly Remarkable to see my portfolio, resumé, and consulting rates.

  5. #5
    Join Date
    Feb 2003
    Location
    Britain
    Posts
    1,335
    As long as the browser will recognise it as a music file, it should work.

  6. #6
    Join Date
    Apr 2003
    Location
    Canyon Country, CA
    Posts
    734
    ok...can i load it from another website???
    Owner of:
    SOAnime.com
    Support staff at: AgileCo

  7. #7
    Join Date
    Apr 2003
    Location
    Canyon Country, CA
    Posts
    734
    oh, does that go in the body or head???
    Owner of:
    SOAnime.com
    Support staff at: AgileCo

  8. #8
    Join Date
    Apr 2003
    Location
    Canyon Country, CA
    Posts
    734
    noooooooooooooooooo...
    it won't work on msn networks pages...
    is there any other way???
    Owner of:
    SOAnime.com
    Support staff at: AgileCo

  9. #9
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    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
    Visit Slightly Remarkable to see my portfolio, resumé, and consulting rates.

  10. #10
    Join Date
    Apr 2003
    Location
    Canyon Country, CA
    Posts
    734
    there is NO BODY TAG on pages in MSN networks!!!
    Owner of:
    SOAnime.com
    Support staff at: AgileCo

  11. #11
    Join Date
    Feb 2003
    Location
    Britain
    Posts
    1,335
    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.

  12. #12
    Join Date
    Jan 2003
    Location
    Jersey Girl
    Posts
    1,198
    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


    fun'in wit ya...
    k

  13. #13
    Join Date
    Apr 2003
    Location
    Canyon Country, CA
    Posts
    734
    but...
    on msn when i type <html> at the beginning, it shows up in the page!!!
    Owner of:
    SOAnime.com
    Support staff at: AgileCo

  14. #14
    Join Date
    May 2003
    Posts
    550
    Then you are not creating it as an HTML file.
    HTML only runs in an HTML file.

  15. #15
    Join Date
    Apr 2003
    Location
    Canyon Country, CA
    Posts
    734
    oh...i just realized that msnw appears at end of page, i.e.
    http://groups.msn.com/darktepleofkaiba/welcome.msnw
    Owner of:
    SOAnime.com
    Support staff at: AgileCo

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles