I seem to be having some difficulty in getting captions to work properly with BOTR.
I'm following the instructions listed here: http://www.longtailvideo.com/support/bits-on-the-run/15987/add-custom-flashvars-to-the-player
I'm using the following page as a test case: http://www.derekhardwick.com/junk/longtail2.html
<script type="text/javascript" src="http://content.bitsontherun.com/players/r18NlbhA-6oe8c8Eb.js"></script>
<script type="text/javascript">
botr_r18NlbhA_6oe8c8Eb.addVariable("plugins","captions");
botr_r18NlbhA_6oe8c8Eb.addVariable("captions.file","http://www.derekhardwick.com/junk/Auction_Animation.srt");
botr_r18NlbhA_6oe8c8Eb.addVariable("captions.back","true");
</script>As you can see I've defined the captions plugin (which loads), I've specified the captions file (which doesn't load), and given the captions a box with captions.back.
Using "captions" or "captions-2" makes no difference, neither does using a relative path or a full URL for the file location. I'm kind of stuck...
The end goal is to define the subtitle files not in the page itself, but in the "Custom Properties" of the video.
Any help is greatly appreciated, If I can get this working you'll almost certainly have a new BOTR customer shortly!
Thanks,
-Derek
You're probably running into crossdomain security issues; you will need to have a crossdomain.xml file in the root of your website to be able to load captions.
The exact details are explained here: http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541/crossdomain-file-loading...
You might be interested to know that we're planning to add captions support in the dashboard in a future release (no exact time frame yet).