Command reference – Configuration attributes command-reference-configuration-attributes
Configuration attributes documentation for Smart Crop Video Viewer.
You can set any configuration command in the URL. Or, you can use the API methods setParam()
, or setParams()
, or both to set any configuration command. You can also specify any config attribute in the server-side configuration record.
You can prefix some configuration commands with the class name or the instance name of corresponding Viewer SDK component. An instance name of the component is dynamic and depends on the ID of the viewer container DOM element passed to setContainerId()
API method. Documentation includes optional prefixes for such commands. For example, playback
is documented as follows:
[SmartCropVideoPlayer.|<containerId>_smartCropVideoPlayer].playback
Which means that this command is used in the following manner:
playback
(short syntax)SmartCropVideoPlayer.playback
(qualified with component class name)cont_videoPlayer.playback
(qualified with component ID, assuming thatcont
is the ID of the container element)
See Command reference common to all viewers - Configuration attributes
See Command reference common to all Viewers - URL