@oddin-gg/havik-player 2.12.0 → 2.13.1
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 +4 -1
- package/dist/havik-player.global.js +18 -18
- 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 +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +310 -266
- package/dist/index.js.map +1 -1
- package/docs/API.md +14 -12
- package/embed/index.html +1 -1
- package/examples/vanilla.html +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -359,7 +359,10 @@ turns beacons off.
|
|
|
359
359
|
|
|
360
360
|
If your page sets a Content-Security-Policy, allow the beacons host in
|
|
361
361
|
`connect-src`: `https://beacons.oddin-video.gg` in production and
|
|
362
|
-
`https://beacons-dev.oddin-video.gg` in integration.
|
|
362
|
+
`https://beacons-dev.oddin-video.gg` in integration. If the policy blocks it,
|
|
363
|
+
playback is unaffected. The SDK prints one `console.warn` naming the origin to
|
|
364
|
+
add, and emits a non-fatal [`warning`](docs/API.md#player-events) event with
|
|
365
|
+
the same sentence. It then sends no more beacons from that page.
|
|
363
366
|
|
|
364
367
|
### Against an older server: if your `baseUrl` is not a `feed` host, set `analytics.endpoint`
|
|
365
368
|
|