I had a problem with my caption file generation, but this seems to have exposed a problem with the caption-2 code. This excerpt caused a VERY strange display:
<?xml version=1.0 encoding="UTF-8" ?>
<tt xml:lang="en" xmlns="http://www.w3.org/2006/10/ttaf1" xmlns:tts="http://www.w3.org/2006/04/ttaf1#styling">
<body>
<div xml:id="captions">
<p xml:id="c392" begin="00:22:36.90" end="00:22:41.00"><span tts:fontStyle="italic"></span><br/>♪HAL...LE...LU...JAH♪</p>
</div>
</body>
</tt>
The player showed this caption text:
tts:fontStyle="italic" xmlns="http://www.w3.org/2006/10/ttaf1"
xmlns:tts="http://www.w3.org/2006/04/ttaf1#styling"/>
♪HAL...LE...LU...JAH♪Screen shot: http://www.levitt.com/misc/tmp/caption_error.png
It looks like the empty span caused the problem. I'm using the licensed version of the version 5.8 player on firefox on a Mac.
Also, is there any chance the captions plugin might support left/right positioning someday? This would help me emulate closed captions as shown on the TV.
Example:
<p begin="00:00:53.90" end="00:00:54.77" tts:textAlign="start">HELLO</p>
<p begin="00:00:54.77" end="00:00:56.07" tts:textAlign="end">WELCOME TO OUR SHOW.</p>Thanks!
This empty span is something we could cover for, but we've not had others with such an issue. You can simply remove that tag and all is fine, right?
Left / right alignment is definitely on the list, but not for short-term. We'll look at this as part of a larger update that includes WebVTT support:
http://developer.longtailvideo.com/trac/ticket/1422