@eluvio/elv-player-js 2.1.38 → 2.1.39

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-BvW6qlJm.mjs": {
3
- "file": "index-BvW6qlJm.mjs",
2
+ "_index-5Lk9ql8q.mjs": {
3
+ "file": "index-5Lk9ql8q.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-CBx5553L.js": {
13
- "file": "index-CBx5553L.js",
12
+ "_index-CwQxQpwF.js": {
13
+ "file": "index-CwQxQpwF.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-CBx5553L.js"
28
+ "_index-CwQxQpwF.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-C2bkd_1a.js",
38
+ "file": "index-DSLiwjPo.js",
39
39
  "name": "index",
40
40
  "src": "node_modules/@eluvio/crypto/src/index.js",
41
41
  "isDynamicEntry": true,
42
42
  "imports": [
43
- "_index-CBx5553L.js"
43
+ "_index-CwQxQpwF.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-CBx5553L.js");exports.EluvioPlayerParameters=e.PlayerParameters;exports.InitializeEluvioPlayer=e.Initialize;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CwQxQpwF.js");exports.EluvioPlayerParameters=e.PlayerParameters;exports.InitializeEluvioPlayer=e.Initialize;
@@ -1,4 +1,4 @@
1
- import { P as r, I as i } from "./index-BvW6qlJm.mjs";
1
+ import { P as r, I as i } from "./index-5Lk9ql8q.mjs";
2
2
  export {
3
3
  r as EluvioPlayerParameters,
4
4
  i as InitializeEluvioPlayer
@@ -185,6 +185,7 @@ const $t = {
185
185
  clipRelativeToUntrimmed: !0,
186
186
  audioTrackLabel: void 0,
187
187
  vertical: !1,
188
+ ignoreTrimming: !1,
188
189
  options: void 0
189
190
  }
190
191
  },
@@ -50047,7 +50048,7 @@ function VP() {
50047
50048
  ElvCrypto: async () => {
50048
50049
  try {
50049
50050
  if (!a.elvCrypto) {
50050
- const s = (await import("./index-CN-WnpjO.mjs")).default;
50051
+ const s = (await import("./index-BaD3Swhp.mjs")).default;
50051
50052
  a.elvCrypto = await new s().init();
50052
50053
  }
50053
50054
  return a.elvCrypto;
@@ -67079,13 +67080,12 @@ class Kw {
67079
67080
  t.objectId = e.utils.DecodeVersionHash(R.mediaHash).objectId, t.versionHash = R.mediaHash, this.sourceOptions.playoutOptions = void 0;
67080
67081
  }
67081
67082
  let a, s, u = {
67082
- ignore_trimming: t.ignoreTrimming,
67083
67083
  resolve: t.resolve,
67084
67084
  ...t.options || {},
67085
67085
  clip_start: (t.options || {}).clip_start || t.clipStart,
67086
67086
  clip_end: (t.options || {}).clip_end || t.clipEnd
67087
67087
  };
67088
- t.vertical && (u.v = 1);
67088
+ t.ignoreTrimming && (u.ignore_trimming = !0), t.vertical && (u.v = 1);
67089
67089
  let o, c;
67090
67090
  if ((u.clip_start || u.clip_end) && (o = parseFloat(u.clip_start || 0), c = parseFloat(u.clip_end || 0), delete u.clip_start, delete u.clip_end), !t.channel) {
67091
67091
  let R = await e.AvailableOfferings({
@@ -67115,7 +67115,7 @@ class Kw {
67115
67115
  let R;
67116
67116
  if (!o && !c)
67117
67117
  R = await p(u);
67118
- else if (!t.clipRelativeToUntrimmed)
67118
+ else if (!t.clipRelativeToUntrimmed || t.ignoreTrimming)
67119
67119
  R = await p({
67120
67120
  ...u,
67121
67121
  clip_start: o,
@@ -1,4 +1,4 @@
1
- import { c as DI, r as tI, a as TA, b as rI, d as oA, e as uA, f as PA, g as cI } from "./index-BvW6qlJm.mjs";
1
+ import { c as DI, r as tI, a as TA, b as rI, d as oA, e as uA, f as PA, g as cI } from "./index-5Lk9ql8q.mjs";
2
2
  class BA {
3
3
  constructor(B) {
4
4
  this.wasm = B;