sanity-plugin-mux-input 2.0.10 → 2.0.11
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/lib/_chunks/{Input-10c40f9d.cjs → Input-168c8663.cjs} +3 -3
- package/lib/_chunks/Input-168c8663.cjs.map +1 -0
- package/lib/_chunks/{Input-47d8110b.js → Input-8f597807.js} +3 -3
- package/lib/_chunks/Input-8f597807.js.map +1 -0
- package/lib/_chunks/{Preview-8d7d229a.cjs → Preview-13dab9ac.cjs} +2 -2
- package/lib/_chunks/{Preview-8d7d229a.cjs.map → Preview-13dab9ac.cjs.map} +1 -1
- package/lib/_chunks/{Preview-c5529cc8.js → Preview-bf9729e4.js} +2 -2
- package/lib/_chunks/{Preview-c5529cc8.js.map → Preview-bf9729e4.js.map} +1 -1
- package/lib/_chunks/{VideoSource.styled-c3c5caed.js → VideoSource.styled-626b50aa.js} +2 -2
- package/lib/_chunks/{VideoSource.styled-c3c5caed.js.map → VideoSource.styled-626b50aa.js.map} +1 -1
- package/lib/_chunks/{VideoSource.styled-5e9c373e.cjs → VideoSource.styled-8a7ad588.cjs} +2 -2
- package/lib/_chunks/{VideoSource.styled-5e9c373e.cjs.map → VideoSource.styled-8a7ad588.cjs.map} +1 -1
- package/lib/_chunks/{index-02da5dc2.cjs → index-24ed281f.cjs} +3 -3
- package/lib/_chunks/{index-02da5dc2.cjs.map → index-24ed281f.cjs.map} +1 -1
- package/lib/_chunks/{index-44012f6e.js → index-4ba017a8.js} +3 -3
- package/lib/_chunks/{index-44012f6e.js.map → index-4ba017a8.js.map} +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.js +1 -1
- package/package.json +2 -2
- package/src/components/Player.tsx +6 -0
- package/lib/_chunks/Input-10c40f9d.cjs.map +0 -1
- package/lib/_chunks/Input-47d8110b.js.map +0 -1
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
VideoContainer,
|
|
28
28
|
} from './Player.styled'
|
|
29
29
|
import {UploadProgress} from './UploadProgress'
|
|
30
|
+
import pluginPkg from './../../package.json'
|
|
30
31
|
|
|
31
32
|
interface Props extends Pick<MuxInputProps, 'onChange' | 'readOnly'> {
|
|
32
33
|
buttons?: React.ReactNode
|
|
@@ -139,6 +140,11 @@ const MuxVideoOld = ({asset, buttons, readOnly, onChange, dialogState, setDialog
|
|
|
139
140
|
slot="media"
|
|
140
141
|
preload="metadata"
|
|
141
142
|
crossOrigin="anonymous"
|
|
143
|
+
metadata={{
|
|
144
|
+
player_name: 'Sanity Admin Dashboard',
|
|
145
|
+
player_version: pluginPkg.version,
|
|
146
|
+
page_type: 'Preview Player',
|
|
147
|
+
}}
|
|
142
148
|
>
|
|
143
149
|
<ThumbnailsMetadataTrack asset={asset} />
|
|
144
150
|
</MuxVideo>
|