How do i set the file width & height of a video file using controller

Hi thx for helping, but width & height is still not applied
this is the output with and without the code

  {
    "id": 5,
    "title": "Test video",
    "description": null,
    "public": true,
    "password": null,
    "slug": "test-video",
    "created_at": "2021-03-10T12:46:27.000Z",
    "updated_at": "2021-03-10T12:51:40.000Z",
    "media": [
      {
        "id": 88,
        "name": "video1.mp4",
        "alternativeText": "",
        "caption": "",
        "width": null,
        "height": null,
        "formats": null,
        "hash": "video1_9af9b07285",
        "ext": ".mp4",
        "mime": "video/mp4",
        "size": 1420.88,
        "url": "/uploads/video1_9af9b07285.mp4",
        "previewUrl": null,
        "provider": "local",
        "provider_metadata": null,
        "created_at": "2021-03-10T12:51:28.000Z",
        "updated_at": "2021-03-10T12:51:28.000Z"
      },
      {
        "id": 89,
        "name": "video2.mp4",
        "alternativeText": "",
        "caption": "",
        "width": null,
        "height": null,
        "formats": null,
        "hash": "video2_343f455334",
        "ext": ".mp4",
        "mime": "video/mp4",
        "size": 1559.68,
        "url": "/uploads/video2_343f455334.mp4",
        "previewUrl": null,
        "provider": "local",
        "provider_metadata": null,
        "created_at": "2021-03-10T12:51:28.000Z",
        "updated_at": "2021-03-10T12:51:28.000Z"
      },
      {
        "id": 90,
        "name": "video3.mp4",
        "alternativeText": "",
        "caption": "",
        "width": null,
        "height": null,
        "formats": null,
        "hash": "video3_a6a229646b",
        "ext": ".mp4",
        "mime": "video/mp4",
        "size": 3220.14,
        "url": "/uploads/video3_a6a229646b.mp4",
        "previewUrl": null,
        "provider": "local",
        "provider_metadata": null,
        "created_at": "2021-03-10T12:51:29.000Z",
        "updated_at": "2021-03-10T12:51:29.000Z"
      },
      {
        "id": 91,
        "name": "video4.mp4",
        "alternativeText": "",
        "caption": "",
        "width": null,
        "height": null,
        "formats": null,
        "hash": "video4_238bebcaa6",
        "ext": ".mp4",
        "mime": "video/mp4",
        "size": 3435.84,
        "url": "/uploads/video4_238bebcaa6.mp4",
        "previewUrl": null,
        "provider": "local",
        "provider_metadata": null,
        "created_at": "2021-03-10T12:51:30.000Z",
        "updated_at": "2021-03-10T12:51:30.000Z"
      }
    ]
  }