FCPlayer Configuration

IndexA list of the optional parameters for use with FCPlayer.display



where is it
Below is a list of the options that you can place in the options argument of the FCPlayer.display function. A brief explanation of their function is given with an example of their usage. The tutorial: how to Use the options parameter to add options to your videos shows you how to incorporate these options in your pictures. (The syntax for adding options is exactly the same for pictures as it is for videos.)

caption

Ads a caption to your picture. The contents of caption can be either plain text or HTML.

Please note that any single quotes (apostrophies) within the caption field need to be preceded by a backslash, ie \'.
Any double quotes within the caption field need to be encoded as "

Example:

caption:'Let\'s have a party!',


captionText

This is the text of the caption button which is displayed in the control-bar. This argument is optional, and if it is not present, the text defaults to "Caption".

Please note that any single quotes (apostrophies) within the caption field need to be preceded by a backslash, ie \'.
Any double quotes within the caption field need to be encoded as "

Example:

captionText:'Product Description',


captionWidth

Width of the caption box, in pixels. This argument is optional, and if it is not present, the width defaults to that defined in FCPlayerConfig.js. (captionStyle.width)

Example:

captionWidth:300,




If you have a pre-sales question, submit your inquiry via our sales contact page. For general, non-sales inquiries, contact us at support@fastcatsoftware.com.

Solution Graphics