mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-09 17:58:21 +00:00
Simplify toggle full screen to shaka-player.
This commit is contained in:
parent
172d542cd3
commit
473814f2e4
@ -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 New Issue
Block a user