---
title: PictureInPictureWindow.height
slug: Web/API/PictureInPictureWindow/height
tags:
  - API
  - Interface
  - Media
  - Picture-in-Picture
  - Picture-in-Picture API
  - Video
  - pip
browser-compat: api.PictureInPictureWindow.height
---
{{APIRef}}

The read-only {{domxref("PictureInPictureWindow")}} property
**`height`** returns the height of the floating video window
in pixels.

## Syntax

```js
let height = pictureInPictureWindow.height;
```

### Value

An integer value indicating the height of the floating video window in pixels. This
property is read-only, and has no default value.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [Picture-in-Picture API](/en-US/docs/Web/API/Picture-in-Picture_API)
- {{DOMxRef("PictureInPictureWindow.width")}}
