Skip to content

Commit

Permalink
docs: add playsinline option
Browse files Browse the repository at this point in the history
Documents the `playsinline` option introduced in videojs [6.1.0](https://github.com/videojs/video.js/releases/tag/v6.1.0).

Refers videojs/video.js#4348
  • Loading branch information
amtins committed Jan 8, 2024
1 parent e189b0d commit 5a80eec
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/mdx-pages/guides/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,22 @@ videojs('my-player', {
});
```

### `playsinline`

> Type: `boolean`
_Since 6.1.0_

Indicates to the browser that non-fullscreen playback is preferred when fullscreen playback is the native default, such as in iOS Safari.

For example:

```js
videojs('my-player', {
playsinline: true
});
```

### `plugins`

> Type: `Object`
Expand Down

0 comments on commit 5a80eec

Please sign in to comment.