1.

Solve : music help?

Answer»

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 MP3Yes. 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.
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.What file format can be used  WAV   and what??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. Quote from: BC_Programmer 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.
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. Quote from: nymph4 on April 26, 2010, 11:29:42 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.  the 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

Quote from: BC_Programmer on April 27, 2010, 06:41:02 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. Quote from: soybean on April 27, 2010, 06:58:23 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 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? Quote from: BC_Programmer on April 27, 2010, 07:15:13 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 "currently remains well supported by all the popular browsers."  However, the book also says, "Today's standard is the tag with the data attribute, and we recommend that you use it in lieu of ." Quote from: BC_Programmer on April 27, 2010, 07:15:13 AM
Would you be able to use a Windows book from 1998 to work with windows 7?
You mean for something useful right The confusion here is that you're thinking of "De facto" standards, whereas I'm referring to De Jeure Standards. Quote
Then, what does?
The W3C decides, with the help of many HTML groups on the Web.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???


Discussion

No Comment Found