@eluvio/elv-player-js 2.1.37 → 2.1.38

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,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-BrDwm9Cg.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-BvW6qlJm.mjs";
2
2
  class BA {
3
3
  constructor(B) {
4
4
  this.wasm = B;
@@ -329,7 +329,8 @@ export class EluvioPlayer {
329
329
  const versionHash = playoutUrl.split("/").find(segment => segment.startsWith("hq__"));
330
330
 
331
331
  const offset = (properties || {}).start_offset_float || 0;
332
- const thumbnailOffset = (clipStart || 0) + (offset || 0);
332
+ // const thumbnailOffset = (clipStart || 0) + (offset || 0);
333
+
333
334
  let frameRate = (properties || {}).rate;
334
335
  if(frameRate && typeof frameRate === "string") {
335
336
  const [num, denom] = frameRate.split("/");
@@ -360,7 +361,7 @@ export class EluvioPlayer {
360
361
  clipStart: options.clip_start,
361
362
  clipEnd: options.clip_end,
362
363
  trimOffset: offset,
363
- thumbnailOffset,
364
+ thumbnailOffset: offset,
364
365
  frameRateRat: (properties || {}).rate,
365
366
  frameRate,
366
367
  sessionId: this.sourceOptions.playoutOptions.sessionId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-player-js",
3
- "version": "2.1.37",
3
+ "version": "2.1.38",
4
4
  "description": "![Eluvio Logo](lib/static/images/Logo.png \"Eluvio Logo\")",
5
5
  "main": "dist/elv-player-js.es.js",
6
6
  "license": "MIT",