Mobile Video Seek Gesture

모바일 브라우저에서 좌우 스와이프 제스처로 동영상 탐색 및 길게 눌러 2배속 재생 (Shadow DOM + Video.js 지원)

当前为 2025-09-22 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
FlyingGorae
评分
0 0 0
版本
5.0
创建于
2025-01-23
更新于
2025-09-22
大小
8.5 KB
许可证
MIT
适用于
所有网站

Video Assistant by Gesture


You can navigate videos on your mobile browser using left and right swipe gestures (like the Video Assistant on Samsung Internet Browser).


Code made by ChatGPT




#Update

after v4.0
Added the function of long-pressing to accelerate the video.




You can adjust the sensitivity by changing the value after 'deltaX'.

timeChange = deltaX * 0.05; // 민감도 값 조정



You can adjust the accelerated speed when you long press by adjusting the numbers shown below.
You can also change the message displayed when the video is accelerated by modifying the '2x Speed' part.

video.playbackRate = 2.0; // 2배속
video.overlay.innerHTML = `2x Speed`;





Depending on the video playback environment, some function may not work properly.
This seems to be rarely on iOS and a little bit on Android. because iOS has a simple video element.