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

AddOns

Basic Setup With SRT File

Here is a basic setup of the Captions plugin displaying an SRT captions file. It works in both Flash and HTML5:

 

If you prefer a black box around the captions instead of a thin outline, set the back option to true. This is useful if e.g. you have a small videoplayer or a script (Chinese, Arab) with much detail.

SRT file

Here are the contents of the SRT captions file. As you can see, it is an easy to understand and write format:

1
00:00:08,000 --> 00:00:10,000
- Nothing is going on.

2
00:00:10,500 --> 00:00:12,500
You liar!

3
00:00:13,500 --> 00:00:15,000
Are you?

4
00:00:17,000 --> 00:00:20,000
Violet, please!
- I am not your babe!

5
00:00:24,000 --> 00:00:29,000
You stupid cow,
look what you gone and done now, ay.

6
00:00:34,000 --> 00:00:36,000
Vi, please.
- Leave me alone!

7
00:00:36,000 --> 00:00:38,500
- We need to talk.
- Jason, are you deaf?!

8
00:00:41,000 --> 00:00:43,000
What's going on?

9
00:00:43,000 --> 00:00:45,000
Get out there and try to salvage this!

Note that loading of the captions is subject to crossdomain loading restrictions.