I did the same: I posted .swf and captions-2.js (plugin) on my local server, which is configured using Eclipse.
My sample code is:
<script type="text/javascript"> jwplayer("mediaplayer").setup({ flashplayer: "player.swf", file: "video.mp4", plugins: { 'http://localhost:8080/myvideo/captions-2.js': { file: "/assets/captions.srt" } } }); </script>
In addition, I used HTTPFOX to verify the content returned from the request.
Everything worked fine, but the closed signature did not work. I think captions.file not installed.
source share