closed captioning books

[lastupdated]

Update: Although this method using JW Player still works, for AST users captioning someone else's YouTube videos has gotten a lot easier with our CaptionSync Smart Player.  Read more about this new tool on this page, besides every bit on our blog.  Details on how to utilise the CaptionSync Smart Player interactive transcript tool can be establish on our back up center.

We've had articles about this topic in our CaptionSync Support Center noesis base for quite awhile, but recently we had a asking from our friends at WebAIM to make a publicly bachelor post about the procedure that could be shared with people who don't have a CaptionSync business relationship. I think that'southward an excellent thought, and I have to apologize for not getting this posted sooner.

Captioning your own YouTube video is pretty straight-forward. But YouTube does non allow you lot to add a caption file if you lot are non the video owner. Fortunately, there is a work-around for this. JW Histrion provides a overnice way of adding captioning to any YouTube video. This tutorial shows yous exactly how to exercise this.

If yous are creating your own video content and publishing it on YouTube, information technology is relatively straightforward to add closed captions by uploading a caption file and associating it with the video. Simply YouTube does not allow you lot to add a explanation file if you are not the video owner. Fortunately JW Thespian from LongTail Video provides an like shooting fish in a barrel way to add captions to any YouTube video. This tutorial walks you through the steps required to display airtight captions for videos on YouTube, using JW Player and closed caption files in DFXP (sometimes referred to as TTML) format.

Requirements:

To use this method you need just 2 things: JW Role player version 6.0 or higher installed on a webserver, and explanation file(s) in either DFXP or SRT format, stored on the same webserver. Download and installation instructions for JW Histrion tin be found hither.

Embedding Videos with Closed Captions:

  1. Upload the caption file that y'all have created for the video to the aforementioned webserver where you installed JW Player. Yous may desire to have a separate subdirectory for all of your caption files.
  2. Create an embed code, that references your instance of JW Actor, the YouTube video that you lot have captioned, and the caption file.
  3. Save the embed code on a web page on your website or learning management organisation.

Here is an example:

<script type="text/javascript" src="                  http://uni.edu/jw/jwplayer.js                "> </script> <div id='mediaplayer'></div> <script type="text/javascript">   jwplayer('mediaplayer').setup({      width: 480,      height: 360,      controlbar: "bottom",      playlist: [{         captions:           [{file: "                  http://uni.edu/jw6/captions/nbc.dfxp.xml",                                                  label: "English language"}],         file:"                  http://www.youtube.com/sentinel?v=-spgUfGFTSY"                                }] }); </script>

The three portions highlighted in Assuming and Italic should be replaced with URLs specific to your installation and the particular video and caption file:

  • jwplayer.js: The URL to the jwplayer.js file, installed as office of your JW Player installation.
  • file: The first file parameter should be replaced with the URL to the caption file created for this video. The 2d file parameter should be replaced with the URL to the YouTube video. Note that the caption file should be on the same webserver equally the JW Actor files. If they are non, you will demand to use a crossdomain.xml file, as explained here on the Caption Plugin Reference Guide .

In one case you have JW Player upwardly and running on a webserver and your initial video displaying with captions, captioning other YouTube videos can exist achieved very simply by submitting the video to CaptionSync, uploading the caption file to your web server, and creating a new embed code with references to the YouTube video and the caption file.

If yous are doing a lot of these I can envision some extensions to this that would make the procedure easier for your users who are captioning these videos and using them in courses or on their own web pages:

  1. Y'all could create an upload form that allows an authenticated user to upload a caption file to your server.
  2. Users could paste in a YouTube URL, and whatever other desired parameters such as video width and elevation, and you lot could generate a formatted embed lawmaking like the instance above for them to paste into their page.