From 7a85e2a046bc7e8cca0c715d054cdbc94dedbf82 Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Thu, 3 Oct 2019 13:38:20 -0400 Subject: [PATCH] docs: update Components list (#6253) Add SubsCapsButton, SeekToLive and LiveTracker. Fixes #5980. --- docs/guides/components.md | 7 +++++-- docs/guides/player-workflows.md | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/guides/components.md b/docs/guides/components.md index cc82723513..2aa0a3f952 100644 --- a/docs/guides/components.md +++ b/docs/guides/components.md @@ -296,18 +296,20 @@ Player ├── TextTrackDisplay ├── LoadingSpinner ├── BigPlayButton +├── LiveTracker (has no DOM element) ├─┬ ControlBar │ ├── PlayToggle │ ├── VolumePanel │ ├── CurrentTimeDisplay (hidden by default) │ ├── TimeDivider (hidden by default) │ ├── DurationDisplay (hidden by default) -│ ├─┬ ProgressControl (hidden during live playback) +│ ├─┬ ProgressControl (hidden during live playback, except when liveui: true) │ │ └─┬ SeekBar │ │ ├── LoadProgressBar │ │ ├── MouseTimeDisplay │ │ └── PlayProgressBar │ ├── LiveDisplay (hidden during VOD playback) +│ ├── SeekToLive (hidden during VOD playback) │ ├── RemainingTimeDisplay │ ├── CustomControlSpacer (has no UI) │ ├── PlaybackRateMenuButton (hidden, unless playback tech supports rate changes) @@ -315,8 +317,9 @@ Player │ ├── DescriptionsButton (hidden, unless there are relevant tracks) │ ├── SubtitlesButton (hidden, unless there are relevant tracks) │ ├── CaptionsButton (hidden, unless there are relevant tracks) +│ ├── SubsCapsButton │ ├── AudioTrackButton (hidden, unless there are relevant tracks) -│ └── PictureInPictureToggle +│ ├── PictureInPictureToggle │ └── FullscreenToggle ├── ErrorDisplay (hidden, until there is an error) ├── TextTrackSettings diff --git a/docs/guides/player-workflows.md b/docs/guides/player-workflows.md index 491cf9ef2a..10b10d8163 100644 --- a/docs/guides/player-workflows.md +++ b/docs/guides/player-workflows.md @@ -7,6 +7,7 @@ This document outlines many considerations for using Video.js for advanced playe * [Accessing a player that has already been created on a page](#accessing-a-player-that-has-already-been-created-on-a-page) * [Removing Players](#removing-players) * [dispose()](#dispose) + * [Checking if a Player is Disposed](#checking-if-a-player-is-disposed) * [Signs of an Undisposed Player](#signs-of-an-undisposed-player) * [Showing and Hiding a Player](#showing-and-hiding-a-player) * [Changing the volume of a player](#changing-the-volume-of-a-player)