-
-
Notifications
You must be signed in to change notification settings - Fork 484
Enable fullscreen video on macOS #1456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
8e56519
to
f17d03d
Compare
Please clean up your commit history and post again to request a review. See here for guidelines. |
0482ace
to
c4c4a2c
Compare
@alya I’ve cleaned up the commit history as per the guidelines and updated the branch. Could you please take another look? |
Could you please update your commit message to match the commit style guidelines? |
On macOS, videos embedded in Zulip Desktop could not enter fullscreen mode because the app's permission handler did not explicitly grant fullscreen permissions. This commit updates the `ipcRenderer.on("permission-request")` handler to include fullscreen, in addition to existing permissions such as notifications. With this change, video players (e.g., YouTube and Zulip-embedded media) can properly request fullscreen. Tested on macOS to confirm fullscreen now works, and on Windows/Linux to ensure no regressions. Fixes zulip#1409.
c4c4a2c
to
5f9a74d
Compare
@alya I've updated the commit message, Could you please take another look? |
@shubham-padia Could you please take a look at this one? |
Problem
On macOS, videos embedded in Zulip Desktop could not enter fullscreen mode.
This was caused by the app’s permission handler not explicitly granting the
fullscreen
permission.Solution
Updated the
ipcRenderer.on("permission-request")
handler to grantfullscreen
permission in addition to existing ones (e.g., notifications).This ensures video players and other elements can properly request fullscreen.
Fixes: #1409
Screen Capture:-
Screen.Recording.2025-09-14.at.5.46.14.PM.mov
Embedding Check:-
Screen.Recording.2025-09-14.at.6.18.38.PM.mov
Platforms Tested
Self-review checklist
Code changes are minimal and scoped to permission handling.
Commit message explains the fix clearly.
Verified fullscreen works on macOS video players (tested on YouTube and Zulip-embedded media).
Tested on Windows/Linux to confirm no regressions.