@glomex/integration-web-component 1.1459.0 → 1.1461.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 +12 -0
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -506,6 +506,11 @@ export declare class IntegrationElement extends HTMLElement implements Integrati
506
506
  * @attribute crossorigin
507
507
  */
508
508
  crossorigin?: IntegrationProperties['crossorigin'];
509
+ /**
510
+ * {@inheritDoc IntegrationProperties.userLanguage}
511
+ * @attribute user-language
512
+ */
513
+ userLanguage?: string;
509
514
  extraContext?: ExtraContext;
510
515
  /**
511
516
  * Optional callback function invoked when the integration fails to load an advertisement.
@@ -792,6 +797,7 @@ export declare interface IntegrationElementEventMap {
792
797
  */
793
798
  [IntegrationEvent.PLAYER_SET_PRESENTATION_MODE]: CustomEvent<{
794
799
  mode: PresentationMode;
800
+ previousMode: PresentationMode;
795
801
  }>;
796
802
  /**
797
803
  * @inheritdoc IntegrationEvent.CONTENT_SELECT
@@ -1211,6 +1217,12 @@ export declare interface IntegrationProperties {
1211
1217
  * for the loaded media files, though text-tracks from foreign origins then cannot be loaded.
1212
1218
  */
1213
1219
  crossorigin?: '' | 'anonymous' | 'use-credentials' | 'none';
1220
+ /**
1221
+ * Preferred language for the current user.
1222
+ * When provided, this value is used for the UI instead of the browser language detected in the environment.
1223
+ * Expected to be an ISO 639-1 language code (e.g. "de", "en", "it", "es").
1224
+ */
1225
+ userLanguage?: string;
1214
1226
  /**
1215
1227
  * {@inheritDoc ExtraContext}
1216
1228
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glomex/integration-web-component",
3
- "version": "1.1459.0",
3
+ "version": "1.1461.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",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@biomejs/biome": "catalog:",
35
- "@glomex/integration": "1.1459.0",
35
+ "@glomex/integration": "1.1461.0",
36
36
  "@microsoft/api-extractor": "catalog:",
37
37
  "@rslib/core": "catalog:",
38
38
  "npm-run-all": "catalog:",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "license": "MIT",
45
- "gitHead": "e8b7edc503bac978cb46cb74e212bd6ceef41cc0"
45
+ "gitHead": "d543a06520caab7da4fbdc8b214adf7fcd4bfc9a"
46
46
  }