OptionalautoControls whether the pixel stream starts automatically on load (added as ?autoStartStream=...).
Set to false to defer streaming until you start it manually via the ResumeStream command.
OptionaldomainCustom domain for testing purposes. Defaults to metabox.3dsource.com. HTTPS is enforced.
OptionalintroURL to an image shown on the intro screen (added as ?introImage=...).
OptionalintroURL to a video shown on the intro screen (added as ?introVideo=...).
OptionalloadingURL to an image displayed while the configurator is loading (added as ?loadingImage=...).
OptionalshowIf true, shows the loading progress bar inside the configurator (added as ?showLoadingProgress=true).
OptionalshowIf true, shows the resume stream popup when the stream is paused (added as ?showResumeStreamPopup=true).
OptionalshowIf true, shows the user inactivity countdown popup before disconnecting (added as ?showUserInactivityTimer=true).
OptionalstandaloneIf true, disables Metabox custom template and all related logic.
OptionalstatePredefined state for the configurator on initial loading in rison format (see
https://github.com/Nanonid/rison) (added as ?state=...).
OptionaluserInactivity timeout in seconds before the user is warned and eventually disconnected (added as ?userInactivityTimeout=...).
Configuration options for integrating the Metabox Basic Configurator iframe into a host page. Passed as the
configparameter to integrateMetabox.What does it unlock?
Configuration interface for initializing the configurator. Passed to integrateMetabox function with settings like domain, host, and standalone mode.
Practical Application
Config interface for integrateMetabox() initialization. Supports: standalone (boolean — disables all built-in UI), introImage/introVideo (URLs), loadingImage (URL), state (initial state), domain (HTTPS override), showLoadingProgress (boolean — loading progress bar), showResumeStreamPopup (boolean — resume-stream popup), showUserInactivityTimer (boolean — AFK countdown popup), userInactivityTimeout (number — AFK seconds), autoStartStream (boolean — whether the stream starts automatically on load).
AI Coding Best Practices
Pass as the 4th parameter to integrateMetabox(). Key:
standalone:truefor custom UI builds. loadingImage for branded loading. domain only if overriding the default MetaBox server. All URLs must be HTTPS. The state field lets you restore a previously saved configuration. SetautoStartStream:falseto defer the pixel stream and start it manually via the ResumeStream command.