@oddin-gg/havik-player 2.13.1 → 2.15.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/dist/havik-player.global.js +4 -3
- package/dist/havik-player.global.js.map +1 -1
- package/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +181 -144
- package/dist/index.js.map +1 -1
- package/docs/API.md +26 -1
- package/embed/index.html +1 -1
- package/examples/vanilla.html +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -224,6 +224,14 @@ export declare interface CreatePlayerOptions {
|
|
|
224
224
|
* 'custom'.
|
|
225
225
|
*/
|
|
226
226
|
statusOverlays?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Your page's Content-Security-Policy nonce, for the `<style>` tag the
|
|
229
|
+
* custom control bar injects. Needed only when `style-src` has no
|
|
230
|
+
* `'unsafe-inline'`: without the nonce the browser blocks the tag and the
|
|
231
|
+
* controls render unstyled. Pass the same value as your policy's
|
|
232
|
+
* `'nonce-…'` source. Ignored unless controls is 'custom'.
|
|
233
|
+
*/
|
|
234
|
+
cspNonce?: string;
|
|
227
235
|
/** Message on the end-of-stream card. Default: "This stream has ended". */
|
|
228
236
|
endedMessage?: string;
|
|
229
237
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -224,6 +224,14 @@ export declare interface CreatePlayerOptions {
|
|
|
224
224
|
* 'custom'.
|
|
225
225
|
*/
|
|
226
226
|
statusOverlays?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Your page's Content-Security-Policy nonce, for the `<style>` tag the
|
|
229
|
+
* custom control bar injects. Needed only when `style-src` has no
|
|
230
|
+
* `'unsafe-inline'`: without the nonce the browser blocks the tag and the
|
|
231
|
+
* controls render unstyled. Pass the same value as your policy's
|
|
232
|
+
* `'nonce-…'` source. Ignored unless controls is 'custom'.
|
|
233
|
+
*/
|
|
234
|
+
cspNonce?: string;
|
|
227
235
|
/** Message on the end-of-stream card. Default: "This stream has ended". */
|
|
228
236
|
endedMessage?: string;
|
|
229
237
|
/**
|