0.0.27 • Published 5 years ago

sanity-mux-player v0.0.27

Weekly downloads
724
License
MIT
Repository
github
Last release
5 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

5 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago