YouTube Mini Player

Youtube Mini Player. When you scroll down the mini player will appear.

Autor
AkiyaKiko
Instalări zilnice
2
Total instalări
78
Rating-uri
0 0 0
Versiune
2.3.0
Creat
25-01-2024
Actualizat
29-04-2025
Size
12,1 KB
Licență
MIT
Se aplică pe

YouTube Mini Player (Tampermonkey Script)

Description (English)

This is a Tampermonkey script that enables a mini-player for YouTube videos. When you scroll down, the video will appear in a floating window, allowing you to browse comments or other content while keeping the video in view.

Features

  • Automatically switches to a mini-player when scrolling down.
  • The mini-player is draggable.
  • Restores the original player when scrolling back up.
  • Works seamlessly with YouTube's existing features.

Installation

  1. Install the Tampermonkey extension on your browser.
  2. Copy the script from this repository.
  3. Open Tampermonkey, click the "Add Script" tab, and paste the code into the editor.
  4. Save the script and refresh the YouTube page.

Usage

  1. Open a YouTube video page.
  2. Scroll down, and the mini-player will appear in the bottom-right corner.
  3. Drag or resize the mini-player as needed.
  4. Scroll back up to restore the original player.

FAQ

  • Q: Why is the mini-player not appearing?
    A: Ensure Tampermonkey is enabled and the script is installed correctly. Refresh the page if necessary.

  • Q: How do I uninstall the script?
    A: Open Tampermonkey, find the script in the dashboard, and delete it.

License

This project is licensed under the MIT License.


项目简介 (中文)

这是一个 Tampermonkey 脚本,用于为 YouTube 添加小窗播放功能。当您向下滚动页面时,视频会以悬浮窗口的形式显示,方便您在观看视频的同时浏览评论或其他内容。

功能说明

  • 向下滚动时自动切换到小窗播放模式。
  • 小窗支持拖动。
  • 向上滚动时恢复原始播放器。
  • 与 YouTube 的现有功能无缝兼容。

安装方法

  1. 在浏览器中安装 Tampermonkey 插件
  2. 从本仓库复制脚本代码。
  3. 打开 Tampermonkey,点击“添加脚本”选项卡,将代码粘贴到编辑器中。
  4. 保存脚本并刷新 YouTube 页面。

使用说明

  1. 打开 YouTube 视频页面。
  2. 向下滚动,小窗播放器会出现在右下角。
  3. 根据需要拖动或调整小窗大小。
  4. 向上滚动以恢复原始播放器。

常见问题

  • 问:为什么小窗播放器没有出现?
    答:请确保 Tampermonkey 已启用且脚本已正确安装。如有必要,请刷新页面。

  • 问:如何卸载脚本?
    答:打开 Tampermonkey,在仪表盘中找到脚本并删除。

许可信息

本项目遵循 MIT 许可证。