Computer: a device designed to speed and automate errors.

How accessible are embedded movies?

Filed under: Accessibility

Today I have been wrestling with embedding a movie into a web page. To try and ensure cross browser, and cross platform, usability I have had to use the <embed> inside an <object> On an XHTML 1.0 Strict site, this was a fairly major decision, and was only taken after careful consideration of all the alternatives.

I ended up using the following code:

<p>
<a href="sample.mpg">Download movie via a link</a>
</p>
<object id="mediaPlayer" height="284" width="320"
type="application/x-oleobject"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
codebase="http://activex.microsoft.com/activex/controls/
mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows Media Player components...">
  <param name="fileName" value="sample.mpg" />
  <param name="animationatStart" value="true" />
  <param name="transparentatStart" value="true" />
  <param name="autoStart" value="true" />
  <param name="showControls" value="true" />
   <embed height="284" width="320" align="left"
   src="sample.mpg" autoplay="true" controller="true">
   </embed>
</object>

Although there may be other methods available, to ensure the cross browser and cross platform usability I was trying to achieve, this seemed the best method. Although I could have gone straight for a simple <embed> it seemed wise to at least try and use the <object>

It should be noted that Safari on the Mac does not show any alternative text, yet Firefox on the PC showed not just the <embed> movie, but the alternative text as well. So again I had to remove that, against my better instincts.

But just how accessible are movies when embedded in a page? Likewise, how accessible are the media players themselves? On trying to tab to the embedded movie I realised that it was inaccessible. Even the so called keyboard commands that Windows Media Player say are usable did not work.

WAI guidelines also state that captioning should be used, but when the player itself is inaccessible…?

I would be interested to hear if anyone has found a standards compliant, cross browser cross platform method of embedding a movie. Also if anyone is aware of any user testing in this area.

This article first appeared on permanent tangent.

Published: July 1st 2005

2 Comments

  1. Mick

    We are currently doing a similar thing. Did you ever get any answers on this?

    Cheers,

    Mick. Newcastle Australia.

  2. Black Widow

    Not directly, no. When discussing the issue with other accessible web design colleagues, the conclusion reached was that no one method could be described as ‘ideal’. They all have their drawbacks.

    I know that Joe Clarke is currently trying to get a video captioning project off the ground. Whilst the embedding technique won’t be the primary focus of his attention, it may be that something useful will come out of that.