W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2002

accessible sound on event using object?

From: jonathan chetwynd <j.chetwynd@btinternet.com>
Date: Thu, 3 Oct 2002 23:25:58 +0100
Message-ID: <003f01c26b2b$da6038a0$0201a8c0@RJCHETWYND>
To: "WAI List \(E-mail\)" <w3c-wai-ig@w3.org>
Is there a default way of playing a sound on event, using object, that will validate?

The following snippet* would probably validate, however there remains a serious flaw.

Player.controls.play() relies on a valid classid, and once again one is chasing supposedly installed plugins. (this only works for windows media player 7 on a pc)

whereas mozilla 2002092708, icab 2.8 for mac and ie5.2 for mac ONLY play the autostart sound (not surprisingly.)





<OBJECT ID="Player"
    height="0" width="0">
  <PARAM name="URL" value="games.wav">
  <PARAM name="autoStart" value="False">

<object id="mynewSound" data="games.wav" type="audio/wav" width="" height="" > //mac ie + Moz
<param name="src" value="games.wav" /> //pc ie but does not work for pc moz
<param name="autostart" value="true">

<a onmouseover="javascript:Player.controls.play();">
<img src="tiger.png" alt="tiger" title="tiger" /></a>

Received on Thursday, 3 October 2002 18:27:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:20 UTC