Udemy Speed Fix - UI Sync

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

Author
Ameer-Jamal
Daily installs
0
Total installs
0
Ratings
0 0 0
Version
1.1
Created
2025-06-03
Updated
2025-06-03
Size
4.37 KB
License
N/A
Applies to

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