W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > July to September 2004

Re: [#1063] APPLET alt text and alternative content

From: Roberto Scano - IWA/HWG <rscano@iwa-italy.org>
Date: Tue, 28 Sep 2004 19:11:57 +0200
Message-ID: <003e01c4a57e$44b4abd0$0200a8c0@iwars>
To: <w3c-wai-gl@w3.org>, <Becky_Gibson@notesdev.ibm.com>

A quick correction.
Windows Media example posted some minutes ago refer to version 6.x of
Windows Media, where captioning was used with:

<param name="ShowCaptioning" value="True" />

In version 9, instead, this option has been removed in favour of style
sheets. As you will see in the following example, there is a new param
called "captioningID" that contain a reference to the ID of a "div"
element that will contain the captioning and that will be filled and
customized by style sheets.
In a Microsoft document, this multimedia control option is available in
Netscape 4.7, 6.2 and 7.x (and in 6.2 and 7.x require Java 2 Runtime
Engine - J2RE version 1.3.x o newer).

<object id="MP" width="320" height="240"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<param name="URL" value="spacetime.asx" />
<param name="captioningID" value="cc" />
</object>
<script FOR="MP" EVENT="ScriptCommand(type, param)">
  if (type == "Text")
  {
    var cap = document.getElementById("cc");
    cap.innerHTML = param;
  }
</script>

<div id="cc">
</div>

With this code, MS IE will publish automatically the captioning inside
the <div> element and the script will made the same operation for
Netscape and other Jecko-Family browser.

I think that in techniques we need to involve people to use code "ready
for captioning".
Received on Tuesday, 28 September 2004 17:12:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:17:58 UTC