@glomex/integration-web-component 1.1405.2 → 1.1407.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/dist/index.d.ts +17 -0
- package/package.json +10 -10
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.
|
|
3
|
+
"version": "1.1407.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",
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
"dist/**/*.d.ts"
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
|
-
"prepare": "
|
|
27
|
-
"build": "
|
|
28
|
-
"
|
|
29
|
-
"
|
|
26
|
+
"prepare": "npm run build",
|
|
27
|
+
"build:ts": "tsc --build",
|
|
28
|
+
"build:rslib": "rslib build",
|
|
29
|
+
"build": "rm -rf dist && npm-run-all --sequential \"build:ts -- --force\" build:rslib",
|
|
30
|
+
"lint": "tsc --noEmit && biome ci",
|
|
31
|
+
"watch": "npm-run-all --parallel \"build:* -- --watch\""
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
32
|
-
"@
|
|
33
|
-
"@glomex/integration": "^1.1405.2",
|
|
34
|
+
"@glomex/integration": "^1.1407.0",
|
|
34
35
|
"@microsoft/api-extractor": "^7.52.13",
|
|
35
|
-
"@rslib/core": "^0.13.3"
|
|
36
|
-
"typescript": "^5.8.3"
|
|
36
|
+
"@rslib/core": "^0.13.3"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"license": "MIT",
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "09541207b1ced340b8c774185d5e98cc01e802e0"
|
|
43
43
|
}
|