code-charity / code-charity/youtube

Don't autoplay/unpause when I'm in the tab. / Don't autoplay. Ever.

Open
#2,006 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature request good first issue help wanted up-for-grabs
Dominant language
JavaScript
Stars
4.6k
Forks
996
Avg merge
2d 15h
Merged PRs (30d)
7

Description

PROBLEM:

When switching back to a YouTube tab, the previously paused video continues to play automatically.
This seems to be a long-standing YouTube "feature", but it only recently started torturing me with it.
It's annoying and I hate it. (It's a very hateable feature, alright?)

SOLUTION:

I'm looking for some way to just disable autoplay completely - except when it concerns any kind of playlist.
YouTube should never autoplay single videos, and it should never automatically unpause, ever.
I think autoplay is only good for playlists (including the temporary ones), but nothing else.
If you could implement that in some (cleverly optional) way, I think that could be a helpful thing.

ALTERNATIVES:

Chainsaw? Angle grinder? Prince Albert?
(Gemini has not been helpful in this matter either.)

RELEVANCE / SCOPE:

I'd reckon that someone who dislikes autoplay also dislikes autoplay when switching between tabs.
I haven't found a reliable solution to this, but maybe I'm not the only one who's annoyed by it?

"SIDE EFFECTS":

None.
Obviously, like everything else, this should be optional.
A kind of "master switch" to turn off autoplay/auto-unpause, with an (also optional) exception for playlists.

CONTEXT:
//
Thank you!

No. Thank YOU, for everything you've done so far.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the issue's requested autoplay and auto-unpause behavior, including the optional playlist exception, then locate the extension's existing playback settings and tab-switch handling. Done should mean an optional master control reliably prevents autoplay and automatic unpausing while preserving the specified playlist behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.