1
0
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:
FireMasterK 2021-09-22 14:48:32 +01:00
parent bb918645b1
commit 172d542cd3
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -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":