feat(html): add <media-gesture> element (#1305)

This commit is contained in:
rahim
2026-04-10 18:14:17 -07:00
committed by GitHub
parent 12877c34fc
commit d2782f0c8d
21 changed files with 400 additions and 7 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ export function VideoSkin(props: VideoSkinProps): ReactNode {
<MediaHotkey keys="m" action="toggleMuted" />
<MediaHotkey keys="f" action="toggleFullscreen" />
<MediaHotkey keys="c" action="toggleSubtitles" />
<MediaHotkey keys="i" action="togglePiP" />
<MediaHotkey keys="i" action="togglePictureInPicture" />
<MediaHotkey keys="ArrowRight" action="seekStep" value={5} />
<MediaHotkey keys="ArrowLeft" action="seekStep" value={-5} />
<MediaHotkey keys="l" action="seekStep" value={10} />