sanity-io / sanity-plugin-mux-input

An input component that integrates Sanity Studio with MUX.com video encoding/hosting service.
https://mux.com
MIT License
45 stars 55 forks source link

Unable to import videos #358

Closed WebShapedBiz closed 2 months ago

WebShapedBiz commented 2 months ago

Describe the bug

Hi, as I understand, from the plugin version 2.3.0. it should be possible to import videos already present on MUX, not uploaded using this plugin, but on version 2.3.4. I'm getting a "No videos in this dataset" message for some reason. There are no errors in the console and I double-checked the Token ID and Secret.

Which versions of Sanity are you using?

@sanity/cli (global) 3.36.4 (up to date) @sanity/cli 3.36.4 (up to date) @sanity/eslint-config-studio 4.0.0 (up to date) @sanity/google-maps-input 4.0.0 (up to date) @sanity/locale-hr-hr 1.1.5 (up to date) @sanity/ui 2.1.0 (up to date) @sanity/vision 3.36.4 (up to date) sanity 3.36.4 (up to date)

What operating system are you using?

elementary OS 6.1 Jólnir (based on Ubuntu 20.04.6 LTS)

Which versions of Node.js / npm are you running?

npm: v10.2.4 node: v20.11.0

Thank you for maintaining this plugin

WebShapedBiz commented 2 months ago

Sorry for this, I just found out about the import button, I thought that the videos would be automatically browsable.

Joobs commented 1 month ago

@WebShapedBiz I am having the same issue, where is the option to import?

I have existing videos on Mux and want to use those inside a new Sanity project.

WebShapedBiz commented 1 month ago

@Joobs you can find it on Videos dashboard plugin, on the top right part of the screen.

Slika zaslona s 2024-05-24 14-38-49

Joobs commented 1 month ago

@WebShapedBiz Thanks! I hadn't even realised there was a Videos tab.

I was trying to do it via the field directly, since that is where you can change the API key, so I also assumed any other options would be there.

WebShapedBiz commented 1 month ago

Same here, I've seen it much later :-)