Skip to content

fix: prevent docs videos from opening fullscreen on iPhone - #1138

Open
dkrizan wants to merge 1 commit into
mainfrom
dkrizan/fix-docs-video-fullscreen-ios
Open

fix: prevent docs videos from opening fullscreen on iPhone#1138
dkrizan wants to merge 1 commit into
mainfrom
dkrizan/fix-docs-video-fullscreen-ios

Conversation

@dkrizan

@dkrizan dkrizan commented Sep 4, 2026

Copy link
Copy Markdown
Member

Opening https://docs.tolgee.io/js-sdk in Safari on iPhone made the first video jump to fullscreen right after the page loaded.

iPhone Safari plays a video in fullscreen unless it has the playsinline attribute. Our videos autoplay, so they went fullscreen on their own.

Changes:

  • added playsInline to the shared ScreenRecording component
  • added it to the other plain <video> tags in the docs, including the versioned copies

Verified against WebKit's documented iOS video policy, not on a real device.

@netlify

netlify Bot commented Sep 4, 2026

Copy link
Copy Markdown

Deploy Preview for tolgee-docs ready!

Name Link
🔨 Latest commit 6f5a8e6
🔍 Latest deploy log https://app.netlify.com/projects/tolgee-docs/deploys/6a9b32e25a8dd90007ddf205
😎 Deploy Preview https://deploy-preview-1138--tolgee-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dkrizan
dkrizan requested a review from Barush September 4, 2026 21:06
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.

1 participant