# Insert Video links broken after domain change

**URL:** https://meta.discourse.org/t/insert-video-links-broken-after-domain-change/283552
**Category:** Support
**Tags:** insert-video
**Created:** [September 11, 2023, 5:12pm UTC](https://meta.discourse.org/t/insert-video-links-broken-after-domain-change/283552 "2023-09-11T17:12:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zengyunsi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zengyunsi/32/265722_2.png) [@zengyunsi](https://meta.discourse.org/u/zengyunsi)
#### Post date: [September 11, 2023, 5:12pm UTC](https://meta.discourse.org/t/insert-video-links-broken-after-domain-change/283552/1 "2023-09-11T17:12:18Z")

</div>

hello! There is a bug, after changing the domain name, the resources will be invalidated.  
Suggest to optimize it, remove the domain name

**existing**

```plaintext
<video controls preload="metadata">
  <source src="https://www.XXX.net/uploads/default/original/1X/b1062a174e3352ac0d47d902c6b8153cb217f580.mp4" type="video/mp4" />
</video>

```

**post-optimization**

```plaintext
<video controls preload="metadata">
  <source src="/uploads/default/original/1X/b1062a174e3352ac0d47d902c6b8153cb217f580.mp4" type="video/mp4" />
</video>

```

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [October 26, 2023, 3:07pm UTC](https://meta.discourse.org/t/insert-video-links-broken-after-domain-change/283552/2 "2023-10-26T15:07:08Z")

</div>

> [@zengyunsi](#):
>
> There is a bug, after changing the domain name, the resources will be invalidated

Are those links not changed by the remap?
