Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Closed Caption text not displaying in flash player

5 replies [Last post]

Happy Christmas to everyone...

I wanted to get some help with the CC Plugin. It seems not to be working or displaying any of the caption information. We're using version 4.2 along with the embed tags. We did make minor changes to the source code to include a username as token to pass to our media server.

Here's the flashvar "flashvars="captions=35000_1.xml&file=34000.flv&plugins=accessibility-1&streamer=rtmp://localhost/vodstream&username=myusername@someplace.com".

The player is displaying the video and the token is being passed to the media server, but the closed caption information is not displaying.

Below is the closed caption test text we're using.
<tt xmlns="http://www.w3.org/2006/10/ttaf1">
<body>
<div xml:id="captions">
<p begin="00:08" end="00:10">- Nothing is going on.</p>
<p begin="00:10" end="00:12.5">You liar!</p>
<p begin="00:13" end="00:15">Are you?</p>
<p begin="00:17" end="00:20">Violet, please!<br/>- I am not your babe!</p>
<p begin="00:24" end="00:29">You stupid cow,<br/>look what you gone and done now, ay.</p>
<p begin="00:34" end="00:36">Vi, please.<br/>- Leave me alone!</p>
<p begin="00:36" end="00:38.5">- We need to talk.<br/>- Jason, are you deaf?!</p>
<p begin="00:41" end="00:43">What's going on?</p>
<p begin="00:43" end="00:45">Get out there and try to salvage this!</p>
</div>
</body>
</tt>

Any ideas why it's not displaying the text?

Where can we download the CC plugin for the JW Player?

Any assistance would be greatly appreciated.

The flashvars are set OK, your XML file seems to be the issue. Here's an example of a correct TT XML file:

http://developer.longtailvideo.com/files/bunny.xml

The source code of the accessiblity plugin can be downloaded here:

http://developer.longtailvideo.com/trac/browser/plugins/accessibility-1.0

http://developer.longtailvideo.com/trac/browser/plugins/accessibility-1.0

is a bad link

TRAC Error
No node /plugins/accessibility-1.0 at revision 166

I've been trying to get the closed-captions to work for over 2 hours - I downloaded the corrie.xml (from longtailvideo) & the bunny.xml (recommended by JeroenW), checked and re-checked all flashvars, tried different imbed codes, still nothing.

See my post on Jan. 22, 2009 in this thread for a full explanation of how to get the captions to display using the accessibility plugin:

      http://www.longtailvideo.com/support/forum/Plugins/14385/accessability-1-0-T-button

The latest accessibility plugin is here:

     http://developer.longtailvideo.com/trac/browser/plugins/accessibility

Note that the captions DID NOT work FROM A PLAYLIST when I tested them recently (v4.4.165 player & accessibility plugin r156).

I found that I had to upload my files to the web to get the captions to work. It did not work for me just running it locally off my desktop.