@eluvio/elv-player-js 2.1.34 → 2.1.36

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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "_index-DC2PyES4.js": {
3
- "file": "index-DC2PyES4.js",
2
+ "_index-B1gRiRD2.mjs": {
3
+ "file": "index-B1gRiRD2.mjs",
4
4
  "name": "index",
5
5
  "dynamicImports": [
6
6
  "node_modules/@eluvio/crypto/src/index.js",
@@ -9,8 +9,8 @@
9
9
  "node_modules/dashjs/dist/modern/esm/dash.all.min.js"
10
10
  ]
11
11
  },
12
- "_index-DMGKQjFi.mjs": {
13
- "file": "index-DMGKQjFi.mjs",
12
+ "_index-B2qdKLww.js": {
13
+ "file": "index-B2qdKLww.js",
14
14
  "name": "index",
15
15
  "dynamicImports": [
16
16
  "node_modules/@eluvio/crypto/src/index.js",
@@ -25,7 +25,7 @@
25
25
  "src": "lib/index.js",
26
26
  "isEntry": true,
27
27
  "imports": [
28
- "_index-DC2PyES4.js"
28
+ "_index-B2qdKLww.js"
29
29
  ]
30
30
  },
31
31
  "lib/player/Analytics.js": {
@@ -35,12 +35,12 @@
35
35
  "isDynamicEntry": true
36
36
  },
37
37
  "node_modules/@eluvio/crypto/src/index.js": {
38
- "file": "index-jSw7wEzz.js",
38
+ "file": "index-GolQhNCt.js",
39
39
  "name": "index",
40
40
  "src": "node_modules/@eluvio/crypto/src/index.js",
41
41
  "isDynamicEntry": true,
42
42
  "imports": [
43
- "_index-DC2PyES4.js"
43
+ "_index-B2qdKLww.js"
44
44
  ]
45
45
  },
46
46
  "node_modules/dashjs/dist/modern/esm/dash.all.min.js": {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DC2PyES4.js");exports.EluvioPlayerParameters=e.PlayerParameters;exports.InitializeEluvioPlayer=e.Initialize;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-B2qdKLww.js");exports.EluvioPlayerParameters=e.PlayerParameters;exports.InitializeEluvioPlayer=e.Initialize;
@@ -1,4 +1,4 @@
1
- import { P as r, I as i } from "./index-DMGKQjFi.mjs";
1
+ import { P as r, I as i } from "./index-B1gRiRD2.mjs";
2
2
  export {
3
3
  r as EluvioPlayerParameters,
4
4
  i as InitializeEluvioPlayer
@@ -50047,7 +50047,7 @@ function VP() {
50047
50047
  ElvCrypto: async () => {
50048
50048
  try {
50049
50049
  if (!a.elvCrypto) {
50050
- const s = (await import("./index-BzoP9Fdl.mjs")).default;
50050
+ const s = (await import("./index-Dy_Z1b9T.mjs")).default;
50051
50051
  a.elvCrypto = await new s().init();
50052
50052
  }
50053
50053
  return a.elvCrypto;
@@ -67162,7 +67162,7 @@ class Kw {
67162
67162
  throw Error("No valid protocol / DRM combination available");
67163
67163
  }
67164
67164
  const { playoutUrl: b, drms: x, thumbnailTrack: E, properties: C } = this.sourceOptions.playoutOptions[m].playoutMethods[v], T = b.split("/").find((R) => R.startsWith("hq__")), k = (C || {}).start_offset_float || 0, M = (o || 0) + (k || 0);
67165
- let O = C.rate;
67165
+ let O = (C || {}).rate;
67166
67166
  if (O && typeof O == "string") {
67167
67167
  const [R, $] = O.split("/");
67168
67168
  $ ? O = parseInt(R) / parseInt($) : O = parseInt(R);
@@ -67187,7 +67187,7 @@ class Kw {
67187
67187
  clipEnd: u.clip_end,
67188
67188
  trimOffset: k,
67189
67189
  thumbnailOffset: M,
67190
- frameRateRat: C.rate,
67190
+ frameRateRat: (C || {}).rate,
67191
67191
  frameRate: O,
67192
67192
  sessionId: this.sourceOptions.playoutOptions.sessionId,
67193
67193
  multiviewOptions: {