mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-13 22:00:28 +05:30
Fix fullscreen not being done properly when using keybind.
This commit is contained in:
parent
bb918645b1
commit
172d542cd3
@ -305,7 +305,7 @@ export default {
|
||||
switch (handler.key) {
|
||||
case "f":
|
||||
if (document.fullscreenElement) document.exitFullscreen();
|
||||
else document.querySelector("video[data-shaka-player]").requestFullscreen();
|
||||
else self.ui.getControls().toggleFullScreen();
|
||||
e.preventDefault();
|
||||
break;
|
||||
case "m":
|
||||
|
Loading…
Reference in New Issue
Block a user