Does anyone have an idea on how to reset mux uploader after success?
I’m trying to implement a system that allows you upload a video and get the playback id on success before saving the playback id in a database.
<MuxUploader id="mux-uploader" noDrop endpoint={upload.url}
onSuccess={async () => {
const playback = await getPlaybackInfo(upload.id)
sectionFormik.setFieldValue("video", playback)
}}
/>
I’ve tried picking up bits from the mux + next example project but what keeps happening is that the uploader gets back the same playback id of a previous upload on success despite them being different videos