Youtube Video Controls Manager

Manages the video controls overlay on a youtube video, to prevent it blocking 30-40 pixels on the bottom of the video

目前為 2015-04-03 提交的版本,檢視 最新版本

作者
Domination9987
評價
0 0 0
版本
0.05
建立日期
2015-03-29
更新日期
2015-04-03
尺寸
4.0 KB
授權條款
未知
腳本執行於

This is a script that manages the video controls overlay on a youtube video (i.e. pause, fast forward, progress bar, etc.) The need for this script is that, due to recent changes by google, the video controls overlay the video, cutting off 30-40 pixels from the bottom.

Functionality:

  • Shows the video player controls if the cursor moves within the video area
  • Hides the video player controls if the cursor leaves the video area
  • Hides the video player controls if the cursor does not move within the area for 1 second (interval be changed with timout variable)

Note that when the video player controls are hidden, the progress bar is still shown as 3-pixels high from the bottom. This option can be toggled by changing the progBarHide variable from false to true.

Planned functionality:

  • Add a fullscreen event that changes the visibility of the progress bar to off (unless the mouse moves)

Bugs:

  • Cinema mode breaks size
  • Having inspect element open breaks cursor functions
长期地址
遇到问题?请前往 GitHub 提 Issues。