ja****@eudoramail.com wrote:
Does anybody know how to modify the following so that it does a random
play from the .rpm file?
<embed SRC="http://your-url.rpm"
<embed> is a proprietary, non-standard element that should not be used.
You should use <object> instead.
type="audio/x-pn-realaudio-plugin" CONTROLS="Control" AUTOSTART="true"
Don't try to start playing the audio without the users permission. The
user should have to take some action, such as clicking a play button,
for example.
LOOP="true" VOLUME=100% WIDTH=400 HEIGHT=100 CONSOLE="MYCONSOLE"><!--
It's also rude to make the track play over and over again. It would get
irritating hafter a while, though it does appear you've attempted to
provide controls, using the control attribute and/or the console
attribute. I have no idea what those attributes are supposed to do (I
can only guess), since they are undefined in any HTML recommendation.
You also have no right to attempt to alter my volume, I set it where I
want it.
This is the standards compliant way of including an audio file, though I
have not tested it to see which browsers will support it.
<object type="audio/x-pn-realaudio-plugin" data="http://your-url.rpm"
height="100" width="400">
<p>Don't forget to write some alternate content here for users that
don't support that format. It should serve the same purpose, not
describe the track in detail.</p>
<p>If it's purely presentational, as a background sound (as it
appears, since you've tried to set it to loop continuously), then
I don't recommend you include the audio at all.</p>
</object>
--
Lachlan Hunt
http://lachy.id.au/ http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web