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.
@@ -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>