Refactor progress event handling in progress.js

- Moved the 'video:progress' event listener to be consistent with the RAF and timeupdate events.
- Ensured 'setBar' for 'loaded' is emitted during both RAF and video:progress events.
- Cleaned up the structure for better readability and maintainability.
This commit is contained in:
Harvey Zack committed 2025-04-20 11:21:21 +08:00
1 parent 9bdaaa3b7d
commit 674c6420e9
3 files changed
+1132 -1110

No files matched your search

File diff suppressed because it is too large. Load diff