# Video Upload to YouTube and Vimeo using Theme Component

**URL:** https://meta.discourse.org/t/video-upload-to-youtube-and-vimeo-using-theme-component/170079
**Category:** Theme component
**Tags:** broken
**Created:** [November 13, 2020, 9:16pm UTC](https://meta.discourse.org/t/video-upload-to-youtube-and-vimeo-using-theme-component/170079 "2020-11-13T21:16:22Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![ti0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ti0/32/184402_2.png) [@ti0](https://meta.discourse.org/u/ti0)
#### Post date: [August 25, 2021, 5:02pm UTC](https://meta.discourse.org/t/video-upload-to-youtube-and-vimeo-using-theme-component/170079/14 "2021-08-25T17:02:13Z")

</div>

@linzo this is a CSP issue, it has nothing to do with the theme component. Please read about Discourse CSP here: [Mitigate XSS Attacks with Content Security Policy](https://meta.discourse.org/t/mitigate-xss-attacks-with-content-security-policy/104243)

> [@Zup](#):
>
> i’d prefer Vimeo uploads go to uploader’s account rather than my common account… possible?

@Zup, this is an additional feature request - possible of course but it is additional work which will have to be paid if you want it implemented. Let me know if you want that.

> [@Don](#):
>
> So the video cannot oneboxed and play on the forum because not ready.

Sorry for the delayed response - yes there is a transcoding process after the upload, and the upload dialog will show that before it embeds the video. This is working as expected on my side. It waits till the transcoding completes, only then it closes the dialog and embeds the video. Here is a demo:

https://player.vimeo.com/video/592291400?badge=0&autopause=0&player_id=0&app_id=58479&h=afab77c21c

---

_[View the full topic](https://meta.discourse.org/t/video-upload-to-youtube-and-vimeo-using-theme-component/170079)._
