How do I get the ID of a video after successfully uploading with mux-uploader? #781
-
I've followed these docs here and have uploads working, but can't figure out how to get the ID of the video I just uploaded. There's nothing useful in the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I was briefly excited to find that someone had asked this question, then disheartened to see that nobody has answered it. |
Beta Was this translation helpful? Give feedback.
-
Did you figure it out @hoggworks? |
Beta Was this translation helpful? Give feedback.
-
@jackmcdade @hoggworks @spoeken Argh, apologies about the ghost town here, we need to get monitoring implemented on this channel. You're right in saying there's a gap in our docs for this process. Taking a note to improve that on our end, but in the meantime, here's some more details on how to get the This approach allows you to asynchronously handle the upload and processing of videos, which can take some time depending on the size and complexity of the video. Webhooks will ensure that your application is notified as soon as the video is ready. The overall flow generally looks like this: 1. Webhook setup
2. Initial upload
3. Handle webhook eventsListen for specific webhook events, particularly:
The 4. Store the informationSave the 5. Use the IDsYou can use the Note that this process happens asynchronously, so your application should be designed to handle the delay between the initial upload and when the video becomes available for playback. For more detailed implementations, you can refer to the examples provided in the Mux documentation for various frameworks: |
Beta Was this translation helpful? Give feedback.
@jackmcdade @hoggworks @spoeken
Argh, apologies about the ghost town here, we need to get monitoring implemented on this channel.
You're right in saying there's a gap in our docs for this process. Taking a note to improve that on our end, but in the meantime, here's some more details on how to get the
upload_id
using Mux webhooks.This approach allows you to asynchronously handle the upload and processing of videos, which can take some time depending on the size and complexity of the video. Webhooks will ensure that your application is notified as soon as the video is ready.
The overall flow generally looks like this:
1. Webhook setup