General JW Player Setup Options

You can modify the look and feel of JW Player using setup options provided by JW Player. In order to set these options, you have to add properties to configuration-root/com/escenic/framework/frontend/FrontEndConfig.properties. You can set any JW Player setup option by adding a property to FrontEndConfig.properties that has exactly the same name plus the prefix property.media.jwplayer.options:

property.media.jwplayer.options.option-name=option-value

For example:

# set the JW Player 'primary' option to 'flash'
property.media.jwplayer.options.primary=flash

# set the JW Player 'captions.color' and 'captions.fontOpacity' options
property.media.jwplayer.options.captions.fontOpacity=80
property.media.jwplayer.options.captions.color=#CCCCCC

Some JW Player setup options are provided with default values by the Widget Framework, for example:

  • The sharing.heading option is assigned the video title

  • The sharing.link option is assigned the video URL

You can, however, override these default settings in the same way, by adding properties to FrontEndConfig.properties:

# Override JW Player sharing heading and link options
property.media.jwplayer.options.sharing.heading=your-custom-heading
property.media.jwplayer.options.sharing.link=your-custom-url