@oddin-gg/havik-player 1.6.0 → 1.6.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.
@@ -14,9 +14,11 @@
14
14
  (async () => {
15
15
  const player = await HavikPlayer.createPlayer({
16
16
  video: document.getElementById('player'),
17
- baseUrl: 'https://streams.oddin.gg',
17
+ baseUrl: 'https://feed-dev.oddin-video.gg',
18
18
  matchUrn: 'od:match:1234',
19
- credential: { apiKey: 'pk_live_…' }, // scope its AllowedOrigins to this page's origin
19
+ // Key and baseUrl must be the same environment: pk_test_ with feed-dev,
20
+ // pk_live_ with feed. Scope its AllowedOrigins to this page's origin.
21
+ credential: { apiKey: 'pk_test_…' },
20
22
  autoplay: true,
21
23
  muted: true,
22
24
  waitForLive: true, // arm now, auto-play the instant the match goes live
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oddin-gg/havik-player",
3
- "version": "1.6.0",
3
+ "version": "1.6.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,