@xiboplayer/pwa 0.3.6 → 0.4.0

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.
Files changed (2) hide show
  1. package/README.md +13 -2
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -10,10 +10,15 @@ Lightweight PWA Xibo digital signage player built on the [`@xiboplayer` SDK](htt
10
10
  ## Features
11
11
 
12
12
  - **Offline-first** — Service Worker caching with parallel chunk downloads and progressive streaming
13
- - **XLF layout rendering** — video (MP4/HLS), images, PDF, text/ticker, web pages via RendererLite
13
+ - **XLF layout rendering** — video (MP4/HLS), images (scale/align), audio overlay, PDF, text/ticker, web pages via RendererLite
14
14
  - **Campaign scheduling** — priority-based campaigns, dayparting, interrupts, and overlays
15
+ - **Playback control** — skip to next/previous layout via keyboard or click a layout in the timeline overlay
16
+ - **Conflict indicators** — timeline overlay highlights overlapping schedule entries
17
+ - **Multi-display sync** — BroadcastChannel-based lead/follower synchronized playback for video walls
15
18
  - **Real-time CMS commands** — collectNow, screenshot, changeLayout, overlayLayout via XMR WebSocket
19
+ - **SDK event wiring** — widget duration events, scheduled commands, event-based proof of play
16
20
  - **Proof of play** — per-layout and per-widget duration tracking with stats reporting
21
+ - **Log batching** — aggregated log submission aligned with CMS spec
17
22
  - **Screenshots** — html2canvas-based capture for non-Electron browsers, Electron uses `capturePage()`
18
23
  - **Screen Wake Lock** — prevents display from sleeping during playback
19
24
  - **Configurable log levels** — `DEBUG`, `INFO`, `WARNING`, `ERROR`, `NONE` (via URL param or CMS settings)
@@ -24,9 +29,15 @@ All overlays and controls are hidden by default for clean kiosk operation.
24
29
 
25
30
  | Key | Action |
26
31
  |-----|--------|
27
- | `T` | Toggle timeline overlay — shows upcoming scheduled layouts |
32
+ | `T` | Toggle timeline overlay — shows upcoming scheduled layouts with conflict indicators |
28
33
  | `D` | Toggle download overlay — shows media download progress |
29
34
  | `V` | Toggle video controls — show/hide native browser controls on all videos |
35
+ | `→` / `PageDown` | Skip to next layout |
36
+ | `←` / `PageUp` | Go to previous layout |
37
+ | `Space` | Pause / resume playback |
38
+ | `R` | Revert to scheduled layout (when manually overridden) |
39
+
40
+ Timeline overlay also supports **click-to-skip** — click any layout in the timeline to jump directly to it.
30
41
 
31
42
  ## Service Worker Architecture
32
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiboplayer/pwa",
3
- "version": "0.3.6",
3
+ "version": "0.4.0",
4
4
  "description": "Lightweight PWA Xibo Player with RendererLite",
5
5
  "type": "module",
6
6
  "files": [
@@ -15,6 +15,7 @@
15
15
  "@xiboplayer/settings": "^0.3.0",
16
16
  "@xiboplayer/stats": "^0.3.0",
17
17
  "@xiboplayer/sw": "^0.3.0",
18
+ "@xiboplayer/sync": "^0.3.7",
18
19
  "@xiboplayer/utils": "^0.3.0",
19
20
  "@xiboplayer/xmds": "^0.3.0",
20
21
  "@xiboplayer/xmr": "^0.3.0",