mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix fullscreen not being done properly when using keybind.
This commit is contained in:
parent
bb918645b1
commit
172d542cd3
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ export default {
|
||||||
switch (handler.key) {
|
switch (handler.key) {
|
||||||
case "f":
|
case "f":
|
||||||
if (document.fullscreenElement) document.exitFullscreen();
|
if (document.fullscreenElement) document.exitFullscreen();
|
||||||
else document.querySelector("video[data-shaka-player]").requestFullscreen();
|
else self.ui.getControls().toggleFullScreen();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
break;
|
break;
|
||||||
case "m":
|
case "m":
|
||||||
|
|
Loading…
Reference in a new issue