# Handling uploaded videos

**URL:** <https://meta.discourse.org/t/handling-uploaded-videos/79917>\
**Category:** Development\
**Created:** [February 6, 2018, 3:39pm UTC](https://meta.discourse.org/t/handling-uploaded-videos/79917 "2018-02-06T15:39:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![twbartlett](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twbartlett/32/115831_2.png) [@twbartlett](https://meta.discourse.org/u/twbartlett)\
**Post date:** [February 15, 2018, 11:23am UTC](https://meta.discourse.org/t/handling-uploaded-videos/79917/3 "2018-02-15T11:23:20Z")

</div>

Thanks for this, I think our requirement was mainly to allow users to directly upload a video into discourse - which I understand is an edge-case at best.

We will attempt something a bit like this;

- User uploads video file
- Use post events / hooks to transfer the file to a video encoding service (vimeo, coconut or something)
- Use API / Webhooks to respond to external video ready event
- Re-write / Rebake the original post with a URL to the externally hosted, encoded video (e.g. `vimeo.com/12345`) which OneBox can handle nicely for us.

At least, that’s the theory. It’s a long way around, but it will fit the client’s requirements nicely.

---

_[View the full topic](https://meta.discourse.org/t/handling-uploaded-videos/79917)._
