Keep media controls visible

thrimbletrimmer-solid
ElementalAlchemist 7 days ago
parent 9c97b564c7
commit cbc55c7345

@ -24,6 +24,11 @@ media-player:not([data-fullscreen]) media-controls {
height: auto; height: auto;
} }
media-controls.vds-controls:not([data-fullscreen]) {
visibility: visible;
opacity: 1;
}
media-controls-group { media-controls-group {
display: flex; display: flex;
align-items: center; align-items: center;

@ -250,7 +250,7 @@ export const VideoPlayer: Component<VideoPlayerProps> = (props) => {
<media-gesture event="pointerup" action="toggle:paused" /> <media-gesture event="pointerup" action="toggle:paused" />
<media-gesture event="dblpointerup" action="toggle:fullscreen" /> <media-gesture event="dblpointerup" action="toggle:fullscreen" />
<media-captions class="vds-captions" /> <media-captions class="vds-captions" />
<media-controls class="vds-controls" hideDelay={0}> <media-controls class="vds-controls">
<media-controls-group class="vds-controls-group"> <media-controls-group class="vds-controls-group">
<media-tooltip> <media-tooltip>
<media-tooltip-trigger> <media-tooltip-trigger>

Loading…
Cancel
Save