---
title: videoRotation
framework: livephotoskitjs
role: symbol
role_heading: Instance Property
path: livephotoskitjs/livephotoskit.player/videorotation
---

# videoRotation

The angle that the video is displayed.

## Declaration

```data
attribute Number videoRotation;
```

## Discussion

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.

## See Also

### Instance Properties

- [currentTime](livephotoskitjs/livephotoskit.player/currenttime.md)
- [duration](livephotoskitjs/livephotoskit.player/duration.md)
- [photoHeight](livephotoskitjs/livephotoskit.player/photoheight.md)
- [photoTime](livephotoskitjs/livephotoskit.player/phototime.md)
- [photoWidth](livephotoskitjs/livephotoskit.player/photowidth.md)
- [canPlay](livephotoskitjs/livephotoskit.player/canplay.md)
- [errors](livephotoskitjs/livephotoskit.player/errors.md)
- [frameTimes](livephotoskitjs/livephotoskit.player/frametimes.md)
- [isPlaying](livephotoskitjs/livephotoskit.player/isplaying.md)
- [loadProgress](livephotoskitjs/livephotoskit.player/loadprogress.md)
- [metadataVideoSrc](livephotoskitjs/livephotoskit.player/metadatavideosrc.md)
- [photo](livephotoskitjs/livephotoskit.player/photo.md)
- [photoMimeType](livephotoskitjs/livephotoskit.player/photomimetype.md)
- [photoSrc](livephotoskitjs/livephotoskit.player/photosrc.md)
- [playbackStyle](livephotoskitjs/livephotoskit.player/playbackstyle.md)
