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

# frameTimes

An array of timestamps for each second from the beginning of a Live Photo for which the frames reside in the Live Photo.

```
attribute Number[],string frameTimes;
```

## Discussion

The frameTimes array allows the Player to crossfade between video frames during playback.

This value is required to properly play the Live Photo; without it, the Player cannot play.

The player does its best to make it as easy as possible to populate this value. There are a few ways to provide it:

- Assign [`videoSrc`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/videoSrc), and use any MPEG-4 or MOV file.  The value is read from the video and populated automatically as part of the loading process.
- Provide a URL or `ArrayBuffer` for the original QuickTime MOV to the [`metadataVideoSrc`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/metadataVideoSrc) property. The asset is loaded just far enough to provide the value automatically. Note that this is a convenience, and for performance-critical uses, you may wish to avoid incurring the extra network request.
- If neither of the previous options works, assign the value manually. You can assign it as either an array of floating-point numbers or as a comma-delimited string of decimal values.

---

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)