Skip to content

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy
Tips and Tricks

How to make theater mode the default for Youtube

- 12.03.22 | 16.01.26 - ErcanOPAK
Love the Theater Mode on YouTube but tired of clicking that button every single time? You don’t need to install heavy browser extensions or third-party software that might track your data. You can fix this with a single line of code in your browser’s console.

The Logic Behind the Hack

YouTube stores your player preferences (like volume, quality, and view mode) in browser cookies. By manually setting the wide cookie to 1, we tell YouTube’s servers that our default preference is always “Theater Mode”.

Step-by-Step Instructions:

  1. Go to YouTube.com
  2. Open the Developer Tools by pressing F12 or Ctrl+Shift+I (Cmd+Option+I on Mac).
  3. Click on the Console tab at the top.
  4. Copy and paste the following code, then press Enter:
JavaScript Code
document.cookie = 'wide=1; expires=' + new Date('3099-01-01').toUTCString() + '; path=/; domain=.youtube.com; Secure';

Note: We set the expiration date to the year 3099, so you’ll basically never have to do this again!

Why is this better than extensions?

  • Privacy: No third-party code watching your browsing habits.
  • Performance: Extensions consume RAM; this native cookie takes zero resources.
  • Reliability: It uses YouTube’s own built-in logic.

💡 Pro Tips for Power Users

1. How to Undo: If you ever want to go back to the default small player, just paste the same code but change wide=1 to wide=0.

2. Cross-Browser: This works on Chrome, Firefox, Edge, and Safari. As long as you are logged into your browser profile and cookies aren’t cleared, it stays active.

⚠️ Troubleshooting: If it doesn’t work immediately, refresh the page. Ensure you are on the main YouTube domain and not an embedded player on another site.

Enjoy your cinematic experience without the extra clicks! 🎬

Related posts:

How to turn off YouTube annotations and cards

How to hide Youtube chat windows permanently

How to Use Picture-in-Picture in Chrome Browser

Post Views: 754

Post navigation

How to turn off YouTube annotations and cards
How to lock the ciritical code part in C#

2 thoughts on “How to make theater mode the default for Youtube”

  1. jeff winklepicker says:
    05.10.23 at 20:09

    how does one undo this in chrome on macos sonoma?

    Reply
    1. ErcanOPAK says:
      06.10.23 at 20:05

      It is so easy Jeff. Open youtube and press F12 or Right-click -> Inspect
      That will open the Inspect window. Go to Application tab and click to Cookies section. Choose youtube.com cookies by clicking on it. You will see the row named “wide”. Just remove that row. So you will get rid of that.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

April 2026
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  
« Mar    

Most Viewed Posts

  • Get the User Name and Domain Name from an Email Address in SQL (950)
  • How to add default value for Entity Framework migrations for DateTime and Bool (858)
  • Get the First and Last Word from a String or Sentence in SQL (836)
  • How to select distinct rows in a datatable in C# (805)
  • How to make theater mode the default for Youtube (754)
  • Add Constraint to SQL Table to ensure email contains @ (578)
  • How to enable, disable and check if Service Broker is enabled on a database in SQL Server (564)
  • Average of all values in a column that are not zero in SQL (531)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (489)
  • Find numbers with more than two decimal places in SQL (448)

Recent Posts

  • C#: Use Init-Only Setters for Immutable Objects After Construction
  • C#: Use Expression-Bodied Members for Concise Single-Line Methods
  • C#: Enable Nullable Reference Types to Eliminate Null Reference Exceptions
  • C#: Use Record Types for Immutable Data Objects
  • SQL: Use CTEs for Readable Complex Queries
  • SQL: Use Window Functions for Advanced Analytical Queries
  • .NET Core: Use Background Services for Long-Running Tasks
  • .NET Core: Use Minimal APIs for Lightweight HTTP Services
  • Git: Use Cherry-Pick to Apply Specific Commits Across Branches
  • Git: Use Interactive Rebase to Clean Up Commit History Before Merge

Most Viewed Posts

  • Get the User Name and Domain Name from an Email Address in SQL (950)
  • How to add default value for Entity Framework migrations for DateTime and Bool (858)
  • Get the First and Last Word from a String or Sentence in SQL (836)
  • How to select distinct rows in a datatable in C# (805)
  • How to make theater mode the default for Youtube (754)

Recent Posts

  • C#: Use Init-Only Setters for Immutable Objects After Construction
  • C#: Use Expression-Bodied Members for Concise Single-Line Methods
  • C#: Enable Nullable Reference Types to Eliminate Null Reference Exceptions
  • C#: Use Record Types for Immutable Data Objects
  • SQL: Use CTEs for Readable Complex Queries

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com