On Sun, 2008-09-21 at 11:26 -0400, tedd wrote: > At 4:11 PM +0100 9/21/08, Ashley Sheridan wrote: > >On Sun, 2008-09-21 at 10:02 -0400, tedd wrote: > >> At 2:24 PM +0100 9/21/08, Ashley Sheridan wrote: > >> > > >> >The bgsound tag is not in HTML 4 or XHTML 1 specifications, and I > >> >wouldn't recommend its use, ever. > >> > >> > >> I didn't say it was, nor did I recommend it -- I only pointed out the > >> embed tag was for Netscape and bgsound tag was used for other > >> browsers. > >> > >> >Like I've said before on this thread, > >> >the way to do this is with an embed tag inside an object tag, pretty > >> >much the same way you'd do it for a Flash movie. > >> > >> With that I agree as I have done here: > >> > >> http://webbytedd.com/aa/assorted-captcha/ > >> > >> The audio CAPTCHA delivers the mp3 file that's assembled in the background. > >> > >> Cheers, > >> > >> tedd > >> -- > >> ------- > >> http://sperling.com http://ancientstones.com http://earthstones.com > >> > >But your audio is delivered through Flash, which adds another layer > >where things can go wrong. Playing a background sound shouldn't require > >a specific plugin to work, it should be possible to make it play with > >the generic audio plugin that the browser has access to. Based on hits > >to my own site, about 30% are made by browsers that do not have the > >Flash plugin or have it disabled. Now, this may be thrown out a little > >by people visiting with Chrome, as I've yet to test my tracker there, > >but it's still quite a high figure. I think you would be hard pressed to > >find any browser without a plugin to play an mp3 file. > > Okay. > > On one hand, I say that using <embed> and <bgsound> can deliver mp3 > files, as shown here: > > http://sperling.com/examples/captcha/ > > -- and it does work. > > On the other hand, I say that I can deliver mp3 sound files via Flash > as shown here: > > http://webbytedd.com/aa/assorted-captcha/ > > -- and it does work. > > But, you find fault with both. > > So, what and where's your example? > > Cheers, > > tedd > > > -- > ------- > http://sperling.com http://ancientstones.com http://earthstones.com > This is now going to be a double post, but here it is: <object id="mediaplayer1" width="120" height="40" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"> <param value="sound.mp3" name="Filename"/> <param value="False" name="AutoStart"/> <param value="True" name="ShowControls"/> <param value="False" name="ShowStatusBar"/> <param value="False" name="ShowDisplay"/> <param value="True" name="AutoRewind"/> <embed width="120" height="40" autorewind="1" showdisplay="0" showstatusbar="0" showcontrols="1" autostart="0" src="sound.mp3" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" type="application/x-mplayer2"/> </object> This does make use of the embed tag, but in a way that will not be used by browsers that can understand the object tag. It won't validate with the W3C validators, but it will work. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php