@glomex/integration-web-component 1.1405.1 → 1.1406.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/dist/index.d.ts +17 -0
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1120,6 +1120,18 @@ declare interface MediaError_2 {
1120
1120
  }
1121
1121
  export { MediaError_2 as MediaError }
1122
1122
 
1123
+ /**
1124
+ * Represents a media asset within the player.
1125
+ *
1126
+ * A minimal MediaItem requires only:
1127
+ * - an `id`
1128
+ * - a poster image
1129
+ * - a title
1130
+ * - a source
1131
+ *
1132
+ * Additional fields can be supplied to support analytics, monetization, UI enhancements, and other use cases.
1133
+ * In general, the richer the metadata, the more likely the MediaItem can satisfy all integration requirements.
1134
+ */
1123
1135
  export declare interface MediaItem {
1124
1136
  /**
1125
1137
  * Unique identifier of the media item.
@@ -1295,6 +1307,11 @@ export declare interface MediaItem {
1295
1307
  id?: string;
1296
1308
  name?: string;
1297
1309
  };
1310
+ /** The live on demand channel (livestream using a VoD playlist, often called ODC) the media item belongs to */
1311
+ liveOnDemandChannel?: {
1312
+ id?: string;
1313
+ name?: string;
1314
+ };
1298
1315
  /** Category id and name of the media item */
1299
1316
  category?: {
1300
1317
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glomex/integration-web-component",
3
- "version": "1.1405.1",
3
+ "version": "1.1406.0",
4
4
  "description": "Web component and types to integrate the glomex player",
5
5
  "documentation": "https://docs.glomex.com",
6
6
  "homepage": "https://glomex.com",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@biomejs/biome": "^1.9.4",
33
- "@glomex/integration": "^1.1405.0",
33
+ "@glomex/integration": "^1.1406.0",
34
34
  "@microsoft/api-extractor": "^7.52.13",
35
35
  "@rslib/core": "^0.13.3",
36
36
  "typescript": "^5.8.3"
@@ -39,5 +39,5 @@
39
39
  "access": "public"
40
40
  },
41
41
  "license": "MIT",
42
- "gitHead": "92b168ac5939d11ac6f8d17e0fc78163b82caf57"
42
+ "gitHead": "3cf086e98d580cf3b74c0e48ac633e8401ca98b8"
43
43
  }