Thread: Playing music files on web pages
Results 16 to 21 of 21
04-28-2001, 09:06 AM #16
04-28-2001, 12:53 PM #17
I have internet explorer, and it works for me (<embed> ), maybe it's only 5.0 though.
04-30-2001, 02:53 AM #18
<embed> is not IE specific. You really do not need to add the bgsound tag at all. This is from http://www.htmlib.com
The <EMBED> element allows authors to embed objects directly into an HTML page
The basic syntax is:
where "_URL_" represents the URL of the object that is to be embedded. See below for a description of the <NOEMBED> element.
The <EMBED> element will allow you to embed documents, or objects of any type. Your user only needs to have an application which can view the data installed correctly on their machine, or have a plug-in (for Netscape and Internet Explorer) that can manipulate the embedded file format.
The <EMBED> element can be used more or less the same as the <IMG> element and so accepts typical image embedding attributes such as ALIGN, ALT, BORDER, WIDTH, HEIGHT, HSPACE, VSPACE and NAME (for referencing the embedded object in a script function). Note that multiple <EMBED> elements can be grouped together with the same NAME attribute value, to provide multiple separate controls for a single embedded sound file).
Plug-ins Netscape plug-ins make use of the <EMBED> element. Essentially, plug-ins are dynamic code modules which are associated with a MIME data type that the Netscape client has no native support for. When Netscape encounters an unknown data type from a server, it will search for a plug-in that is associated with that MIME type and load it, enabling viewing/transforming of the data object. There are many attributes to the <EMBED> element that are plug-in specific (for these, see the relevant plug-in documentation), but as well as the attributes above, the <EMBED> element accepts the following attributes as standard across all embedded data types.
As Quiet Dean says:
I tell ya, I will have 'Only works in Internet Explorer' on my gravestone...
04-30-2001, 06:41 PM #19
Wow, that's a load of information. Thank you all very much. now I gotta do some research on what I like best ^_^
04-28-2002, 10:34 PM #20
Another one that works on both I.E. and netscape is just putting a link to it. Like <a href="*.mid">music</a>
that way it just opens up something like Windows Media Player from the visitors computer and plays it.
04-28-2002, 10:56 PM #21
lol this is an OLD thread it seams like my name hasn't been 'allstarr' forever