Cinema mode makes my screen go black🐞

Open
#4,293 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
javascript
Domain
frontend

Research direction

Start by reproducing the black tab in Opera GX with ImprovedTube 4.2081 while watching a video and activating Cinema mode. Inspect the Cinema mode behavior and browser console output; done means the video and tab remain visible while Cinema mode is active.

Written by the indexing model from the issue text.

Description

Bug good first issue help wanted up-for-grabs
Concise Description

Whemever I click the Cinema mode button, the full browser tab goes black. The video continues to play but the tab is black and I only hear the audio from the video.

Browser/s

Opera GX

Other Browser:

No response

'Steps to reproduce' - Which of our features is required for the bug to happen?

Click the cinema mode button when watching a video

Since when?

Since I started using the extension

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)

Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden. Element with focus: <a.yt-simple-endpoint inline-block style-scope ytd-thumbnail#thumbnail> Ancestor with aria-hidden: <a.yt-simple-endpoint inline-block style-scope ytd-thumbnail#thumbnail>

Tested as the only active extension? (incognito mode or another browser users):

No

Expected preferred behavior:

No response

ImprovedTube Version

4.2081

Your Settings (From the Extension's -Hamburger menu > Settings > Backup & reset > Export settings)

No response

Your YouTube-Document

No response

OS / Device:

Windows 11

Dominant language
JavaScript
Stars
4.6k
Forks
996
Avg merge
2d 15h
Merged PRs (30d)
7

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.

More from code-charity/youtube

All issues in code-charity/youtube

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.