Skip to content

fix(comments-sidebar): expand player in cinema mode with sidebar layout#3975

Open
Vaibhav-Chodankar wants to merge 1 commit into
code-charity:masterfrom
Vaibhav-Chodankar:fix/issue-3973-livestream-sidebar-cinema
Open

fix(comments-sidebar): expand player in cinema mode with sidebar layout#3975
Vaibhav-Chodankar wants to merge 1 commit into
code-charity:masterfrom
Vaibhav-Chodankar:fix/issue-3973-livestream-sidebar-cinema

Conversation

@Vaibhav-Chodankar

@Vaibhav-Chodankar Vaibhav-Chodankar commented Jun 15, 2026

Copy link
Copy Markdown

Summary

  • Sync cinema mode state to an it-cinema-mode html attribute and trigger layout recalculation on toggle
  • Skip inline player width constraints in comments sidebar while cinema mode is active
  • Hide the reserved sidebar column in cinema mode so the player can use the full horizontal space

Related issue

Fixes #3973

Test plan

  • Enable comments sidebar and open a livestream with chat visible
  • Snap the browser window to half-screen width
  • Enable cinema mode and confirm the player expands horizontally with no empty sidebar gap
  • Disable cinema mode and confirm the sidebar layout returns to normal
  • Run npm test -- tests/unit/comments-sidebar.test.js

Treat ImprovedTube cinema mode like theater/fullscreen so inline player
widths are cleared and the sidebar no longer reserves empty space.

Fixes code-charity#3973

Co-authored-by: Cursor <cursoragent@cursor.com>
@ImprovedTube2

Copy link
Copy Markdown
Collaborator

thank you very much! @Vaibhav-Chodankar

can be shorter and or more conditional and or solve more issues at once

compare: #3958

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞Livestream comments sidebar cinema mode bug

2 participants