Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
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.
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?).
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.
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?
Comments
Comment #1
JW Player commented@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.
Comment #2
hanno commentedIt 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?).
Comment #3
babusaheb.vikas commentedHi,
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.
Comment #4
richardhayward commentedExample of closed captions here:
http://exhibitions.slv.vic.gov.au/love-and-devotion/multimedia/susan-sco...
Comment #5
JW Player commentedThanks for posting some closed captioning examples guys.
Comment #6
hanno commentedAs 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?
Comment #7
JW Player commented@Hanno,
I'll look into adding it.
Thanks.