---
title: VideoFrame.displayHeight
slug: Web/API/VideoFrame/displayHeight
tags:
  - API
  - Property
  - Reference
  - displayHeight
  - VideoFrame
browser-compat: api.VideoFrame.displayHeight
---
{{DefaultAPISidebar("Web Codecs API")}}

The **`displayHeight`** property of the {{domxref("VideoFrame")}} interface returns the height of the `VideoFrame` after applying aspect ration adjustments.

### Value

An integer.

## Examples

The following example prints the `displayHeight` to the console.

```js
console.log(VideoFrame.displayHeight);
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}


