fluid-project/videoPlayer — pull request #69 by michelled (2012-10-02 20:31:43+00:00)
Title: Fluid 4701

@colinbdclark here's a pull request that switches to using our new fork of Captionator that supports a data url containing captions.

I changed our captions format to use "text/amarajson" as the type when we are specifying that we want to use captions from Amara. Do you think this is reasonable?

In the "fetchAmaraJson" function I've hard coded an URL to Amara. I'm not convinced it's the right decision but it seemed dangerous to make the URL configurable since we are implicitly trusting the returned data.