@oddin-gg/havik-player 2.2.0 → 2.2.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 +17 -17
- 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.js +198 -177
- package/dist/index.js.map +1 -1
- package/docs/API.md +7 -3
- package/embed/index.html +1 -1
- package/examples/vanilla.html +1 -1
- package/package.json +1 -1
package/docs/API.md
CHANGED
|
@@ -1243,9 +1243,13 @@ The document lists the current base URL per region and is served with
|
|
|
1243
1243
|
`Access-Control-Allow-Origin: *`, so any backend or build pipeline can consume it.
|
|
1244
1244
|
If an endpoint moves, most likely in regions with distinct internet regulations,
|
|
1245
1245
|
the directory updates and your backend follows, with no app release or store
|
|
1246
|
-
re‑review.
|
|
1247
|
-
|
|
1248
|
-
|
|
1246
|
+
re‑review.
|
|
1247
|
+
|
|
1248
|
+
Each environment publishes its own directory, and the same host carries the
|
|
1249
|
+
status page with live availability for every Havik service:
|
|
1250
|
+
`https://status-dev.oddin-video.gg` for integration,
|
|
1251
|
+
`https://status.oddin-video.gg` for production. Point your backend at the one
|
|
1252
|
+
whose `baseUrl` you serve.
|
|
1249
1253
|
|
|
1250
1254
|
---
|
|
1251
1255
|
|
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@2.2.
|
|
26
|
+
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.2.2/dist/havik-player.global.js" integrity="sha384-enDI09U/mZkWZv4wokBePsFU+41ziNpGQaN3/jLINZ4DDITT9HbN6liyH2HX2gF4" 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@2.2.
|
|
15
|
+
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.2.2/dist/havik-player.global.js" integrity="sha384-enDI09U/mZkWZv4wokBePsFU+41ziNpGQaN3/jLINZ4DDITT9HbN6liyH2HX2gF4" 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": "2.2.
|
|
3
|
+
"version": "2.2.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,
|