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.mjs
CHANGED
|
@@ -376,7 +376,7 @@ function getPosterSrc({
|
|
|
376
376
|
width
|
|
377
377
|
}) {
|
|
378
378
|
const params = { fit_mode, height, width };
|
|
379
|
-
time && (params.time = time);
|
|
379
|
+
time !== void 0 && (params.time = time);
|
|
380
380
|
const { playbackId, searchParams } = createUrlParamsObject(client, asset, params, "t");
|
|
381
381
|
return `https://image.mux.com/${playbackId}/thumbnail.png?${searchParams}`;
|
|
382
382
|
}
|
|
@@ -915,7 +915,7 @@ function VideoPlayer({
|
|
|
915
915
|
crossOrigin: "anonymous",
|
|
916
916
|
metadata: {
|
|
917
917
|
player_name: "Sanity Admin Dashboard",
|
|
918
|
-
player_version: "2.9.
|
|
918
|
+
player_version: "2.9.1",
|
|
919
919
|
page_type: "Preview Player"
|
|
920
920
|
},
|
|
921
921
|
audio: isAudio,
|