Skip to content

userscript to add buzzers via the gamepad api to youtube videos for playing quiz-games

License

Notifications You must be signed in to change notification settings

DGZeule/youtubeBuzzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

userscript to add buzzers via the gamepad api to youtube videos for playing quiz-games

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published