docs: Improve doc interlinking (#2402)
This commit is contained in:
@@ -14,7 +14,7 @@ media_viewer:
|
||||
| `auto_pause` | `[unselected, hidden]` | A list of conditions in which media items are automatically paused. `unselected` will automatically pause when a media item is unselected in the carousel or grid. `hidden` will automatically pause when the browser/tab becomes hidden. Use an empty list (`[]`) to never automatically pause. |
|
||||
| `auto_play` | `[selected, visible]` | A list of conditions in which media items are automatically played. `selected` will automatically play when a media item is selected in a carousel or grid. `visible` will automatically play when a media item becomes visible (e.g. browser tab change, or visible in a grid but not selected). Use an empty list (`[]`) to never automatically play. |
|
||||
| `auto_unmute` | `[]` | A list of conditions in which media items are unmuted. `selected` will automatically unmute when a media item is selected in a carousel or grid. `visible` will automatically unmute when a media item becomes visible (e.g. a browser/tab change, or visible in a grid but not selected). Use an empty list (`[]`) to never automatically unmute. Some browsers will not allow automated unmute until the user has interacted with the page in some way -- if the user has not then the browser may pause the media instead. |
|
||||
| `controls` | | Configuration for the Media viewer controls. See below. |
|
||||
| `controls` | | Configuration for the Media viewer controls. See [`controls`](#controls). |
|
||||
| `draggable` | `true` | Whether or not the Media viewer carousel can be dragged left or right, via touch/swipe and mouse dragging. |
|
||||
| `lazy_load` | `true` | Whether or not to lazily load media in the Media viewer carousel. Setting this will false will fetch all media immediately which may make the carousel experience smoother at a cost of (potentially) a substantial number of simultaneous media fetches on load. |
|
||||
| `snapshot_click_plays_clip` | `true` | Whether clicking on a snapshot in the media viewer should play a related clip. |
|
||||
@@ -31,13 +31,13 @@ media_viewer:
|
||||
# [...]
|
||||
```
|
||||
|
||||
| Option | Default | Description |
|
||||
| --------------- | ------- | --------------------------------------------------------------------------------------- |
|
||||
| `builtin` | `true` | Whether to show the built in (browser) video controls on media viewer videos. |
|
||||
| `next_previous` | | Configures how the "Next & Previous" controls are shown on the media viewer. See below. |
|
||||
| `thumbnails` | | Configures how thumbnails are shown on the media viewer. See below. |
|
||||
| `timeline` | | Configures how the mini-timeline is shown on the media viewer. See below. |
|
||||
| `wheel` | `true` | Whether to allow mouse wheel to scroll through the carousel. |
|
||||
| Option | Default | Description |
|
||||
| --------------- | ------- | ------------------------------------------------------------------------------------------------------------------- |
|
||||
| `builtin` | `true` | Whether to show the built in (browser) video controls on media viewer videos. |
|
||||
| `next_previous` | | Configures how the "Next & Previous" controls are shown on the media viewer. See [`next_previous`](#next_previous). |
|
||||
| `thumbnails` | | Configures how thumbnails are shown on the media viewer. See [`thumbnails`](#thumbnails). |
|
||||
| `timeline` | | Configures how the mini-timeline is shown on the media viewer. See [`timeline`](#timeline). |
|
||||
| `wheel` | `true` | Whether to allow mouse wheel to scroll through the carousel. |
|
||||
|
||||
### `next_previous`
|
||||
|
||||
@@ -114,7 +114,7 @@ media_viewer:
|
||||
| Option | Default | Description |
|
||||
| ---------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `clustering_threshold` | `3` | The minimum number of overlapping events to allow prior to clustering/grouping them. Higher numbers cause clustering to happen less frequently. Depending on the timescale/zoom of the timeline, the underlying timeline library may still allow overlaps for low values of this parameter -- for a fully "flat" timeline use the `ribbon` style. `0` disables clustering entirely. Only used in the `stack` style of timeline. |
|
||||
| `format` | | Configuration for the timeline time & date format. See below. |
|
||||
| `format` | | Configuration for the timeline time & date format. See [`format`](#format). |
|
||||
| `mode` | `none` | Whether to show the thumbnail carousel `below` the media, `above` the media, in a drawer to the `left` or `right` of the media or to hide it entirely (`none`). |
|
||||
| `pan_mode` | `pan` | See [timeline pan mode](timeline-pan-mode.md). |
|
||||
| `show_recordings` | `true` | Whether to show recordings on the timeline (specifically: which hours have any recorded content). |
|
||||
|
||||
Reference in New Issue
Block a user