@xiboplayer/pwa 0.3.3 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +10 -3
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -14,13 +14,20 @@ Lightweight PWA Xibo digital signage player built on the [`@xiboplayer` SDK](htt
14
14
  - **Campaign scheduling** — priority-based campaigns, dayparting, interrupts, and overlays
15
15
  - **Real-time CMS commands** — collectNow, screenshot, changeLayout, overlayLayout via XMR WebSocket
16
16
  - **Proof of play** — per-layout and per-widget duration tracking with stats reporting
17
- - **Timeline overlay** — toggleable debug overlay showing upcoming schedule (press `D` to toggle)
18
17
  - **Screenshots** — html2canvas-based capture for non-Electron browsers, Electron uses `capturePage()`
19
- - **Keyboard and presenter remote controls** — interactive actions via touch, click, and keyboard
20
- - **Download overlay** — hover bottom-right corner to see download progress
21
18
  - **Screen Wake Lock** — prevents display from sleeping during playback
22
19
  - **Configurable log levels** — `DEBUG`, `INFO`, `WARNING`, `ERROR`, `NONE` (via URL param or CMS settings)
23
20
 
21
+ ## Keyboard Shortcuts
22
+
23
+ All overlays and controls are hidden by default for clean kiosk operation.
24
+
25
+ | Key | Action |
26
+ |-----|--------|
27
+ | `T` | Toggle timeline overlay — shows upcoming scheduled layouts |
28
+ | `D` | Toggle download overlay — shows media download progress |
29
+ | `V` | Toggle video controls — show/hide native browser controls on all videos |
30
+
24
31
  ## Service Worker Architecture
25
32
 
26
33
  The Service Worker (`sw-pwa.js`) provides:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiboplayer/pwa",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Lightweight PWA Xibo Player with RendererLite",
5
5
  "type": "module",
6
6
  "files": [
@@ -8,12 +8,13 @@
8
8
  ],
9
9
  "dependencies": {
10
10
  "@xiboplayer/cache": "^0.3.0",
11
- "@xiboplayer/sw": "^0.3.0",
12
11
  "@xiboplayer/core": "^0.3.0",
12
+ "@xiboplayer/crypto": "^0.3.0",
13
13
  "@xiboplayer/renderer": "^0.3.0",
14
14
  "@xiboplayer/schedule": "^0.3.0",
15
15
  "@xiboplayer/settings": "^0.3.0",
16
16
  "@xiboplayer/stats": "^0.3.0",
17
+ "@xiboplayer/sw": "^0.3.0",
17
18
  "@xiboplayer/utils": "^0.3.0",
18
19
  "@xiboplayer/xmds": "^0.3.0",
19
20
  "@xiboplayer/xmr": "^0.3.0",