# 将外部视频镜像到Discourse

**URL:** <https://meta.discourse.org/t/mirroring-external-videos-to-discourse/213574>\
**Category:** Feature\
**Created:** [2022年一月1日 08:45 UTC](https://meta.discourse.org/t/mirroring-external-videos-to-discourse/213574 "2022-01-01T08:45:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hnaseri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hnaseri/32/120660_2.png) [@hnaseri](https://meta.discourse.org/u/hnaseri)\
**Post date:** [2022年一月1日 08:45 UTC](https://meta.discourse.org/t/mirroring-external-videos-to-discourse/213574/1 "2022-01-01T08:45:28Z")

</div>

在我的 discourse 论坛中，有很多指向外部来源的媒体链接。我担心它们将来会失效。有什么方法可以提取所有这些媒体并将 url 更改为内部链接吗？

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2022年一月1日 13:12 UTC](https://meta.discourse.org/t/mirroring-external-videos-to-discourse/213574/2 "2022-01-01T13:12:41Z")

</div>

如果您讨论的是图片，那就是默认行为。它们会自动下载并调整大小以用于各种目的。

对于视频等其他媒体，我不知道是否有解决方案。

---

<div class="post-metadata">

**Author:** ![hnaseri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hnaseri/32/120660_2.png) [@hnaseri](https://meta.discourse.org/u/hnaseri)\
**Post date:** [2022年一月1日 13:33 UTC](https://meta.discourse.org/t/mirroring-external-videos-to-discourse/213574/3 "2022-01-01T13:33:26Z")

</div>

> [@pfaffman](#):
>
> 对于视频等其他媒体，我不知道是否有解决方案。

是的，我指的是所有这些媒体类型。

---

<div class="post-metadata">

**Author:** ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)\
**Post date:** [2022年一月1日 14:55 UTC](https://meta.discourse.org/t/mirroring-external-videos-to-discourse/213574/4 "2022-01-01T14:55:26Z")

</div>

我唯一曾经希望（并且仍然希望！）能够实现的是PDF文档。

视频的话……哇……你的实例需要_大量_的存储空间 😊

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2022年一月1日 15:31 UTC](https://meta.discourse.org/t/mirroring-external-videos-to-discourse/213574/5 "2022-01-01T15:31:44Z")

</div>

我认为这需要一个自定义插件。我不确定它会有多难。
