Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: music help  (Read 17202 times)

0 Members and 1 Guest are viewing this topic.

nymph4

    Topic Starter


    Specialist

    music help
    « on: April 25, 2010, 08:31:26 PM »
    If I put a spound file on a web page that is
    386 kB in size is this to big for a background sound to play??
    It is an MP3

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: music help
    « Reply #1 on: April 25, 2010, 08:48:16 PM »
    Yes. Much to big for a background sound.
    Make a very short sample. The add a link so that the user can click to hear the whole thing. If she wants to.

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: music help
    « Reply #2 on: April 26, 2010, 02:19:39 AM »
    a better solution is to not have background sound at all.

    Besides, I don't think MP3 can even be used as a background sound.
    I was trying to dereference Null Pointers before it was cool.

    nymph4

      Topic Starter


      Specialist

      Re: music help
      « Reply #3 on: April 26, 2010, 11:29:42 AM »
      What file format can be used  WAV   and what??

      nymph4

        Topic Starter


        Specialist

        Re: music help
        « Reply #4 on: April 26, 2010, 09:25:00 PM »
        A lot of people have  Flash or Shockwave in there web browsers.

        Can I code an  MP3  file to auto play in a web page  for that player????????????

        Almost everything you need Flash or Sockwave for on the net  so if I can code my sound file to  use them to play it it will be able to.

        My MP3 file for background sound will be 5 SEC.

        Quantos



          Guru
        • Veni, Vidi, Vici
        • Thanked: 170
          • Yes
          • Yes
        • Computer: Specs
        • Experience: Guru
        • OS: Linux variant
        Re: music help
        « Reply #5 on: April 27, 2010, 12:30:04 AM »
        a better solution is to not have background sound at all.

        Besides, I don't think MP3 can even be used as a background sound.
        It can, I did it once on an old site I had.  If I remember correctly I had to embed a player in the page though.  It took a crap load of tweaking to get it to load anywhere near quickly, and finally had to go with a really low bitrate recording.  It was so terrible that I yanked it pretty quickly.
        Evil is an exact science.

        soybean



          Genius
        • The first soybean ever to learn the computer.
        • Thanked: 469
        • Computer: Specs
        • Experience: Experienced
        • OS: Windows 10
        Re: music help
        « Reply #6 on: April 27, 2010, 06:22:32 AM »
        What file format can be used  WAV   and what??
        MID is the format normally used for sound embedded in a web page.  Here's a good reference: http://www.webreference.com/js/column20/embed.html and it has sound embedded in it.

        Note: Firefox and Chrome would not play the background sound for me; they displayed a popup saying "Your browser can not play sound".  Only IE worked and it prompted me to allow the Windows Media Player plug-on to run. 

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: music help
        « Reply #7 on: April 27, 2010, 06:41:02 AM »
        the <embed> element has not, nor has it ever been, a standard HTML element; as evidenced by it's non-support  in msot every browser aside IE.

        http://www.w3schools.com/media/media_browsersounds.asp

        I was trying to dereference Null Pointers before it was cool.

        soybean



          Genius
        • The first soybean ever to learn the computer.
        • Thanked: 469
        • Computer: Specs
        • Experience: Experienced
        • OS: Windows 10
        Re: music help
        « Reply #8 on: April 27, 2010, 06:58:23 AM »
        the <embed> element has not, nor has it ever been, a standard HTML element;

        It's covered in many books on HTML and online HTML references.  So, I have to say it is a standard HTML element.  It's just not supported by some browsers, which is a compelling reason not to use it.

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: music help
        « Reply #9 on: April 27, 2010, 07:15:13 AM »
        It's covered in many books on HTML and online HTML references.  So, I have to say it is a standard HTML element. 

        I'm afraid that doesn't add it to the standard.

        HTML4 tags:

        http://www.w3.org/TR/REC-html40/index/elements.html

        the embed tag was first used by Netscape Navigator. IE added it for compatibility with it.

        Note that with IE8 it barely works at all- requires clicking through several prompts, and refuses to play until the user clicks play in the player.

        EMBED is <only> supported by IE and browsers based on it. it is not a standard.

        Also, that page is outdated anyway:

        Quote
        Created: May 31, 1998
        Revised: May 31, 1998


        Would you be able to use a Windows book from 1998 to work with windows 7?
        I was trying to dereference Null Pointers before it was cool.

        soybean



          Genius
        • The first soybean ever to learn the computer.
        • Thanked: 469
        • Computer: Specs
        • Experience: Experienced
        • OS: Windows 10
        Re: music help
        « Reply #10 on: April 27, 2010, 07:42:27 AM »
        Would you be able to use a Windows book from 1998 to work with windows 7?
        Of course not.  I did not notice the date.

        Quote
        I'm afraid that doesn't add it to the standard.
        Then, what does?  The book I'm looking at was used in a web design class at a local college.  It's copyright date is 2007, which was a revision of previous editions.  So, it's not the most current but not really very old, either; of course, all browsers have gone through multiple version updates since then. The book even says <embed> "currently remains well supported by all the popular browsers."  However, the book also says, "Today's standard is the <object> tag with the data attribute, and we recommend that you use it in lieu of <embed>."

        Quantos



          Guru
        • Veni, Vidi, Vici
        • Thanked: 170
          • Yes
          • Yes
        • Computer: Specs
        • Experience: Guru
        • OS: Linux variant
        Re: music help
        « Reply #11 on: April 27, 2010, 07:57:20 AM »
        Would you be able to use a Windows book from 1998 to work with windows 7?
        You mean for something useful right :)
        Evil is an exact science.

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: music help
        « Reply #12 on: April 27, 2010, 08:32:50 AM »
        The confusion here is that you're thinking of "De facto" standards, whereas I'm referring to De Jeure Standards.
        I was trying to dereference Null Pointers before it was cool.

        kpac

        • Web moderator
        • Moderator


        • Hacker

        • kpac®
        • Thanked: 184
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 7
        Re: music help
        « Reply #13 on: April 27, 2010, 10:57:56 AM »
        Quote
        Then, what does?
        The W3C decides, with the help of many HTML groups on the Web.

        nymph4

          Topic Starter


          Specialist

          Re: music help
          « Reply #14 on: April 27, 2010, 12:42:51 PM »
          This is what I ment.
          A lot of people have  Media Player   Real Player  Winamp   and many many more.

          And wen you have a Midi File on a web page as background sound  there player plays it.

          So why would it not work if I encode MP3 file?????????