Udemy Speed Fix - UI Sync

Fixes Udemy bug: if UI shows 2x speed, ensure video plays at 2x after lecture change.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Ameer-Jamal
今日安裝
0
安裝總數
1
評價
0 0 0
版本
1.1
建立日期
2025-06-03
更新日期
2025-06-03
尺寸
4.4 KB
授權條款
未知
腳本執行於

Description

Fixes a common Udemy bug where the video playback speed resets after changing lectures, even though the UI still shows your chosen speed (e.g. 2x). This script keeps the video playback speed in sync with the UI display.

Features

  • ✅ Automatically applies your chosen playback speed after switching lectures
  • ✅ Works with Udemy’s single-page navigation (SPA)
  • ✅ Detects changes instantly using a smart MutationObserver
  • ✅ No user interaction needed — just install and forget

Why You Might Need This

On Udemy, you might see "2x" speed in the corner, but the video is actually playing at normal speed after changing lectures. This script ensures your playback speed is always what the UI says it is.


Technical Notes

  • Observes dynamic URL changes without wasting CPU via polling
  • Waits ~1 second after navigation to allow video/player to fully load
  • Lightweight and optimized for modern browsers