sanity-plugin-mux-input 2.11.0 → 2.11.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 +1 -1
- package/src/components/VideoPlayer.tsx +2 -1
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { defer, timer, of, Observable, concat, throwError, from, Subject } from
|
|
|
13
13
|
import { styled, css } from "styled-components";
|
|
14
14
|
import { uuid } from "@sanity/uuid";
|
|
15
15
|
import { expand, concatMap, tap, switchMap, mergeMap, catchError, mergeMapTo, takeUntil } from "rxjs/operators";
|
|
16
|
-
import MuxPlayer from "@mux/mux-player-react";
|
|
16
|
+
import MuxPlayer from "@mux/mux-player-react/lazy";
|
|
17
17
|
import { IntentLink } from "sanity/router";
|
|
18
18
|
import isNumber from "lodash/isNumber.js";
|
|
19
19
|
import isString from "lodash/isString.js";
|
|
@@ -1526,7 +1526,7 @@ function VideoPlayer({
|
|
|
1526
1526
|
crossOrigin: "anonymous",
|
|
1527
1527
|
metadata: {
|
|
1528
1528
|
player_name: "Sanity Admin Dashboard",
|
|
1529
|
-
player_version: "2.11.
|
|
1529
|
+
player_version: "2.11.1",
|
|
1530
1530
|
page_type: "Preview Player"
|
|
1531
1531
|
},
|
|
1532
1532
|
audio: isAudio,
|