Moves the YouTube video to the top of the website and fill the window with the video player.
< Σχολιασμός για τον κώδικα Resize YT To Window Size
我想更改關鍵字為Escape
但是w那裏直接更改無效,請問該怎麼做
畫面的放大縮小很快,但由於只能按W才能恢復,看直播時比較有點不方便
點預設檢視模式也沒辦法縮小,所以希望能自行增加快捷鍵
All HTML5 Players
No. There are a couple websites I have cleaned up myself, but it's impossible to do every website myself.
https://greasyfork.org/en/scripts/10815-resize-video-to-window-size
Change "w" script toggle key to Escape.
https://github.com/Zren/ResizeYoutubePlayerToWindowSize/issues/71
I've added the ability to change the shortcut here:
在git回復完,發覺都沒有在這裡整理回復與感謝,在此補充一下
預設熱鍵W設定
scriptToggleKey = 'w'
...
window.addEventListener('keypress', function(e){
var isKey = e.key === scriptToggleKey
var validTarget = (
上面要覆蓋修改成下面的設定,就可更改熱鍵
熱鍵ESC設定
scriptToggleKey = 'Escape'
...
window.addEventListener('keyup', function(e){
var isKey = e.key === scriptToggleKey
var validTarget = (
再次感謝作者提供的解決方法,謝謝您
請問這個是否可以直接通用所有html5 player的網頁
你可以安裝Maximize Video。雖然很久沒更新
https://greasyfork.org/en/scripts/4870-maximize-video
有耶~我有安裝這個,的確蠻好用的,一直能用
感謝推薦
請問這個是否可以直接通用所有html5 player的網頁