@pie-framework/pie-fixed-player-static 1.0.0-152280c.3 → 1.0.0-152280c.4

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
@@ -1,6 +1,6 @@
1
1
  # @pie-framework/pie-fixed-player-static
2
2
 
3
- Version: 1.0.0-152280c.3
3
+ Version: 1.0.0-152280c.4
4
4
 
5
5
  Pre-bundled PIE fixed player with static element versions for production use.
6
6
 
@@ -18,7 +18,7 @@ in Pieoneer, use `pie-inline-player` instead.
18
18
  ## Installation
19
19
 
20
20
  ```bash
21
- npm install @pie-framework/pie-fixed-player-static@1.0.0-152280c.3
21
+ npm install @pie-framework/pie-fixed-player-static@1.0.0-152280c.4
22
22
  ```
23
23
 
24
24
  ## Usage
package/dist/index.js CHANGED
@@ -141,6 +141,13 @@
141
141
  duration,
142
142
  errorMessage
143
143
  });
144
+
145
+ // Dispatch the event failed load event
146
+ document.dispatchEvent(new CustomEvent('PiePlayerLoadEvent', {
147
+ detail: 'PIE-Fixed-Player-Load-Failed',
148
+ bubbles: true,
149
+ cancelable: true
150
+ }));
144
151
  } catch {
145
152
  // Tracking failed, continue anyway
146
153
  }
@@ -234,6 +241,13 @@
234
241
  try {
235
242
  if (typeof window !== 'undefined' && typeof window.performance !== 'undefined') {
236
243
  window.performance.mark('PIE-Fixed-Player-Load-Complete');
244
+
245
+ // Dispatch the event load complete event
246
+ document.dispatchEvent(new CustomEvent('PiePlayerLoadEvent', {
247
+ detail: 'PIE-Fixed-Player-Load-Complete',
248
+ bubbles: true,
249
+ cancelable: true
250
+ }));
237
251
  }
238
252
  } catch {
239
253
  // Performance marking failed, continue anyway
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-framework/pie-fixed-player-static",
3
- "version": "1.0.0-152280c.3",
3
+ "version": "1.0.0-152280c.4",
4
4
  "description": "PIE fixed player static bundle containing: categorize, drag-in-the-blank, hotspot, image-cloze-association, multiple-choice. Production-ready, self-contained package with pre-bundled elements (hash: 152280c).",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -25,9 +25,9 @@
25
25
  "license": "MIT",
26
26
  "pie": {
27
27
  "bundleHash": "152280c",
28
- "iteration": 3,
28
+ "iteration": 4,
29
29
  "loaderVersion": "1.0.0",
30
- "generatedAt": "2025-11-04T17:03:56.899Z",
30
+ "generatedAt": "2025-11-10T19:08:53.201Z",
31
31
  "elements": {
32
32
  "@pie-element/categorize": "11.3.2",
33
33
  "@pie-element/drag-in-the-blank": "8.3.2",