Youtube Buzzer

add buzzer including autopause to youtube video sites (for quizzes)

作者
DGZeule
日安装量
0
总安装量
13
评分
0 0 0
版本
0.3
创建于
2023-06-05
更新于
2023-06-16
许可证
GNU GPLv3
适用于

youtubeBuzzer

userscript to add buzzers via the browsers gamepad api to youtube videos for playing quiz-games. The script automatically finds and registers Playstation 2 Buzz Controllers and Xbox One Controllers connected to the PC. When you press a buzzer or the (A) button on the Xbox Controller the video gets paused and the Name+Color of the player who pressed first, is shown.

It's tested in google chrome only so far.

Installation

You need the tampermonkey browser extension, you can download here: https://www.tampermonkey.net/ When the extension is installed you can open the link to the script to install it: https://github.com/DGZeule/youtubeBuzzer/raw/main/youtubeBuzzer.user.js

How to use

The script is started on any youtube video URL. When the Buzzer or controller button is pressed the color and name of the person who pressed it first is displayed and the video gets paused. A settings button is displayed next to the YT logo. You can set up the usernames, the time that players have for answering and whether an animation should be displayed when the timer is running or not. If you can't see any colored input fields in the settings dialog, the script couldn't find any compatible controllers.

ToDo

  • add/test more types of gamepads
  • integrate more buttons on the controllers in order to play multiple choice quizzes
  • integrate keyboard based buzzer, for using the script even if you don't have any compatible controllers available
  • The script could be modified to run on twitch or any other video platform.