@glomex/integration-web-component 1.1478.0 → 1.1479.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 +19 -0
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -587,6 +587,13 @@ export declare class IntegrationElement extends HTMLElement implements Integrati
587
587
  * Retrieves the total duration (in seconds) of the current media content.
588
588
  */
589
589
  get duration(): number;
590
+ /**
591
+ * Retrieves the seekable range of the current media content.
592
+ * For VoD content, this typically represents the full duration (0 to duration).
593
+ * For live streams, this represents the DVR window that can be seeked to.
594
+ * The `start` and `end` properties are `undefined` if the seek range is not yet available.
595
+ */
596
+ get seekRange(): SeekRange;
590
597
  /**
591
598
  * Indicates whether the media playback is currently muted.
592
599
  */
@@ -1857,6 +1864,18 @@ export declare enum ScriptType {
1857
1864
  EXTERNAL_MEDIA_ITEM = "application/glomex-external-media-item+json"
1858
1865
  }
1859
1866
 
1867
+ /**
1868
+ * Represents the seekable range of the media.
1869
+ * For VoD content, this typically represents the full duration (0 to duration).
1870
+ * For live streams, this represents the DVR window that can be seeked to.
1871
+ */
1872
+ export declare interface SeekRange {
1873
+ /** The start time of the seekable range in seconds, or undefined if not yet available */
1874
+ start?: number;
1875
+ /** The end time of the seekable range in seconds, or undefined if not yet available */
1876
+ end?: number;
1877
+ }
1878
+
1860
1879
  export declare enum StartMethod {
1861
1880
  /** Autoplay occured for above the fold content */
1862
1881
  PRE_CLICK = "pre-click-to-play",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glomex/integration-web-component",
3
- "version": "1.1478.0",
3
+ "version": "1.1479.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.1478.0",
35
+ "@glomex/integration": "1.1479.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": "5c4af5f5c3f822a09675e6fb49b3bcc01a93853c"
45
+ "gitHead": "a0d1c9d389b78e57bd980b52f95d7d37792c7fcc"
46
46
  }