# Can't select Video from Asset Library in custom component input type File

**URL:** <https://forum.builder.io/t/cant-select-video-from-asset-library-in-custom-component-input-type-file/4684>\
**Category:** Bugs\
**Created:** [December 20, 2023, 6:28pm UTC](https://forum.builder.io/t/cant-select-video-from-asset-library-in-custom-component-input-type-file/4684 "2023-12-20T18:28:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![francis\_purecobalt](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@francis\_purecobalt](https://forum.builder.io/u/francis_purecobalt)\
**Post date:** [December 20, 2023, 6:28pm UTC](https://forum.builder.io/t/cant-select-video-from-asset-library-in-custom-component-input-type-file/4684/1 "2023-12-20T18:28:18Z")

</div>

Hello,

In the Asset Library, we have uploaded a bunch of MP4 videos in order to be able to place them on pages using a custom component in the Visual Editor.

This is my component definition

```auto
{
  "name": "HalfMediaHalfCopy",
  "image": "http://localhost:3000/component-icons/layout-sidebar-left-expand.png",
  "inputs": [
    ...
    {
      "friendlyName": "Media File",
      "name": "src",
      "type": "file",
      "allowedFileTypes": [
        "mp4",
        "jpg",
        "jpeg",
        "png",
        "svg",
        "gif"
      ],
      "helperText": "Uploaded image or video file.",
      "_docs": {
        "image": {
          "width": 1000,
          "height": 1000
        }
      }
    },
    ...
  ],
  "noWrap": true,
  "static": true,
  "defaultStyles": {
    "margin": "0px",
    "marginTop": "0px",
    "marginBottom": "0px",
    "marginLeft": "0px",
    "marginRight": "0px",
    "padding": "0px",
    "paddingTop": "0px",
    "paddingBottom": "0px",
    "paddingLeft": "0px",
    "paddingRight": "0px"
  }
}

```

Screenshot of videos in the Asset Library

 ![Screenshot 2023-12-20 at 1.17.45 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/7/74533adc3dff97732e5305a070c2210bd1360cfc.jpeg)

Screenshot of the missing videos in the Asset Library for selection from the component

 ![Screenshot 2023-12-20 at 1.18.40 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/3/32811e781d0fe6ea9c38449b90cd603bc17d827a.jpeg)

Thanks

---

<div class="post-metadata">

**Author:** ![anon43891756](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon43891756](https://forum.builder.io/u/anon43891756)\
**Post date:** [December 27, 2023, 12:58pm UTC](https://forum.builder.io/t/cant-select-video-from-asset-library-in-custom-component-input-type-file/4684/2 "2023-12-27T12:58:45Z")

</div>

Hi @francis_purecobalt,

I am happy to confirm that I was able to reproduce the issue you are experiencing thanks to the details and steps you have provided.

I will now discuss the issue internally in order to determine the next steps. Once I have further updates, I will get back to you.

In the meantime, Please feel free to reach out with any questions!

---

<div class="post-metadata">

**Author:** ![francis\_purecobalt](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@francis\_purecobalt](https://forum.builder.io/u/francis_purecobalt)\
**Post date:** [January 25, 2024, 7:03pm UTC](https://forum.builder.io/t/cant-select-video-from-asset-library-in-custom-component-input-type-file/4684/3 "2024-01-25T19:03:12Z")

</div>

Any updates on this ?
