0.0.27 • Published 4 years ago

sanity-mux-player v0.0.27

Weekly downloads
724
License
MIT
Repository
github
Last release
4 years ago

Sanity Mux Video Player

Play videos from MUX.com integrated with the Sanity plugin sanity-plugin-mux-input

Using

  • First you need to have a mux.videoAsset asset document in your hand. These documents are referenced to in the type mux.video that you will use inside your own types.

  • Then use the player like so:

<SanityMuxPlayer
  assetDocument={assetDocument}
  autoload={true | false}
  autoplay={true | false}
  className={string}
  height={number | percent}
  loop={true | false}
  muted={true | false}
  showControls={true | false}
  style={{}}
  width={number | percent}
/>

Codebox example

Run the test app on Codesandbox

0.0.27

4 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago