@3dsource/metabox-modular-configurator-api 3.0.36 → 3.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -378,6 +378,7 @@ interface IntegrateMetaboxConfig {
|
|
|
378
378
|
- Throws if a container element not found
|
|
379
379
|
- Throws if URL is not HTTPS
|
|
380
380
|
- Replaces existing iframe with ID `embeddedContent`
|
|
381
|
+
- Grants the iframe `autoplay; fullscreen; encrypted-media`, plus `tools` in browsers with WebMCP, so an in-browser AI agent on your page can use the tools the configurator registers. If you build the iframe yourself, add `tools` to its `allow` attribute for the same effect.
|
|
381
382
|
|
|
382
383
|
**Example:**
|
|
383
384
|
|
|
@@ -886,6 +887,7 @@ Event-driven architecture for reactive state management. Register listeners via
|
|
|
886
887
|
| `videoStatsUpdated` | `VideoStats` | Video stream quality metrics | QoS dashboards, adaptive behavior |
|
|
887
888
|
| `loadingStatusChanged` | `{ percents: number; loaderVisible: boolean }` | Loading progress or overlay changed | Show custom loading progress bar |
|
|
888
889
|
| `userInactivityDetected` | `{ remainingSecondsToDisconnect: number; countdownVisible: boolean }` | AFK countdown started or updated | Show "Stay connected?" prompt |
|
|
890
|
+
| `configuratorNotFound` | `true` | The configurator id does not exist | Show an error instead of waiting |
|
|
889
891
|
|
|
890
892
|
#### Event Examples
|
|
891
893
|
|