Forum Moderators: open
In any case, I want to embed a 10 second WAV file to the homepage, but think there must be an easy way to get the clip to loop either through html, dhtml or javascript.
If not, I'm thinking to create a Flash embed but I'm kind of a newbie at it and not sure what problems can be encountered (for instance, for those without the Flash component)or exactly how to embed it into the page.
Any feedback would be greatly appreciated:-)
For all the nast details, check out this page [webreference.com] on webreference.com.
<CENTER>
<EMBED SRC="images/filename.mid" controls="smallconsole"
AUTOSTART=TRUE LOOP=TRUE WIDTH=140 HEIGHT=15 VOLUME=7>
<NOEMBED>
<BGSOUND SRC="images/filename.mid">
</NOEMBED>
</CENTER>
This causes the unsightly little player to show on the page, but gives the surfer the option to turn the sound off. If the dimensions are not included it won't show, but there's then no way to turn the sound off.
It does play with a different volume on the two browsers and there are a couple of other variables possible in the code but I don't remember them.
Hey BoneHeadicus,
I've been thinking along your lines as the best way to do this. Wondering...would you say users without the Flash plug-in are an extreme minority at this point? It's the only concern I have about setting up a Flash file instead. Also, since I haven't tried it, once the file is made, how is it published and/or embedded within the homepage (or any existing page in the site)? I use Front Page for the site, can it be put in as a page include bot?
I've got Dreamweaver on the machine here. Haven't even started it up yet with all the things I've had my fingers into lately, but think I need to do it here real soon.
Thanks for all the help. Hopefully I can return the favor sometime:-)
WebSnapshot [websnapshot.mycomputer.com] reports about 83% of users have the Flash plug-in. It's been included with both major browsers for well over a year.
I think I remember reading somewhere from MacroMedia a claim of 98% market penetration, but of course, they're a bit biased!