sanity-mux-player
sanity-mux-player
npm i sanity-mux-player
Deprecated!
Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
sanity-mux-player

sanity-mux-player

An input component that integrates Sanity Studio with MUX.com video encoding/hosting service.

by sanity-io

0.0.27 (see all)License:MITTypeScript:Not Found
npm i sanity-mux-player
Readme

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

Downloads/wk

869

GitHub Stars

12

LAST COMMIT

1yr ago

MAINTAINERS

21

CONTRIBUTORS

7

OPEN ISSUES

21

OPEN PRs

11
VersionTagPublished
0.0.27
latest
2yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate