@xiboplayer/renderer 0.1.0 → 0.1.1
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.
|
@@ -38,7 +38,7 @@ const CONCURRENT_CHUNKS = 4; // Adjustable 2-6 based on network
|
|
|
38
38
|
|
|
39
39
|
### 2. Parallel Widget HTML Fetching
|
|
40
40
|
|
|
41
|
-
**File**: `
|
|
41
|
+
**File**: `src/main.ts` (in xiboplayer-pwa)
|
|
42
42
|
**Impact**: 10x faster layout initialization
|
|
43
43
|
|
|
44
44
|
**What Changed**:
|
|
@@ -255,11 +255,8 @@ const CONCURRENT_CHUNKS = 6;
|
|
|
255
255
|
### Rebuild After Changes
|
|
256
256
|
|
|
257
257
|
```bash
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
# Redeploy using Ansible
|
|
262
|
-
ansible-playbook /path/to/deploy-pwa.yml
|
|
258
|
+
# From xiboplayer-pwa repo
|
|
259
|
+
pnpm run build
|
|
263
260
|
```
|
|
264
261
|
|
|
265
262
|
---
|
|
@@ -276,7 +273,7 @@ Videos may not autoplay on first load due to browser policies. User interaction
|
|
|
276
273
|
|
|
277
274
|
Service Worker can interfere with chunk downloads (HTTP 202 caching).
|
|
278
275
|
|
|
279
|
-
**Current Status**: Service Worker
|
|
276
|
+
**Current Status**: Service Worker re-enabled in PWA with standalone architecture
|
|
280
277
|
|
|
281
278
|
### Memory Ceiling
|
|
282
279
|
|
|
@@ -427,7 +424,7 @@ Key sections:
|
|
|
427
424
|
|
|
428
425
|
## Deployment History
|
|
429
426
|
|
|
430
|
-
**2026-02-05**: Initial deployment
|
|
427
|
+
**2026-02-05**: Initial deployment
|
|
431
428
|
- All 4 optimizations deployed
|
|
432
429
|
- Performance verified in console logs
|
|
433
430
|
- No issues reported
|
|
@@ -437,8 +434,7 @@ Key sections:
|
|
|
437
434
|
## References
|
|
438
435
|
|
|
439
436
|
- [Arexibo Player](https://github.com/example/arexibo) - Original pattern source
|
|
440
|
-
- [
|
|
441
|
-
- [DEPLOYMENT.md](DEPLOYMENT.md) - Deployment instructions
|
|
437
|
+
- [Deployment Guide](../../docs/DEPLOYMENT.md) - Deployment instructions
|
|
442
438
|
|
|
443
439
|
---
|
|
444
440
|
|
package/docs/TRANSITIONS.md
CHANGED
|
@@ -177,4 +177,4 @@ Possible future improvements:
|
|
|
177
177
|
|
|
178
178
|
- [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API)
|
|
179
179
|
- [Xibo Layout XLF Format](https://xibo.org.uk/docs/developer/xlf-format)
|
|
180
|
-
- [
|
|
180
|
+
- [Xibo Layout Renderer](https://github.com/xibosignage/xibo-layout-renderer) — upstream transition reference
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xiboplayer/renderer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "RendererLite - Fast, efficient XLF layout rendering engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -9,10 +9,15 @@
|
|
|
9
9
|
"./renderer-lite": "./src/renderer-lite.js",
|
|
10
10
|
"./layout": "./src/layout.js"
|
|
11
11
|
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"test": "vitest run",
|
|
14
|
+
"test:watch": "vitest",
|
|
15
|
+
"test:coverage": "vitest run --coverage"
|
|
16
|
+
},
|
|
12
17
|
"dependencies": {
|
|
18
|
+
"@xiboplayer/utils": "workspace:*",
|
|
13
19
|
"nanoevents": "^9.1.0",
|
|
14
|
-
"pdfjs-dist": "^4.10.38"
|
|
15
|
-
"@xiboplayer/utils": "0.1.0"
|
|
20
|
+
"pdfjs-dist": "^4.10.38"
|
|
16
21
|
},
|
|
17
22
|
"devDependencies": {
|
|
18
23
|
"vitest": "^2.0.0",
|
|
@@ -31,10 +36,5 @@
|
|
|
31
36
|
"type": "git",
|
|
32
37
|
"url": "git+https://github.com/xibo-players/xiboplayer.git",
|
|
33
38
|
"directory": "packages/renderer"
|
|
34
|
-
},
|
|
35
|
-
"scripts": {
|
|
36
|
-
"test": "vitest run",
|
|
37
|
-
"test:watch": "vitest",
|
|
38
|
-
"test:coverage": "vitest run --coverage"
|
|
39
39
|
}
|
|
40
|
-
}
|
|
40
|
+
}
|