Skip to content

Conversation

Ujjwal5705
Copy link
Collaborator

@Ujjwal5705 Ujjwal5705 commented Sep 14, 2025

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 grant fullscreen 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

  • Windows
  • macOS
  • Linux

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.

@Ujjwal5705 Ujjwal5705 changed the title Enable fullscreen video on macOS (Issue #1409) Enable fullscreen video on macOS Sep 14, 2025
@zulipbot zulipbot added size: M and removed size: S labels Sep 14, 2025
@alya
Copy link
Collaborator

alya commented Sep 16, 2025

Please clean up your commit history and post again to request a review. See here for guidelines.

@Ujjwal5705
Copy link
Collaborator Author

Ujjwal5705 commented Sep 16, 2025

@alya I’ve cleaned up the commit history as per the guidelines and updated the branch. Could you please take another look?

@alya
Copy link
Collaborator

alya commented Sep 26, 2025

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.
@Ujjwal5705
Copy link
Collaborator Author

@alya I've updated the commit message, Could you please take another look?

@alya
Copy link
Collaborator

alya commented Sep 30, 2025

@shubham-padia Could you please take a look at this one?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Video Full screen doesn't work on mac

5 participants