sound on/off code

Discussion in 'HTML' started by ross, Feb 19, 2004.

  1. ross

    ross Guest

    I have been using this code for several years on my sites and now the darn
    thing is not working both in my computer and on the host server. I would
    appreciate any suggestions. Thank you, I appreciate this newsgroup.
    Dick Ross www.rosmd.com

    <br><embed src="welcome0426.wav" controls="smallconsole" autostart="true"
    loop="false" width="48" height="25" volume="45">"On/Off/Replay
    <font color="#FFFF80" SIZE="-1"><br>




    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
    ross, Feb 19, 2004
    #1
    1. Advertising

  2. ross <> wrote:
    > <br><embed src="welcome0426.wav" controls="smallconsole"
    > autostart="true" loop="false" width="48" height="25"
    > volume="45">"On/Off/Replay <font color="#FFFF80" SIZE="-1"><br>


    (1) <embed> isn't HTML or XHTML.
    (2) <font> is deprecated in HTML 4.01
    (3) Trying to play music automatically is annoying. Just try:
    <p>You can listen to my <a href="welcome0426.wav"
    type="audio/x-wav">music</a> (it's a 200kb WAV).</p>

    --
    Michael Wilcox
    mjwilco at yahoo dot com
    Essential Tools for the Web Developer - http://mikewilcox.t35.com
    Michael Wilcox, Feb 19, 2004
    #2
    1. Advertising

  3. ross

    ross Guest

    Thank you for your reply. I always have tried to have an on/off on the
    sounds. Can you help me with using a .mid file, also? I tried to substitute
    the .mid to no avail. I appreciate this newsgroup. Dick Ross


    "Michael Wilcox" <> wrote in message
    news:nX9Zb.11419$...
    > ross <> wrote:
    > > <br><embed src="welcome0426.wav" controls="smallconsole"
    > > autostart="true" loop="false" width="48" height="25"
    > > volume="45">"On/Off/Replay <font color="#FFFF80" SIZE="-1"><br>

    >
    > (1) <embed> isn't HTML or XHTML.
    > (2) <font> is deprecated in HTML 4.01
    > (3) Trying to play music automatically is annoying. Just try:
    > <p>You can listen to my <a href="welcome0426.wav"
    > type="audio/x-wav">music</a> (it's a 200kb WAV).</p>
    >
    > --
    > Michael Wilcox
    > mjwilco at yahoo dot com
    > Essential Tools for the Web Developer - http://mikewilcox.t35.com
    >
    >





    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
    ross, Feb 20, 2004
    #3
  4. ross <> wrote:
    > Thank you for your reply. I always have tried to have an on/off on the
    > sounds. Can you help me with using a .mid file, also? I tried to
    > substitute the .mid to no avail. I appreciate this newsgroup. Dick
    > Ross


    Well, I can't help you with embed tags, like I said, but the paragraph with
    link for an MID would be:

    <p>You can listen to my <a href="welcome0426.mid"
    type="audio/x-midi">music</a> (it's a 200kb MID).</p>
    --
    Michael Wilcox
    mjwilco at yahoo dot com
    Essential Tools for the Web Developer - http://mikewilcox.t35.com
    Michael Wilcox, Feb 20, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luc The Perverse

    Sound Quality In Sound API

    Luc The Perverse, Oct 30, 2005, in forum: Java
    Replies:
    4
    Views:
    1,471
    Andrew Thompson
    Oct 31, 2005
  2. Steve
    Replies:
    0
    Views:
    441
    Steve
    Jan 31, 2006
  3. Replies:
    0
    Views:
    495
  4. Phper
    Replies:
    4
    Views:
    145
    Thomas 'PointedEars' Lahn
    Oct 18, 2009
  5. Fokke Nauta

    Sound on/off button does not work

    Fokke Nauta, Dec 7, 2011, in forum: Javascript
    Replies:
    11
    Views:
    1,245
    Fokke Nauta
    Dec 10, 2011
Loading...

Share This Page