🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

VVVVIDepc - Enhanced Player Controls for vvvvid.it

Add hotkeys support and drastically improve playback UI

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

作者
vuolter
日安装量
0
总安装量
699
评分
0 0 0
版本
2.0.2
创建于
2019-02-05
更新于
2019-02-14
大小
6.8 KB
许可证
ISC
适用于

VVVVIDepc

Enhanced Player Controls for vvvvid.it

If you're looking for something more minimal or you're still in love with your keyboard, this script is for you too!

No ads skippers here, but... also no compatibility issues with them. Peace.

Installation

Note: Install a script-manager addon for your browser to use this script within. Recommended script-managers: Violentmonkey for Chrome, Violentmonkey for Firefox, Tampermonkey for Safari, Tampermonkey for Edge.

Get it from the most popular user-script collector sites:

Or install directly from source:

Features

  • [x] Add hotkeys support
  • [x] Customizable hotkeys
  • [x] Reduce info on screen while playing
  • [x] Clean playback UI
  • [x] Fix volume controls

Available hotkeys:

  • Space to play/pause video playback.
  • ArrowLeft to rewind video (keep pressed to gradually increase speed).
  • ArrowRight to fast-forward video (keep pressed to gradually increase speed).
  • b to play before (previous) video in playlist.
  • n to play next video in playlist.
  • ArrowUp to increase audio volume.
  • ArrowDown to reduce audio volume.
  • m to mute/unmute audio volume.
  • f to fullscreen video.
  • t to show/hide video title.
  • p to show/hide playlist bar.
  • Enter to rate video.
  • a to save video to watch later list.

Press any other key to show the playback controls.

Script Settings

Values of name of keys to use as hotkeys (Strings):

var PAUSE_KEY = "Space";
var REW_KEY = "ArrowLeft";
var FF_KEY = "ArrowRight";
var VOLUP_KEY = "ArrowUp";
var VOLDOWN_KEY = "ArrowDown";
var WATCHLATER_KEY = "a";
var PREV_KEY = "b";
var NEXT_KEY = "n";
var MUTE_KEY = "m";
var RATE_KEY = "Enter";
var PLAYLIST_KEY = "p";
var FULLSCREEN_KEY = "f";
var TITLE_KEY = "t";

Note: Hotkey value is case-sensitive. Application, system and function key names are not supported (e.g. Escape, F11, Tab, Alt, etc.).

Show/hide video title within player controls (Boolean, default to true):

var SHOW_TITLE = true;

Show/hide video actions within player controls (Boolean, default to false):

var SHOW_ACTIONS = false;

Value of gain to add/subtract to current volume when key is pressed (Number, range 0 to 1):

var VOLUME_INCREMENT = 0.1;

Min/max seconds of time to add/subtract to the current playback position when key is pressed (Numbers, greater than 0):

var MIN_POSITION_INCREMENT = 10;
var MAX_POSITION_INCREMENT = 120;

Value to multiply with seconds of time to add/subtract when key is pressed (Number, greater than 1):

var POSITION_INCREMENT_MULTIPLIER = 1.03;

© 2019 Walter Purcaro