# Onebox not embedding locally uploaded media files

**URL:** <https://meta.discourse.org/t/onebox-not-embedding-locally-uploaded-media-files/26238>\
**Category:** Bug\
**Created:** [2015 年3 月 11 日 21: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:** 7

<div class="post-metadata">

作者： ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
发布日期： [2015 年3 月 26 日 06:00 UTC](https://meta.discourse.org/t/onebox-not-embedding-locally-uploaded-media-files/26238/7 "2015-03-26T06:00:22Z")

</div>

I think this is a bug behavior, so I re-titled it as such. The local links shouldn’t really be treated differently here.

* * *

The bug is that this will onebox:

```
http://joes-redirector.com/redirect?url=discourse.example.com/uploads/default/40190/4e05693704bf6ba6.mp3

```

And this won’t:

```
/uploads/default/40190/4e05693704bf6ba6.mp3

```

---

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