@htmlbricks/hb-player-live 0.71.33 → 0.71.35

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
@@ -28,6 +28,7 @@ Live streaming `<video>` player for HLS (hls.js or native), WebSocket WebRTC (`s
28
28
  ### Usage notes
29
29
 
30
30
  - **CSS parts:** `container`, `replacewithtext`, `video`.
31
+ - **Slots:** `replacewithtext` (wrapper when stream is covered/offline), `replacetitle`, `replacesubtitle`, `replacetext` — override fallback copy (still combined with `replacewithtext` / `forcecover` props when unset).
31
32
  - Pick `media_type` to match your pipeline (`whep` for WHEP examples in docs).
32
33
 
33
34
  ### Minimal HTML example
package/manifest.json CHANGED
@@ -163,7 +163,24 @@
163
163
  ]
164
164
  },
165
165
  "contributors": [],
166
- "htmlSlots": [],
166
+ "htmlSlots": [
167
+ {
168
+ "name": "replacewithtext",
169
+ "description": "Custom block when the stream is unavailable or covered (wraps title/subtitle/text slots)."
170
+ },
171
+ {
172
+ "name": "replacetitle",
173
+ "description": "Title inside the replace-with-text block."
174
+ },
175
+ {
176
+ "name": "replacesubtitle",
177
+ "description": "Subtitle inside the replace-with-text block."
178
+ },
179
+ {
180
+ "name": "replacetext",
181
+ "description": "Body text inside the replace-with-text block."
182
+ }
183
+ ],
167
184
  "i18n": [],
168
185
  "examples": [
169
186
  {
@@ -247,5 +264,5 @@
247
264
  "size": {},
248
265
  "iifePath": "main.iife.js",
249
266
  "repoName": "@htmlbricks/hb-player-live",
250
- "version": "0.71.33"
267
+ "version": "0.71.35"
251
268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-player-live",
3
- "version": "0.71.33",
3
+ "version": "0.71.35",
4
4
  "contributors": [],
5
5
  "description": "Live streaming `<video>` player for HLS (hls.js or native), WebSocket WebRTC (`simple-webrtc-element`), or WHEP (MediaMTX). Polls the manifest for HLS liveness, exposes the element via `getVideoElement`, and emits `liveStatus` and `htmlVideoInit`. When the stream is offline or missing, shows optional title/subtitle/text from `replacewithtext`, `forcecover`, or fallback labels.",
6
6
  "licenses": [