@glomex/integration-web-component 1.1355.0 → 1.1357.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/build/index.d.ts +17 -1
- package/package.json +3 -3
package/build/index.d.ts
CHANGED
|
@@ -363,6 +363,11 @@ export declare class IntegrationElement extends HTMLElement implements Integrati
|
|
|
363
363
|
*/
|
|
364
364
|
placement?: string;
|
|
365
365
|
variant?: string;
|
|
366
|
+
/**
|
|
367
|
+
* {@inheritDoc IntegrationProperties.crossorigin}
|
|
368
|
+
* @attribute crossorigin
|
|
369
|
+
*/
|
|
370
|
+
crossorigin?: IntegrationProperties['crossorigin'];
|
|
366
371
|
/**
|
|
367
372
|
* Optional callback function invoked when the integration fails to load an advertisement.
|
|
368
373
|
* The callback receives an object with a `reason` property that explains why no ad was loaded.
|
|
@@ -380,7 +385,7 @@ export declare class IntegrationElement extends HTMLElement implements Integrati
|
|
|
380
385
|
*/
|
|
381
386
|
pause(): void;
|
|
382
387
|
/**
|
|
383
|
-
* Snapshots current video frame.
|
|
388
|
+
* Snapshots current video frame. Requires {@link crossorigin} to be set to `anonymous`.
|
|
384
389
|
*/
|
|
385
390
|
getCurrentVideoFrame(): Promise<ImageBitmap>;
|
|
386
391
|
/**
|
|
@@ -919,6 +924,13 @@ export declare interface IntegrationProperties {
|
|
|
919
924
|
ppid?: string;
|
|
920
925
|
env?: 'stage' | 'local';
|
|
921
926
|
variant?: string;
|
|
927
|
+
/**
|
|
928
|
+
* The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/crossorigin crossorigin attribute}
|
|
929
|
+
* is used to define the CORS (Cross-Origin Resource Sharing) policy for the video element.
|
|
930
|
+
* Defaults to `anonymous`. If set to `none` (non-standard value) it won't require CORS headers
|
|
931
|
+
* for the loaded media files, though text-tracks from foreign origins then cannot be loaded.
|
|
932
|
+
*/
|
|
933
|
+
crossorigin?: '' | 'anonymous' | 'use-credentials' | 'none';
|
|
922
934
|
}
|
|
923
935
|
|
|
924
936
|
export declare enum KnownMarkerName {
|
|
@@ -1194,6 +1206,10 @@ export declare interface MediaItem {
|
|
|
1194
1206
|
* @ignore
|
|
1195
1207
|
*/
|
|
1196
1208
|
apiScriptUrl?: string;
|
|
1209
|
+
/**
|
|
1210
|
+
* Indicates the source from which additional metadata was derived (e.g., "joyn").
|
|
1211
|
+
*/
|
|
1212
|
+
metadataSource?: string;
|
|
1197
1213
|
}
|
|
1198
1214
|
|
|
1199
1215
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glomex/integration-web-component",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1357.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.
|
|
33
|
+
"@glomex/integration": "^1.1357.0",
|
|
34
34
|
"@microsoft/api-extractor": "^7.52.8",
|
|
35
35
|
"@rslib/core": "^0.8.0",
|
|
36
36
|
"typescript": "^5.8.3"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"license": "MIT",
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "992ca5d0429199c7600e03ca61790b3dd4702241"
|
|
43
43
|
}
|