@htmlbricks/hb-card-video 0.67.1 → 0.68.2
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/manifest.json +33 -1
- package/package.json +1 -1
package/manifest.json
CHANGED
|
@@ -119,12 +119,44 @@
|
|
|
119
119
|
"examples": [
|
|
120
120
|
{
|
|
121
121
|
"name": "default",
|
|
122
|
+
"description": "HTML5 video card with title, blurb, and timestamp.",
|
|
122
123
|
"data": {
|
|
123
124
|
"videosrc": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
|
|
124
125
|
"title": "aa",
|
|
125
126
|
"description": "desc6",
|
|
126
127
|
"time": "2021-08-15T18:55:22.135Z"
|
|
127
128
|
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "youtube",
|
|
132
|
+
"description": "YouTube embed when `provider` is set to youtube (full embed URL).",
|
|
133
|
+
"data": {
|
|
134
|
+
"videosrc": "https://www.youtube.com/embed/dQw4w9WgXcQ",
|
|
135
|
+
"provider": "youtube",
|
|
136
|
+
"title": "Sample clip",
|
|
137
|
+
"description": "Embedded iframe player.",
|
|
138
|
+
"time": "2024-01-01T12:00:00.000Z"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "minimalMp4",
|
|
143
|
+
"description": "Only the required source URL.",
|
|
144
|
+
"data": {
|
|
145
|
+
"videosrc": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "withShareAndFormat",
|
|
150
|
+
"description": "Custom date pattern and share context via `pageuri`.",
|
|
151
|
+
"data": {
|
|
152
|
+
"videosrc": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
|
|
153
|
+
"title": "Weekly update",
|
|
154
|
+
"description": "Notes for the team.",
|
|
155
|
+
"time": "2023-06-15T09:30:00.000Z",
|
|
156
|
+
"dateformat": "DD MMM YYYY, HH:mm",
|
|
157
|
+
"pageuri": "https://example.com/videos/weekly-update",
|
|
158
|
+
"linklabel": "Open post"
|
|
159
|
+
}
|
|
128
160
|
}
|
|
129
161
|
],
|
|
130
162
|
"iifeIntegrity": "sha384-ro5GH27csiseJM3/6/j1nv9XNfTSaHB99brFzd4AJwxfEXj813ZvPubSbEeMC9eg",
|
|
@@ -148,5 +180,5 @@
|
|
|
148
180
|
"size": {},
|
|
149
181
|
"iifePath": "main.iife.js",
|
|
150
182
|
"repoName": "@htmlbricks/hb-card-video",
|
|
151
|
-
"version": "0.
|
|
183
|
+
"version": "0.68.2"
|
|
152
184
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-card-video",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.68.2",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "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 (100 chars), formatted `time` via Day.js (`dateformat`), “read more” primary button, and social share placeholders (Facebook/Twitter widgets) when `pageuri` is set.",
|
|
6
6
|
"licenses": [
|