# Video resources

**URL:** <https://forums.realmacsoftware.com/t/video-resources/50785>\
**Category:** Elements API\
**Created:** [September 4, 2025, 11:08am UTC](https://forums.realmacsoftware.com/t/video-resources/50785 "2025-09-04T11:08:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Invisigoth](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/invisigoth/32/29525_2.png) [@Invisigoth](https://forums.realmacsoftware.com/u/Invisigoth)\
**Post date:** [September 4, 2025, 11:08am UTC](https://forums.realmacsoftware.com/t/video-resources/50785/1 "2025-09-04T11:08:40Z")

</div>

Hi there I try to import a resource video into my component I try in this way

```auto
<source src="/resources/{{myVideo}}" type="video/mp4">

```

```auto
{
"title": "Resource",
"id": "myVideo",
"resource": {
"accepts": "mp4"
}}

```

but when I inspect my page I see this

```auto
<source src="resources/vid@1024.png" type="video/mp4">

```

Why I see vid@1024.png instead vid.mp4?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [September 4, 2025, 1:38pm UTC](https://forums.realmacsoftware.com/t/video-resources/50785/2 "2025-09-04T13:38:04Z")

</div>

Hi @Invisigoth

You need to use the `path` prop on the resource object, and there’s no need to prepend `resources/` to the src attribute. So, your template should look like this:

```php-template
<source src="{{myVideo.path}}" type="video/mp4">

```

that should fix it, but if you’re still having issues do let me know 🙂

---

<div class="post-metadata">

**Author:** ![Invisigoth](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/invisigoth/32/29525_2.png) [@Invisigoth](https://forums.realmacsoftware.com/u/Invisigoth)\
**Post date:** [September 4, 2025, 6:13pm UTC](https://forums.realmacsoftware.com/t/video-resources/50785/3 "2025-09-04T18:13:14Z")

</div>

Perfect, work great, you are the best!

Thanks.
