code-charity / code-charity/youtube

The automatic fullscreen feature forcefully disables fullscreen for new tabs

Open
#645 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

💭Question🌱 Completion help wanted up-for-grabs
Dominant language
JavaScript
Stars
4.6k
Forks
996
Avg merge
2d 15h
Merged PRs (30d)
7

Description

Bug:
This bug causes the player to be unable to enter fullscreen>

How:

  1. middle mouse click on a video or right click on a video and click "open link in a new tab"
  2. remain on the current tab until the new tab fully loads (when the circle status icon disappears)
  3. go to the new tab
  4. the player will not be in fullscreen and cannot enter fullscreen by clicking f or the fullscreen button

Expected (/preferred) behavior:
After swapping to the new tab, it should automatically enter fullscreen and not have issues toggling between it

Setup:

⚬ Version:
3.8

⚬ Browser:
Chrome Version 86.0.4240.198 (Official Build) (64-bit)

⚬ Settings:
improvedtube-settings.zip

⚬ OS:
Windows 10 Pro 64 bit version 20H2

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

Reproduce the issue in Chrome 86 using the listed middle-click or “open link in a new tab” steps and the provided settings archive. Start by tracing the YouTube player’s automatic fullscreen handling when the new tab finishes loading. Done means the new tab enters fullscreen and fullscreen can still be toggled with the f key or fullscreen button.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.