Fix regression with fullscreen keybind.
For https://github.com/TeamPiped/Piped/issues/139#issuecomment-824821636
This commit is contained in:
parent
57509b9185
commit
a2afdb0b4d
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ export default {
|
||||||
case "KeyF":
|
case "KeyF":
|
||||||
if (document.fullscreenElement) document.exitFullscreen();
|
if (document.fullscreenElement) document.exitFullscreen();
|
||||||
else this.$refs.container.requestFullscreen();
|
else this.$refs.container.requestFullscreen();
|
||||||
|
e.preventDefault();
|
||||||
break;
|
break;
|
||||||
case "KeyM":
|
case "KeyM":
|
||||||
videoEl.muted = !videoEl.muted;
|
videoEl.muted = !videoEl.muted;
|
||||||
|
|
Loading…
Reference in a new issue