muxinc / strapi-plugin-mux-video-uploader

A Strapi plugin for managing uploads to Mux.
https://mux.com
24 stars 19 forks source link

Possible wrong data persisted on upload? #31

Closed fsiwiec closed 2 years ago

fsiwiec commented 2 years ago

Hi,

when I upload video via directUpload only 'title' and 'upload_id' is persisted (asset and playback ids are null) and in this case while upload_id is populated it does no correspond to any asset id in mux.

when I upload video via remoteUpload then only 'title' and 'asset_id' is persisted and the rest is null - in this case asset_id is correct

Strapi: 4.0.5 Plugin: 2.1.1

Assets are correctly uploaded into mux, just strapi can't show them since data are wrong/missing

Am I missing something?

erikpena commented 2 years ago

Hello @lordjim666, Thank you for filing this, it sounds like webhooks has not been set up which is needed to update the fields as videos are getting processed within Mux.

If you're working with an instance of Strapi that is available on the public internet (as in, available that Mux can reach it via a url), then take a look at the Webhooks section of our documentation to see how to configure webhooks.

If you're working with a local instance of Strapi that is not available on the public internet, you can still use this plugin, you'll just need to use something called a "Webhook Relay" to have webhook events forwarded to your Strapi instance. Take a look at this item in our FAQ section.

Thanks!