Show Menu
TOPICS×

Command reference – URL

Command reference documentation for 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:
[VideoPlayer.|<containerId>_videoPlayer].playback

which means that this command is used in the following manner:
  • playback (short syntax)
  • VideoPlayer.playback (qualified with component class name)
  • cont_videoPlayer.playback (qualified with component ID, assuming that cont is the ID of the container element)