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

# videoRotation

The angle that the video is displayed.

```
attribute Number videoRotation;
```

## Discussion

This property takes on a value of: 0, 90, 180, or 270, and is automatically determined as part of the video loading process.

A video might be provided in a different format, and that video is rotated in a way that the Player or the browser can’t compensate for. In this situation, you can manually assign a different value to correct the issue without having to rotate the source video.

---

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)