feat: add tooltips

This commit is contained in:
tomasklaen
2022-09-07 14:02:54 +02:00
parent 29834b4d88
commit 03abd30f8c
2 changed files with 98 additions and 70 deletions

View File

@@ -32,8 +32,9 @@ timeline_chapters=dots
timeline_chapters_opacity=0.2
timeline_chapters_width=6
# A comma delimited list of elements to construct the controls bar above the timeline. Set to `never` to disable.
# A comma delimited list of items to construct the controls bar above the timeline. Set to `never` to disable.
# Parameter spec: enclosed in `{}` means value, enclosed in `[]` means optional
# Full item syntax: `[<[!]{disposition1}[,[!]{dispositionN}]>]element[:paramN][?{tooltip}]`
# Common properties:
# `{icon}` - parameter used to specify an icon name (example: `face`)
# - you can pick one here: https://fonts.google.com/icons?selected=Material+Icons
@@ -58,7 +59,7 @@ timeline_chapters_width=6
# - fullscreen: `cycle:fullscreen:fullscreen:no/yes=fullscreen_exit!`
# - loop-playlist: `cycle:repeat:loop-playlist:no/inf!`
# - `toggle:{icon}:{prop}`: `cycle:{icon}:{prop}:no/yes!`
# Element visibility control:
# Item visibility control:
# `<[!]{disposition1}[,[!]{dispositionN}]>` - optional prefix to control element's visibility
# - `{disposition}` can be one of:
# - `image` - true if current file is a single image
@@ -72,6 +73,9 @@ timeline_chapters_width=6
# - `<stream>stream-quality` - show stream quality button only for streams
# - `<has_audio,!audio>audio` - show audio tracks button for all files that have
# an audio track, but are not exclusively audio only files
# Item tooltip:
# Place `?Tooltip text` after the element config to give it a tooltip.
# Example: `<stream>stream-quality?Stream quality`
controls=menu,gap,subtitles,<has_audio,!audio>audio,<stream>stream-quality,gap,loop-playlist,loop-file,space,speed,space,prev,items,next,shuffle,gap:1,fullscreen
controls_size=32
controls_size_fullscreen=40