@eluvio/elv-player-js 2.0.9 → 2.0.10
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/.vite/manifest.json +17 -17
- package/dist/{Analytics-Bgp5dTWZ.mjs → Analytics-DSGc4x0x.mjs} +1 -1
- package/dist/{Analytics-D9BYYseM.js → Analytics-_RraLs1Y.js} +1 -1
- package/dist/{dash.all.min-BokmrQMI.mjs → dash.all.min-12B52EnU.mjs} +1 -1
- package/dist/{dash.all.min-Dq_ZZMkT.js → dash.all.min-DDF1OUb3.js} +1 -1
- package/dist/elv-player-js.cjs.js +1 -1
- package/dist/elv-player-js.es.js +1 -1
- package/dist/{index-Bv5wy2n4.js → index-CIjCdMyr.js} +56 -56
- package/dist/{index-DnHGnI-z.js → index-CLXo7KyT.js} +1 -1
- package/dist/{index-CUHcHn6D.mjs → index-DH690yy1.mjs} +3399 -3387
- package/dist/{index-BwEKfarP.mjs → index-DRFm2mW0.mjs} +1 -1
- package/lib/player/Player.js +5 -2
- package/lib/ui/Observers.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as cI, e as CI, r as vA, a as eI, b as fA, i as dA, s as xA, g as wI } from "./index-
|
|
1
|
+
import { c as cI, e as CI, r as vA, a as eI, b as fA, i as dA, s as xA, g as wI } from "./index-DH690yy1.mjs";
|
|
2
2
|
class EA {
|
|
3
3
|
constructor(I) {
|
|
4
4
|
this.wasm = I;
|
package/lib/player/Player.js
CHANGED
|
@@ -774,10 +774,13 @@ export class EluvioPlayer {
|
|
|
774
774
|
|
|
775
775
|
const client = await this.__Client();
|
|
776
776
|
|
|
777
|
+
const authorizationToken = this.sourceOptions &&
|
|
778
|
+
this.sourceOptions.playoutParameters &&
|
|
779
|
+
this.sourceOptions.playoutParameters.authorizationToken;
|
|
777
780
|
const audit =
|
|
778
781
|
this.isLive ?
|
|
779
|
-
await client.AuditStream({versionHash: this.contentHash}) :
|
|
780
|
-
await client.AuditContentObject({versionHash: this.contentHash});
|
|
782
|
+
await client.AuditStream({versionHash: this.contentHash, authorizationToken}) :
|
|
783
|
+
await client.AuditContentObject({versionHash: this.contentHash, authorizationToken});
|
|
781
784
|
|
|
782
785
|
if(!audit.verified) {
|
|
783
786
|
return;
|
package/lib/ui/Observers.js
CHANGED
|
@@ -126,7 +126,7 @@ export const ObserveVideoTime = ({video, rate=10, setCurrentTime}) => {
|
|
|
126
126
|
|
|
127
127
|
export const ObserveResize = ({target, setSize, setOrientation, setDimensions}) => {
|
|
128
128
|
let dimensionsUpdateTimeout;
|
|
129
|
-
|
|
129
|
+
|
|
130
130
|
const ResizeUpdate = () => {
|
|
131
131
|
clearTimeout(dimensionsUpdateTimeout);
|
|
132
132
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eluvio/elv-player-js",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"package-lock.json"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@eluvio/elv-client-js": "^4.0.
|
|
39
|
+
"@eluvio/elv-client-js": "^4.0.92",
|
|
40
40
|
"dashjs": "~4.7.0",
|
|
41
41
|
"focus-visible": "^5.2.0",
|
|
42
42
|
"hls.js": "~1.5.12",
|