sanity-plugin-mux-input 2.9.0 → 2.9.1
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -3
- package/src/util/getPosterSrc.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -377,7 +377,7 @@ function getPosterSrc({
|
|
|
377
377
|
width
|
|
378
378
|
}) {
|
|
379
379
|
const params = { fit_mode, height, width };
|
|
380
|
-
time && (params.time = time);
|
|
380
|
+
time !== void 0 && (params.time = time);
|
|
381
381
|
const { playbackId, searchParams } = createUrlParamsObject(client, asset, params, "t");
|
|
382
382
|
return `https://image.mux.com/${playbackId}/thumbnail.png?${searchParams}`;
|
|
383
383
|
}
|
|
@@ -916,7 +916,7 @@ function VideoPlayer({
|
|
|
916
916
|
crossOrigin: "anonymous",
|
|
917
917
|
metadata: {
|
|
918
918
|
player_name: "Sanity Admin Dashboard",
|
|
919
|
-
player_version: "2.9.
|
|
919
|
+
player_version: "2.9.1",
|
|
920
920
|
page_type: "Preview Player"
|
|
921
921
|
},
|
|
922
922
|
audio: isAudio,
|