code-charity / code-charity/youtube
🐞Playlist repeat button bug.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 4.6k
- Forks
- 996
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 7
Description
Concise Description
The autoplay button on playlist stops working, when the browser tab stops being active.
Notes:
The repeat video feature (under clicking the repeat button a second time) works fine.
The problem doesn't occur, when they tab is a separate window minimized.
Browser/s
Chrome
Other Browser:
No response
'Steps to reproduce' - Which of our features is required for the bug to happen?
- Toggle the repeat playlist on. 2. Be close to end of the last video on the playlist. 3. Switch to another tab until the video ends. 4. The next video ends up being Youtube's next suggested video instead of the first video of the playlist. (the bug)
Since when?
Idk. Just started using the feature.
Does the bug still happen when you log out of YouTube?
None
..No? Then please paste your yt.config_.EXPERIMENT_FLAGS. Twice (With the error & Without)
No response
Are any errors or related log-messages shown in the Browser-Console? (F12)
No response
Tested as the only active extension? (incognito mode or another browser users):
None
Expected preferred behavior:
The feature should work even, when the tab isn't an active tab.
ImprovedTube Version
4.1188
Your Settings (From the Extension's ⋮-Hamburger menu > Settings > Backup & reset > Export settings)
Your YouTube-Document
No response
OS / Device:
Windows 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Chrome with playlist repeat enabled, switching to another tab near the end of the final video. Trace the extension's playlist autoplay handling and compare behavior in an active tab with a background tab. Done means the first playlist video plays next even when the tab is inactive, without breaking repeat-video behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100