如何限制Youtube播放器仍在窗口内全屏显示,我不想拥有真正的全屏显示 [英] How to restrict Youtube player fullscreen still within the window, I don't want to have real fullscreen
问题描述
我的配置很棒,如下所示:
I have the awesome config like this below:
{ rule = { instance = "plugin-container" },
properties = { floating = false },
callback = awful.titlebar.hide },
我不想让我的Youtube全屏播放时全屏播放,而是在窗口大小范围内播放.如果要全屏显示,可以使用Win + F快捷键.
I don't want to have my Youtube fullscreen really playing fullscreen, but instead it is playing within the window size. If I want to have fullscreen, I could do with Win+F shortcut.
上面的配置不起作用.每当我单击全屏时,它实际上就是在全屏播放.
With the config above it doesn't work. Whenever I click fullscreen, it is really playing fullscreen.
我曾经是Ion3用户,并且在Ion3中可以正常工作.我想知道Awesome是否可以这样做?
I am used to be an Ion3 user and in Ion3 it just works. I am wondering whether it is possible for Awesome to do like that?
非常感谢.
推荐答案
我知道这很旧,但是刚才在问类似问题时发现了这一点.不确定它是否对您有很大帮助,因为我认为您正在尝试做与我一样的事情(通过在rc.lua中添加一些内容使其成为永久功能),但是如果您单击YouTube的全屏按钮或将VLC设置为全屏本身,那么Super + F您将获得想要的效果.它将全屏显示为以前的窗口大小,但客户端仍然认为它处于全屏模式.
I know this is old but found this while asking a similar question just now. Not sure it helps you much since I think you were trying to do the same thing I am (make it a permanent feature by adding something to rc.lua), but if you click YouTube's fullscreen button or have VLC fullscreen itself or whatever and THEN Super+F you will get the effect you want. It will defullscreen into its previous window size but the client still thinks it is in fullscreen mode.
这篇关于如何限制Youtube播放器仍在窗口内全屏显示,我不想拥有真正的全屏显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!