Blog: Caption
Editing Multilingual Video Captions Using a CCK Field in Drupal
Improving the Workflow and Usability of Multilingual Video Subtitles
Improving the Workflow and Usability of Multilingual Video Subtitles
Last week I posted about adding multilingual subtitles to video content using JW FLV Media Player and Drupal. The workflow I described involves attaching a W3C Timed-Text XML file to a node using an upload form. It’s great for initial translations because you can take advantage of a desktop captioning tool, but what happens when you need to make small changes or corrections? We decided that requiring the user to download the file, edit it, and re-upload it was a major usability issue.
My solution is to parse the contents of the Timed-Text file into a CCK field so it can be manipulated directly on the node editing form. The uploaded file is parsed and the CCK field is populated right before your eyes using an AJAX callback, and the interface allows users to add additional lines of captions dynamically thanks to some logic borrowed from the Link module. Once the node is saved, the CCK field can be used with a custom views style plugin to display a fully formatted Timed-Text XML file.
You can watch what I did in this screencast:
