This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

sanity-mux-player

0.0.27 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i sanity-mux-player

Weekly Downloads

1,077

Version

0.0.27

License

MIT

Unpacked Size

17.1 kB

Total Files

9

Last publish

Collaborators

  • drewsanity
  • refiito
  • sergeisarviro
  • ash
  • indrek.karner
  • cngonzalez-sanity
  • rdunk
  • rneatherway-sanity
  • ricokahler
  • pedro-sanity
  • jonabc
  • kenjonespizza
  • pauloborgesf
  • binoy14
  • simen.svale
  • svirs
  • josh_sanity_io
  • joneidejohnsen
  • nina.andal
  • rankers
  • snorreeb
  • mattcraig
  • vincentquigley
  • stipsan
  • michael-sanity
  • rubioz
  • tonina
  • ritasdias
  • simeonsanity
  • kmelve
  • bjoerge
  • rexxars
  • skogsmaskin
  • robinpyon
  • mariuslundgard
  • sanity-io
  • evenw
  • radhe_sanity
  • rbotten
  • judofyr
  • obliadp
  • dcilke
  • fredcarlsen
  • hermanw
  • sgulseth
  • atombender