@oddin-gg/havik-player 1.18.1 → 1.18.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/README.md +77 -65
- package/dist/havik-player.global.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/docs/API.md +134 -134
- package/docs/STABILITY.md +8 -7
- package/embed/index.html +1 -1
- package/examples/vanilla.html +1 -1
- package/package.json +2 -1
package/docs/STABILITY.md
CHANGED
|
@@ -19,7 +19,7 @@ breaking change → major. **Pin a version in production** (npm and the CDN URL)
|
|
|
19
19
|
|
|
20
20
|
**Advanced / experimental** (public but may evolve faster): `pollToLive`, `isOddinMessage`.
|
|
21
21
|
|
|
22
|
-
**Internal
|
|
22
|
+
**Internal**: **not** part of the public API and excluded from the type declarations
|
|
23
23
|
(`stripInternal`): the `PlaybackEngine` engine seam, `EngineEvent`, `resolvePlaybackOnce`,
|
|
24
24
|
`resolveCredential`. Do not depend on these.
|
|
25
25
|
|
|
@@ -33,9 +33,9 @@ breaking change → major. **Pin a version in production** (npm and the CDN URL)
|
|
|
33
33
|
## postMessage protocol (Mode C)
|
|
34
34
|
|
|
35
35
|
The host↔iframe protocol is versioned via `PROTOCOL_VERSION`, sent in `oddin:ready`.
|
|
36
|
-
Changes are additive within a major
|
|
37
|
-
protocol version differs from the host SDK's
|
|
38
|
-
version to avoid CDN auto-update skew.
|
|
36
|
+
Changes are additive within a major. `mountEmbed` logs a warning if the embed
|
|
37
|
+
page's protocol version differs from the host SDK's. Pin the embed page version
|
|
38
|
+
to the SDK version to avoid CDN auto-update skew.
|
|
39
39
|
|
|
40
40
|
## Browser support
|
|
41
41
|
|
|
@@ -48,9 +48,10 @@ Security and bug fixes target the latest published minor.
|
|
|
48
48
|
|
|
49
49
|
## Export control / cryptography note
|
|
50
50
|
|
|
51
|
-
This SDK performs no proprietary cryptography and bundles no DRM client/CDM. It
|
|
52
|
-
solely on the browser's built-in Encrypted Media Extensions (EME)
|
|
53
|
-
Content Decryption Module
|
|
51
|
+
This SDK performs no proprietary cryptography and bundles no DRM client/CDM. It
|
|
52
|
+
relies solely on the browser's built-in Encrypted Media Extensions (EME) and the
|
|
53
|
+
OS or browser-provided Content Decryption Module. The device id uses the standard
|
|
54
|
+
Web Crypto API. It is
|
|
54
55
|
publicly available open-source software. For US export classification this typically falls
|
|
55
56
|
under license-exception TSU / ECCN 5D002 NLR-eligible, but confirm the appropriate
|
|
56
57
|
classification with your legal/compliance team for your jurisdiction.
|
package/embed/index.html
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
apiKey, parentOrigin). When injected, the URL query string is IGNORED for
|
|
24
24
|
security; the api-key must NOT travel in the query in production.
|
|
25
25
|
-->
|
|
26
|
-
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@1.18.
|
|
26
|
+
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@1.18.2/dist/havik-player.global.js" integrity="sha384-x5N52M0d5W79TEJT7U7VHQ2CKuumXoxQfUXVwlztUIB2PS0mUcQaOEeJPZdrTa1k" crossorigin="anonymous"></script>
|
|
27
27
|
<script>
|
|
28
28
|
HavikPlayer.bootEmbed();
|
|
29
29
|
</script>
|
package/examples/vanilla.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
shipped in each npm release is pinned to that release with Subresource
|
|
13
13
|
Integrity, injected at publish time (scripts/inject-sri.mjs). In
|
|
14
14
|
production, always use a pinned + SRI'd tag like the released copy. -->
|
|
15
|
-
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@1.18.
|
|
15
|
+
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@1.18.2/dist/havik-player.global.js" integrity="sha384-x5N52M0d5W79TEJT7U7VHQ2CKuumXoxQfUXVwlztUIB2PS0mUcQaOEeJPZdrTa1k" crossorigin="anonymous"></script>
|
|
16
16
|
<script>
|
|
17
17
|
(async () => {
|
|
18
18
|
const player = await HavikPlayer.createPlayer({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oddin-gg/havik-player",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.2",
|
|
4
4
|
"description": "Havik HTML5 player SDK — LL-HLS + DRM playback for Oddin live streams (managed, bring-your-own-player, and iframe-embed modes).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"build:demo": "vite build",
|
|
62
62
|
"typecheck": "tsc --noEmit",
|
|
63
63
|
"lint": "eslint .",
|
|
64
|
+
"lint:prose": "node scripts/prose-lint.mjs",
|
|
64
65
|
"format": "prettier --write .",
|
|
65
66
|
"format:check": "prettier --check .",
|
|
66
67
|
"test": "vitest run",
|