@3dsource/metabox-front-api 3.0.32 → 3.0.33
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 +2 -0
- package/fesm2022/3dsource-metabox-front-api.mjs +495 -1886
- package/fesm2022/3dsource-metabox-front-api.mjs.map +1 -1
- package/llms.txt +32 -0
- package/package.json +1 -1
- package/types/3dsource-metabox-front-api.d.ts +655 -695
package/README.md
CHANGED
|
@@ -351,6 +351,7 @@ interface IntegrateMetaboxConfig {
|
|
|
351
351
|
- Throws if a container element not found
|
|
352
352
|
- Throws if URL is not HTTPS
|
|
353
353
|
- Replaces existing iframe with ID `embeddedContent`
|
|
354
|
+
- 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.
|
|
354
355
|
|
|
355
356
|
**Example:**
|
|
356
357
|
|
|
@@ -577,6 +578,7 @@ Event-driven architecture for reactive state management. Register listeners via
|
|
|
577
578
|
| `videoStatsUpdated` | `VideoStats` | Video stream quality metrics | QoS dashboards, adaptive behavior |
|
|
578
579
|
| `loadingStatusChanged` | `{ percents: number; loaderVisible: boolean }` | Loading progress or overlay changed | Show custom loading progress bar |
|
|
579
580
|
| `userInactivityDetected` | `{ remainingSecondsToDisconnect: number; countdownVisible: boolean }` | AFK countdown started or updated | Show "Stay connected?" prompt |
|
|
581
|
+
| `configuratorNotFound` | `true` | The configurator id does not exist | Show an error instead of waiting |
|
|
580
582
|
|
|
581
583
|
#### Event Examples
|
|
582
584
|
|