Nutritious Pumpkin Mash

    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

    Install

    npm i sanity-mux-player

    DownloadsWeekly Downloads

    955

    Version

    0.0.27

    License

    MIT

    Unpacked Size

    17.1 kB

    Total Files

    9

    Last publish

    Collaborators

    • joneidejohnsen
    • nina.andal
    • rankers
    • snorreeb
    • mattcraig
    • vincentquigley
    • stipsan
    • michael-sanity
    • rubioz
    • tonina
    • ritasdias
    • simeonsanity
    • kmelve
    • bjoerge
    • rexxars
    • skogsmaskin
    • simenss
    • robinpyon
    • mariuslundgard
    • sanity-io
    • evenw
    • radhe_sanity
    • rbotten
    • vicbergquist
    • judofyr
    • obliadp
    • dcilke
    • fredcarlsen
    • jorn_georg
    • hermanw
    • svirs
    • mikolajsanity
    • sgulseth
    • atombender