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=...).
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=...).
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).
AI Coding Best Practices
Pass as 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.