Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link up Existing Video in Mux #53

Closed
davidalexander opened this issue Nov 11, 2021 · 7 comments
Closed

Link up Existing Video in Mux #53

davidalexander opened this issue Nov 11, 2021 · 7 comments
Labels

Comments

@davidalexander
Copy link

Hi. Thanks so much for the plugin.

Can I ask if there's a way to associate/select a video asset that already exists in Mux e.g. by its asset ID?

Effectively, we are implementing Sanity as the CMS and need to move the existing video assets into it but don't want to re-upload them all.

Thanks!

@bitterbit
Copy link

bitterbit commented Mar 23, 2022

I gave this a try today but got stuck

  • I added "Import" an import button to src/components/Input.js
  • and creating src/components/ImportAsset.js to be the popup that lists the assets that are available on the mux servers

I got stuck when I saw that mux api access (src/actions/assets.js) does not query mux directly
rather use a local endpoint (/addons/mux/assets) which has no documentation.

If someone knows which endpoint under sanity's /addons/mux returns a list of all assets that would be great 👀

EDIT: also this comment might be useful #8 (comment)

@Ojay
Copy link

Ojay commented Oct 27, 2022

I've a similar need to this.... we're migrating an old WordPress setup over to Sanity and so need to link up our Mux Input with the data from WP.

Would I be right in thinking that we'd need to batch import all of our Mux data into Sanity as a mux.videoAsset and then go about linking up the Mux Input to the relevant mux.videoAsset?

Essentially, we're looking for guidance on migrating existing setups to Sanity / Mux Input setups.

Thanks for an amazing plugin and just generally being awesome... I absolutely love Sanity!

Cheers

@danielskogstad
Copy link

We have over 2000 existing videos uploaded to mux that we use in our app. We hoped the Sanity mux plugin would allow us to browse and pick videos from the library, so we could showcase some of them on the website to promote our app content, but this plugin seems to only allow uploading new ones.

@lukasentebbe
Copy link

Any Progress here? I think without being able to see/pull existing Mux Videos the connection is kind of useless.

@williswcy
Copy link

Is there any plan for implementing this? If not, I need to consider other alternatives

@iamkhushbajwa
Copy link

I don't suppose there's been an update here?

@hdoro
Copy link
Collaborator

hdoro commented Apr 8, 2024

Hey everyone 👋

I'm happy to announce that importing existing videos from the configured Mux space is now possible with plugin version 2.3.0 (see #350 ) ✅

@hdoro hdoro closed this as completed Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants