jQuery accessible HTML5 video captioning plugin
Last month, I wrote an article on Accessible HTML5 Video with JavaScripted captions and dreamed that some clever JavaScripters would take it up and improve it, making it more generic so that a developer could mark up a transcript with timestamps, call in a library and -hey presto!- there would be captions.
Those nice chaps at 360innovate have started work on a jQuery plugin called jCaps.
As it’s all open licensed, if anyone fancies participating, it would be jolly. Here’s a wishlist that I’d love to see, and would write if I were not so scripting-challenged:
-
It would be useful to point to the transcriptions via the
aria-describedbyattribute on the video element, the values of which point to theidof an element containing the transcript (which could therefore be anarticle, adivor whatever). You can have multiple values onaria-describedby(like you can withclass) so that allows you to point to different translations.This allows you to have transcripts anywhere in the source, so greater flexibility for laying out the page.
-
If there are multiple transcripts for a single video, they need to have a
langattribute, and the script should construct aselectelement so the user can choose the language they wish to see transcripts in. (The first one offered should be the transcript that matches thelangattribute on thehtmlelement; if there isn’t one, the default should be the first in source order. -
I’d love to see a sexy (and stylable) skin around the
videoelement that had a YouTube-stylee user interface that houses all the buttons for turning on captions, transcripts and the language picker.
Anyone up for the challenge, and generous enough to release it as a BSD-licensed library/plug-in?
Note that this technique will have a limited shelf-life. The HTML Accessibility Working Group have two specifications that will enable captioning etc to be done natively once the spec is agreed and (of course) implemented.
See my related post: Some accessibility today or full accessibility jam tomorrow?
7 Responses to “ jQuery accessible HTML5 video captioning plugin ”
The dream of anyone being able to easily write captions to go with that Hitler Downfall YouTube video is so very close to fruition!
I have found an experiment here :
http://annodex.net/~silvia/itext/elephant_no_skin.html
(please excuse my English
)
[...] jCaps is nearing another release – hopefully this week. It will take into account some of Bruce Lawson’s wishlist, and includes a big refactoring of many elements of the plugin, including the API. It should be [...]
[...] sure how this is going to work”. But no one does. The closest thing I’ve found is a jQuery plugin that’s in the early [...]
Video players are nice specially if they are very compact in size. ‘
<a href="Our own online site
http://www.caramoantravel.com/caramoan-beach-resort/
“Those nice chaps at 360innovate have started work on a jQuery plugin called jCaps.”
Wait… I thought that plugins were eevil…?
jd/adobe