WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Alt text / alternate image on embed (of QuicktimeVideo)

for

From: Sarah Horton
Date: Apr 17, 2007 9:40AM


--- Sam wrote:
Is there a way to specify either "alt" text or serve an image (with
alt text of course) if a user has not downloaded whatever plugin is
required to view / listen / whatever?
--- end of quote ---

Hi, Sam,
There might be better ways to accomplish this, but here's what I usually do for Quicktime videos. I make a fallback movie (enclosed) and reference it using the "src" attribute, and then reference the video file using the "qtsrc" attribute. Here's the code - note that in this case I reference a SMIL file, but you can reference a movie directly:

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="410" height="440" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="fallback.mov" />
<param name="type" value="video/quicktime" />
<param name="qtsrc" value="mlk.smi" />
<param name="autoplay" value="true" />
<param name="controller" value="true" />
<param name="bgcolor" value="white" />
<embed src="fallback.mov" width="410" height="440" autoplay="true" controller="true" pluginspage="http://www.apple.com/quicktime/download/" qtsrc="mlk.smi" type="video/quicktime" bgcolor="white"></embed>
</object>

Here's a web site that uses this approach:

http://www.dartmouth.edu/~towardsfreedom/

I'd love to hear how others do this!

HTH,
Sarah

Sarah Horton
Academic Computing
Dartmouth College
Hanover, NH USA 03755
www.dartmouth.edu/~shorton