@oddin-gg/havik-player 2.16.0 → 2.16.2
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/havik-player.global.js +2 -2
- package/dist/havik-player.global.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +343 -293
- package/dist/index.js.map +1 -1
- package/docs/API.md +1 -1
- package/embed/index.html +1 -1
- package/examples/vanilla.html +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -183,8 +183,14 @@ export declare interface CreatePlayerOptions {
|
|
|
183
183
|
*/
|
|
184
184
|
liveLatencyTarget?: number;
|
|
185
185
|
/**
|
|
186
|
-
* Snap
|
|
187
|
-
* playback has fallen well behind.
|
|
186
|
+
* Snap to the live edge when a backgrounded tab is refocused. hls.js engine:
|
|
187
|
+
* only when playback has fallen well behind. Native engine (iPhone, iPad,
|
|
188
|
+
* FairPlay): on every return after 2 s or more in the background, and on
|
|
189
|
+
* every page restored from the back/forward cache (pageshow with persisted),
|
|
190
|
+
* landing 3 s behind the edge, because the seek is also what makes iOS
|
|
191
|
+
* redraw a picture it left black. The native seek waits (up to 6 s) for the
|
|
192
|
+
* first playlist refresh after the return, since the edge Safari reports on
|
|
193
|
+
* return is the one from before leaving. Default: true. Live/LL only.
|
|
188
194
|
*/
|
|
189
195
|
snapToLiveOnRefocus?: boolean;
|
|
190
196
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -183,8 +183,14 @@ export declare interface CreatePlayerOptions {
|
|
|
183
183
|
*/
|
|
184
184
|
liveLatencyTarget?: number;
|
|
185
185
|
/**
|
|
186
|
-
* Snap
|
|
187
|
-
* playback has fallen well behind.
|
|
186
|
+
* Snap to the live edge when a backgrounded tab is refocused. hls.js engine:
|
|
187
|
+
* only when playback has fallen well behind. Native engine (iPhone, iPad,
|
|
188
|
+
* FairPlay): on every return after 2 s or more in the background, and on
|
|
189
|
+
* every page restored from the back/forward cache (pageshow with persisted),
|
|
190
|
+
* landing 3 s behind the edge, because the seek is also what makes iOS
|
|
191
|
+
* redraw a picture it left black. The native seek waits (up to 6 s) for the
|
|
192
|
+
* first playlist refresh after the return, since the edge Safari reports on
|
|
193
|
+
* return is the one from before leaving. Default: true. Live/LL only.
|
|
188
194
|
*/
|
|
189
195
|
snapToLiveOnRefocus?: boolean;
|
|
190
196
|
/**
|