Does the JW Player Module for Drupal support closed captioning?

Comments

JW Player’s picture

@SharonKrossa,

The JW Player supports Closed Captioning through use of the Captions plugin which is provided with the module. If you have any configuration questions just let me know.

Thanks.

hanno’s picture

Component: Miscellaneous » Documentation
Category: feature » task

It would be great to have a simple 'how to make closed captions available with the jw_player module' in the documentation (is there a documentation page?).

babusaheb.vikas’s picture

Hi,

Close captioning is allowed in JWPlayer. You can go to /admin/settings/jwplayermodule @ your drupal installation . click "Plugins tab" check the checkbox next "Enable Captions" checked true .

Then create a content type or extend existing content type . In my case i extended my basic page content type and added 3 file field , one to upload flv or mp4 file, one for default image and last one for SRT file . The caption would be displayed in video by reading srt file. It must have extension .srt . It is just a text file

Sample of SRT file

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?

Then create a page .

and put

[jwplayer
|config=sample
|file=http://localhost/transcript1/sites/default/files/New_Pixar_Short_0.flv
|image=http://localhost/transcript1/sites/default/files/Penguins_0.jpg
|backcolor=000066
|frontcolor=3333FF
|lightcolor=FFCC00
|captions.file=http://localhost/transcript1/sites/default/files/first_0.srt]

and it will read caption on the basis of time you set.

richardhayward’s picture

JW Player’s picture

Thanks for posting some closed captioning examples guys.

hanno’s picture

As it seems there was no documentation page on d.o. I created one: http://drupal.org/node/1505268 and added the info there.
@Longtail, can you add that link as a documentation link to the module page?

JW Player’s picture

@Hanno,

I'll look into adding it.

Thanks.