@hyperframes/player 0.8.205 → 0.8.207
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/chunk-5UNAHRPA.js +1 -0
- package/dist/hyperframes-player.cjs +3 -3
- package/dist/hyperframes-player.d.cts +8 -8
- package/dist/hyperframes-player.d.ts +8 -8
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-player.js +3 -3
- package/dist/slideshow/hyperframes-slideshow.cjs +16 -16
- package/dist/slideshow/hyperframes-slideshow.global.js +16 -16
- package/dist/slideshow/hyperframes-slideshow.js +19 -19
- package/package.json +2 -2
- package/dist/chunk-DEBJRHNM.js +0 -1
|
@@ -12,20 +12,20 @@ interface ProxyEntry {
|
|
|
12
12
|
el: HTMLMediaElement;
|
|
13
13
|
start: number;
|
|
14
14
|
duration: number;
|
|
15
|
+
/** Where in the file the clip begins (`data-media-start`); the proxy plays `t - start + mediaStart`. */
|
|
16
|
+
mediaStart: number;
|
|
15
17
|
/**
|
|
16
18
|
* The iframe media element this proxy mirrors, when adopted from the DOM.
|
|
17
19
|
* Its `data-start`/`data-duration` are re-read each tick so live timeline
|
|
18
20
|
* edits (trim/move) bound the proxy correctly. Null for URL-driven proxies.
|
|
19
21
|
*/
|
|
20
22
|
source?: HTMLMediaElement | null;
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
*/
|
|
28
|
-
driftSamples: number;
|
|
23
|
+
/** The offset behind the timeline (+) at the last drift sample; steering is only trusted when it stopped growing. */
|
|
24
|
+
lastOffset?: number;
|
|
25
|
+
/** Seconds a seek of this playing proxy takes to land (smoothed); a seek aims this far ahead so it lands on time. */
|
|
26
|
+
seekLatency?: number;
|
|
27
|
+
/** When the seek still landing was issued (ms); unset when none is pending. */
|
|
28
|
+
seekIssuedAt?: number;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
type ShaderLoadingMode = "composition" | "player" | "none";
|
|
@@ -12,20 +12,20 @@ interface ProxyEntry {
|
|
|
12
12
|
el: HTMLMediaElement;
|
|
13
13
|
start: number;
|
|
14
14
|
duration: number;
|
|
15
|
+
/** Where in the file the clip begins (`data-media-start`); the proxy plays `t - start + mediaStart`. */
|
|
16
|
+
mediaStart: number;
|
|
15
17
|
/**
|
|
16
18
|
* The iframe media element this proxy mirrors, when adopted from the DOM.
|
|
17
19
|
* Its `data-start`/`data-duration` are re-read each tick so live timeline
|
|
18
20
|
* edits (trim/move) bound the proxy correctly. Null for URL-driven proxies.
|
|
19
21
|
*/
|
|
20
22
|
source?: HTMLMediaElement | null;
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
*/
|
|
28
|
-
driftSamples: number;
|
|
23
|
+
/** The offset behind the timeline (+) at the last drift sample; steering is only trusted when it stopped growing. */
|
|
24
|
+
lastOffset?: number;
|
|
25
|
+
/** Seconds a seek of this playing proxy takes to land (smoothed); a seek aims this far ahead so it lands on time. */
|
|
26
|
+
seekLatency?: number;
|
|
27
|
+
/** When the seek still landing was issued (ms); unset when none is pending. */
|
|
28
|
+
seekIssuedAt?: number;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
type ShaderLoadingMode = "composition" | "player" | "none";
|