---
title: HTMLVideoElement.disablePictureInPicture
slug: Web/API/HTMLVideoElement/disablePictureInPicture
tags:
  - API
  - HTML
  - HTML DOM
  - HTMLVideoElement
  - Media
  - Picture-in-Picture
  - Picture-in-Picture API
  - Property
  - Reference
  - Video
  - pip
browser-compat: api.HTMLVideoElement.disablePictureInPicture
---
{{APIRef("HTML DOM")}}

The {{domxref("HTMLVideoElement")}} 
**`disablePictureInPicture`** property reflects the HTML
attribute indicating whether the user agent should suggest the
picture-in-picture feature to users, or request it automatically.

## Syntax

```js
disablePictureInPicture = htmlVideoElement.disablePictureInPicture;
```

### Value

A boolean value that is `true` if the user agent should
suggest that feature to users.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
