mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Simplify toggle full screen to shaka-player.
This commit is contained in:
parent
172d542cd3
commit
473814f2e4
1 changed files with 1 additions and 2 deletions
|
@ -304,8 +304,7 @@ export default {
|
|||
const videoEl = self.$refs.videoEl;
|
||||
switch (handler.key) {
|
||||
case "f":
|
||||
if (document.fullscreenElement) document.exitFullscreen();
|
||||
else self.ui.getControls().toggleFullScreen();
|
||||
self.ui.getControls().toggleFullScreen();
|
||||
e.preventDefault();
|
||||
break;
|
||||
case "m":
|
||||
|
|
Loading…
Reference in a new issue