@htmlbricks/hb-card-video 0.66.27 → 0.67.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.
- package/README.md +2 -2
- package/main.iife.js +102 -50
- package/main.iife.js.map +1 -1
- package/manifest.json +4 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
### What it does
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
**Bulma** `card` with a 16:9 `image` frame: YouTube embed when `provider` is `youtube`, otherwise an HTML5 `<video>` with MP4 source. Optional title, truncated description, formatted `time` via Day.js (`dateformat`), “read more” `button is-primary`, and social share placeholders when `pageuri` is set. Bootstrap Icons for the clock in the footer.
|
|
8
8
|
|
|
9
9
|
### Custom element
|
|
10
10
|
|
|
@@ -33,7 +33,7 @@ None declared in types (`Events` is an empty object).
|
|
|
33
33
|
|
|
34
34
|
### Usage notes
|
|
35
35
|
|
|
36
|
-
- Card layout follows
|
|
36
|
+
- Card layout follows Bulma `card` / `card-image` / `card-content` / `card-footer` patterns.
|
|
37
37
|
- YouTube vs file video is selected only via `provider`; ensure `videosrc` matches the mode.
|
|
38
38
|
- Shadow DOM contains the player and share UI; slot `card-footer` extends the card.
|
|
39
39
|
- No i18n in `docs.ts`.
|