sanity-io / sanity-mux-player

Play videos in the frontend uploaded with the MUX Sanity plugin
https://github.com/sanity-io/sanity-plugin-mux-input
21 stars 5 forks source link

"API Test Purposes" is in the video #16

Closed jamesryan-dev closed 3 years ago

jamesryan-dev commented 3 years ago
Screenshot 2021-02-14 at 19 04 45

Player.js

<SanityMuxPlayer
          assetDocument={videoFile}
          autoload={true}
          autoplay={true}
          showControls={false}
        />

videoFile

Screenshot 2021-02-14 at 19 06 14

Any ideas as I believe I have followed correct installation and use of sanity.cms and Mux

jamesryan-dev commented 3 years ago

lol didn't realise you have to pay to use Mux L

so other than paying for Mux is there no alternative (free) in being able to add video files via sanity backend and reference them in the front-end?

jamesryan-dev commented 3 years ago

Got it working with the normal file upload and ref thanks