Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois committed Feb 9, 2023
1 parent 06fa86a commit 9534280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tutorials/ui-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The following elements can be added to the UI bar using this configuration value
starts playing the presentation at an increased speed
* spacer: adds a chunk of empty space between the adjacent elements.
* picture_in_picture: adds a button that enables/disables picture-in-picture mode on browsers
that support it. Button is invisible on other browsers.
that support it. Button is invisible on other browsers. Note that it will use the [Document Picture-in-Picture API]() if supported.
* loop: adds a button that controls if the currently selected video is played in a loop.
* airplay: adds a button that opens a AirPlay dialog. The button is visible only if the browser
supports AirPlay.
Expand All @@ -72,6 +72,7 @@ The following elements can be added to the UI bar using this configuration value
* playback_rate: adds a button that controls the playback rate selection.
* captions: adds a button that controls the current text track selection (including turning it off).
<!-- TODO: If we add more buttons that can be put in the order this way, list them here. -->
[Document Picture-in-Picture API]: https://developer.chrome.com/docs/web-platform/document-picture-in-picture/

Similarly, the 'overflowMenuButtons' configuration option can be used to control
the contents of the overflow menu.
Expand Down

0 comments on commit 9534280

Please sign in to comment.