> I would use Flash to play the audio and provide an alternative link to
> the sound file as alternative content

Yes, I agree. Flash is extremely versatile with handling audio files -
and if you have even just a little experience with Flash, you can
easily export a SWF file with an MP3 embedded.

The issues that come up are:

1) making the reference to the SWF file, in HTML, standards compliant. 
2) the actual file size of the music file - which, in turn, makes the
exported SWF file just as large.

I'm sure there are more issues I'm not aware of.

But, all in all, if I were doing the same thing - I'd start with
Flash, and work up from there, instead of trying to embed it like you
had in the first example.

MATTHOM



On 5/17/05, sam sherlock <[EMAIL PROTECTED]> wrote:
> I would use Flash to play the audio and provide an alternative link to
> the sound file as alternative content
> 
> thanks >> SS
> 
> Stevio wrote:
> 
> > I have a sound file that my client wants me to put on his web site. It
> > is a radio advert that they currently have running.
> >
> > The format of the file is m4a (mp4). I have used a program that
> > converts it to mp3 or other formats if required.
> >
> > What is the best way to go about including it on a web page, and
> > keeping it standards compliant (to at least HTML 4.01 Transitional)?
> > Including sound files is not something I often do, you'll be glad to
> > know. I will also NOT be setting it to start playing itself, it will
> > be up to the user!
> >
> > Should I keep it in the m4a format or use mp3 or use something else?
> >
> > I got it working with the following code:
> > <object width="160" height="16"
> > classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
> > codebase="http://www.apple.com/qtactivex/qtplugin.cab";>
> > <param name="src" value="media/advert.mp4">
> > <param name="autoplay" value="false">
> > <param name="controller" value="true">
> > <embed src="media/advert.mp4" width="160" height="16" autoplay="false"
> > controller="false"
> > pluginspage="http://www.apple.com/quicktime/download/";>
> > </object>
> >
> > However, it doesn't work in Firefox. I need something that will work
> > in different browsers and different platforms.
> >
> > Does anyone know the best way to do this?
> >
> > Thanks,
> > Stephen
> >
> >
> 
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 
>
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to