@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.
- package/dist/.vite/manifest.json +7 -7
- package/dist/elv-player-js.cjs.js +1 -1
- package/dist/elv-player-js.es.js +1 -1
- package/dist/{index-BrDwm9Cg.mjs → index-BvW6qlJm.mjs} +1973 -1973
- package/dist/{index-C2Uu1zwT.js → index-C2bkd_1a.js} +1 -1
- package/dist/{index-1QIhnF0w.js → index-CBx5553L.js} +58 -58
- package/dist/{index-C1KZrkcN.mjs → index-CN-WnpjO.mjs} +1 -1
- package/lib/player/Player.js +3 -2
- package/package.json +1 -1
|
@@ -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-
|
|
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;
|
package/lib/player/Player.js
CHANGED
|
@@ -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,
|