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 18:54:12 +0200
Message-ID: <002e01c4a57b$cbd04140$0200a8c0@iwars>
To: <w3c-wai-gl@w3.org>, <Becky_Gibson@notesdev.ibm.com>


----- Original Message ----- 
From: <Becky_Gibson@notesdev.ibm.com>
To: <w3c-wai-gl@w3.org>
Sent: Tuesday, September 28, 2004 6:27 PM
Subject: Re: [#1063] APPLET alt text and alternative content


Becky asks:
I can use the object tag to include  an applet in IE, Mozilla/Firefox,
and
Opera.  Have you found an object tag that will work in both browsers
with
Quicktime?
I can create an object tag that works in IE or works in Mozilla/Firefox
but I can't compose an object that works in both without using embed.
This solution works in IE, Mozilla/Firefox and Opera:
<object
data="http://www.student.oulu.fi/%7esairwas/object-test/video/test.mov"
type="video/quicktime" width="160" height="120"
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" >
<param name="src"
value="http://www.student.oulu.fi/%7esairwas/object-test/video/test.mov"
>
<embed
src="http://www.student.oulu.fi/%7esairwas/object-test/video/test.mov"
type="video/quicktime" width="160" height="120" alt ="Short Video of
goldfish swimming"> </embed></object>

Roberto Scano:
I've just end my book (in italian for now) and I've put a chapter about
Multimedia and integration of multimedia in web page using object.

The problem is that IE uses ClassID attribute but the "others" prefer to
have the "type" attribute, defined as MIME Type (in this case
"video/quicktime.").

For QuickTime I've found this solution:

<object id="QT" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="320" height="270">
    <param name="src" value="magpie2_demo.qt.smil" />
    <param name="autoplay" value="true" />
    <param name="controller" value="true" />

  <!--[if !IE]> <-->

    <object id="QT" data="magpie2_demo.qt.smil"
            type="video/quicktime" width="320"
            height="270">
       <param name="autoplay" value="-1" />
       <param name="controller" value="-1" />
    </object>

  <!--> <![endif]-->

</object>

Same can be done with MS Windows Media and with Real Player. Here an
example with Windows Media:

<object id="MP" width="320" height="240" classid="CLSID:
22D6F312-B0F6-11D0-94AB-0080C74C7E95">
   <param name="URL" value="spacetime.asx" />
   <param name="ShowCaptioning" value="-1" />

 <!--[if !IE]> <-->
   <object id="MP" type="application/x-mplayer2" width="320"
height="270">
      <param name="src" value="spacetime.asx" />
      <param name="showcontrols" value="-1" />
      <param name="ShowCaptioning" value="-1" />
   </object>
 <!--> <![endif]-->

</object>

If need more Info don't esitate to ask!

Roberto Scano
Received on Tuesday, 28 September 2004 16:54:24 UTC

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