# Onebox not embedding locally uploaded media files

**URL:** <https://meta.discourse.org/t/onebox-not-embedding-locally-uploaded-media-files/26238>\
**Category:** Bug\
**Created:** [11 مارس 2015، 9:34م UTC](https://meta.discourse.org/t/onebox-not-embedding-locally-uploaded-media-files/26238 "2015-03-11T21:34:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![optimus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/optimus/32/39715_2.png) [@optimus](https://meta.discourse.org/u/optimus)\
**Post date:** [11 مارس 2015، 9:34م UTC](https://meta.discourse.org/t/onebox-not-embedding-locally-uploaded-media-files/26238/1 "2015-03-11T21:34:49Z")

</div>

Hi all,

One of the uses of my Discourse will be a video “library” where I want to allow moderators to post video tutorials to help users. I enabled the “Enable embedding of swf and flv (Adobe Flash) links in oneboxes…” option under /admin/site\_settings/category/onebox, and then added a new topic and uploaded a flv file.

Below is what it looks like…

 ![](https://global.discourse-cdn.com/meta/original/3X/7/1/712a7933ecc5ad0e3c7120cbb5e83a68ce988352.jpg)

What I want is for the flv file to onebox or embed in the topic, not a link to download. So then I tried changing the link using the Editor and used the “Insert Hyperlink” button in the editor to change it from…

```
<a class="attachment" href="/uploads/default/32/ec65cca47b7bff0d.flv">How to open a service request.flv</a>

```

to…

```
[how to create a service request][1]

  [1]: http://discourse.mydomain.org/uploads/default/32/ec65cca47b7bff0d.flv

```

And it is just a link (no onebox) ☹. See below…

 ![](https://global.discourse-cdn.com/meta/original/3X/8/9/89c2f8ac4dc58e12934256e66825d7681932f3e7.jpg) 

Is there something else I need to do to have the flv files get onebox’d? Basically I want the flv files to just show embeded in the topic so the user does not have to download the flv file first - I’d like them to be able to just watch straight on the topic.

Thanks for any help or tips! If I am not understanding how this should work, please let me know what I am doing wrong, just started using Discourse recently.

PS - I have to put out there that the Discourse community has made me welcome and everyone has been super helpful to me. I am loving Discourse and I really think it’s going to benefit my organization.

Best,  
Chris

---

_[View the full topic](https://meta.discourse.org/t/onebox-not-embedding-locally-uploaded-media-files/26238)._
