Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issue #2879 #2880

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fixes issue #2879 #2880

wants to merge 3 commits into from

Conversation

tnbnicer
Copy link
Contributor

@tnbnicer tnbnicer commented Oct 4, 2021

Change to the SVG template.

a) viewBox size
The default size is 20 x 20. For "icon-captions" and "icon-chapters" the viewBox is 18 x 18 (pixels) to display them as larger buttons.

b) SVG layout
Icons are arranged in the traditional formation.
Top row: play | pause | unmute | mute | fullscreen | unfullscreen | [captions] | captions | replay | chapters
Bottom row: overlay-play | [overlay-play] | loading-spinner

CSS sources
To match the SVG viewBox, the button size is increased to 1.25 rem by 1.25 (20x20 pixels).

Change to the SVG template.

a) viewBox size
The default size is 20 x 20. For "icon-captions" and "icon-chapters" the viewBox is 18 x 18 (pixels) to display them as larger buttons.

b) SVG layout
Icons are arranged in the traditional formation.
Top row: play | pause | unmute | mute | fullscreen | unfullscreen | [captions] | captions |  replay | chapters
Bottom row: overlay-play | [overlay-play] | loading-spinner

CSS sources
To match the SVG viewBox, the button size is increased to 1.25 rem by 1.25 (20x20 pixels).
@tnbnicer
Copy link
Contributor Author

tnbnicer commented May 7, 2023

Can't believe this is still busted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant