Youtube New UI Fix

Moves the controls under the video and makes the UI look like it was before august 2015

2016/09/07のページです。最新版はこちら。

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Roy192
評価
0 0 0
バージョン
2.0.5
作成日
2015/08/05
更新日
2016/09/07
大きさ
21.3KB
ライセンス
不明
対象サイト

This user-script is based on my user-style on userstyles.org (Youtube Controls Under Player). Sadly enough a user-style is not going to cut it to cleanup the garbage Youtube has made (again). The main problem was that the time did not update when not hovering over the controls. This script solves that by adding an interval that calls the onmousemove event of the controls using the progress and timeupdate events to keep everything updated.

This script was originally written in typescript and compiled to plain javascript, if you want to see the original https://mega.nz/#!gVIDxJgZ!-xXTYG6lNc7aGtW4ITPq0yNe62emBNGdfKg9cB58whs (link might go down because MEGA removes it sometimes)

To customize the script a little, I've added a few checkboxes to the playback settings page on youtube: https://www.youtube.com/account_playback

If for some reason you need to check if this script is active (for compatibility with another script for example), you can check for a script tag with YoutubeNewUIFix-Style as the id.

if (document.getElementById("YoutubeNewUIFix-Style") !== null)
{
    alert("youtube new ui fix is present");
}

Features:

  • Non-transparent controls
  • Controls are not over the video
  • Controls don't hide at all
  • Controls have the old colors back
  • Controls are smaller (35px vs 40px)
  • Controls will update, they won't freeze until you hover over them
  • Option: disable animations (the expanding of the context menu when changing the quality)
  • In full-screen mode, the controls are also always visible, original colors, and they are smaller (35px again)
  • Option: re-enable auto-hide only in full-screen
  • Subtitles don't move up and down when going over the video
  • Controls are smaller in full-screen
  • Option: move the watch later button to the controls (next to the subtitles button at the bottom)
  • Works for embedded videos, but the height is not adjusted and will make the videos slightly smaller than intended.
  • Option: move the 'go back' button on the settings menus to the bottom (default off).
  • Option: makes the progressbar take up all the width (but only when not hovering over it). Thanks to Takato for this.
  • Option: makes the title appear when hovering over the video. Thanks to q1k for this.
  • Option: make the volume slider always visible.

Things still to do:

  • Update screenshots (minor changes in size/location of buttons)

Things I can't do (if you know how to do any of these things, let me know):

  • Change the width of the progress bar without bugging it out (works now when not hovering over)
  • Increase the height on embedded videos
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元