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

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