Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Description

JW Player Captions adds captions support into the JW Player drupal module, using the official JW Player captions plugin.
It uses the JW Player drupal module plugin API.

This plugin can be enabled and configured in the JW player preset configuration.

This version supports :
- one or several subtitle files (SRT or XML).
- labels definition in case of several subtitle files are specified
- captions styling using color, font-family, font-size, font-style, font-weight, textDecoration attributes.

Dependencies

You first have to patch your jw_player drupal module in order to add config_update plugin function support.

This patch is here : http://drupal.org/files/jw_player.module.patch

How does it work ?
For every JW Player preset, you can activate JW Player captions plugin. Then, you have to select a field for subtitle files (which can be a 'file' field or a 'link' field). You can also select a field for labels (which can be a 'file' field, a 'text' field or a 'taxonomy term' field). If you select a 'file' field, the filename without extension is used as label.

There is only a D7 version.

Ideas of improvement :
- support JW player captions plugin in the same server than the website (that means, host the captions.js/captions.swf on the server). An option should allow to select if we want to use the "local" version or the version hosted on longtail video website.
- use farbtastic color picker to select font color

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Created by remy40 on , updated