Create a closed caption file.

Closed Captioning is part of the ADA requirements for the UofL web site. To be in compliance with these requirements, you must either provide a transscript of your video or a closed caption file.

First determine the captions you want and the timing for each one.

  • Note the time that the first person speaks. This should be available from your player or editing software.
  • Note what they say.
  • Note the duration of the speaking in seconds. Give it enough time for a person to read the text if possible.
  • Continue doing this for each time a person is speaking (about content in the video).
  • once your list is compiled, create a text file (notepad, textedit).
  • Create the header section (just copy the following into your file)
<tt xml:lang="en">
<head>
<metadata/>
<styling/>
<layout/>
</head>
<body>
<div xml:lang="en">
  • For each caption, create an entry like this:
<p xml:id="subtitle1" begin="00:00:00.05" dur="05.00">
Subtitle 1 goes until 5 seconds
</p>
  • This is the breakdown of the entry tag.
    • <p is the actual tag
    • xml:id="subtitle1" is the unique identifier for the subtitle for the system.
    • begin="00:00:00.05" is the begin time for the caption (usually when the person starts talking)
    • dur="05.00" is the number of seconds to show the caption.
    • > closes the tag so you can enter the caption.
    • Subtitle 1 goes until 5 seconds Is the actual caption that will display on the video.
    • </p> is the closing tag that tells the browser "this is the end of this caption"
  • create the file footer after all the captions have been entered. Just copy the following into your file.
 </div>
</body>
</tt>
  • Your file should look like this:
<tt xml:lang="en">
<head>
<metadata/>
<styling/>
<layout/>
</head>
<body>
<div xml:lang="en">
<p xml:id="subtitle1" begin="00:00:00.05" dur="05.00">
Subtitle 1 goes until 5 seconds
</p>
<p xml:id="subtitle2" begin="00:00:06.10" dur="05.00">
Subtitle 2 goes until 10 seconds
</p>
<p xml:id="subtitle3" begin="00:00:11.10" dur="05.00">
Subtitle 3 goes until 16 seconds
</p>
<p xml:id="subtitle4" begin="00:00:16.10" dur="13.00">
Subtitle 4 goes until the end
</p>
</div>
</body>
</tt>
  • Save your file with a .xml extension on the end.
  • Upload your file to somewhere on plone and remove it from navigation (so it does not appear in your navigation bar).
  •  

    Follow the how to on adding video to your site.