The best way to control Claude Code, Codex and more from any computer or phone
fix(web): video full-screen buttons work in HTML renders (#21378)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: maria-rcks <maria@kuuro.net>
punkhop committed
Oct 30, 2026 at 18:22 UTC
f3bbd0fd07f421c50739ed175712ef264ad6b59f
1 file changed
+2
apps/web/src/components/files/BrowserDocumentFrame.tsx
+2
@@ -320,6 +320,8 @@ export function HtmlRenderDocument(props: {
320
title={props.title}
321
// Never allow-same-origin: the opaque origin keeps the page out of the app's session.
322
sandbox="allow-scripts allow-forms"
323
+ // Lets a page's video or image viewer take the screen.
324
+ allow="fullscreen"
325
loading="lazy"
326
onLoad={() => {
327
setLoaded(true);