<!--
{
  "availability" : [
    "LivePhotosKit JS: 1.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "LivePhotosKitJS",
  "identifier" : "/documentation/LivePhotosKitJS/LivePhotosKit.Player/videoMimeType",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "LivePhotosKit JS"
    ],
    "preciseIdentifier" : "instp/LivePhotosKit.Player/videoMimeType"
  },
  "title" : "videoMimeType"
}
-->

# videoMimeType

The MIME type of the video asset.

```
attribute String videoMimeType;
```

## Discussion

The `MIME` type of the video asset, either as detected from a network request for the asset (if it was provided as a URL on [`videoSrc`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/videoSrc)) or as provided by the developer prior to assigning a prepared `ArrayBuffer` to [`videoSrc`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/videoSrc).

This property, while writable, behaves as read-only if the video was obtained through a network request to a string URL set on [`videoSrc`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/videoSrc). In this case, writes to this property are ignored.

However, if the intent is to provide the video by assigning an already-loaded `ArrayBuffer` to [`videoSrc`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/videoSrc), you must set this property to the correct MIME type beforehand.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)