Restore fullscreen permission for an embedded video

Updated: November 18, 2026

When a video plays inside a page but its fullscreen button fails, separate permission to load the frame from permission to use fullscreen. A larger CSS box does not grant that browser permission.

Compare direct and embedded playback

Open the watch page directly, then test the embed with an actual button click. Record browser, device and console message. Do not use an automatic request on page load as your success test; fullscreen requests normally need user activation.

Check the rendered iframe and parent header

Replace the placeholder ID. The header below is a policy example for a site that intends to grant fullscreen to Dembed; merge it with existing feature policies rather than discarding them. The HTML must survive your CMS’s filtering.

Permissions-Policy: fullscreen=(self "https://dembed.cc")

Put the iframe markup in the page

The policy line is a server response header; this is separate HTML. Replace the placeholder with your own embed ID and keep the feature delegation in the rendered element.

<iframe src="https://dembed.cc/embed/v_YOUR_ID" title="Video demonstration" allow="fullscreen" allowfullscreen></iframe>

Follow every ancestor frame

  1. 1Inspect the iframe element in the rendered page, not just the text entered in the editor.
  2. 2Check whether the parent response restricts fullscreen. An iframe allow attribute cannot override an inherited denial.
  3. 3If an LMS or site builder wraps the page in another iframe, ask its administrator to check that level too.

Confirm a usable exit

Retest by clicking, then leave fullscreen and confirm the page still works. Browser and mobile player behavior can differ, so record the tested devices instead of promising identical fullscreen everywhere.

Primary reference

https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/fullscreen

Frequently asked questions

No. The applicable parent policies still constrain the frame.

You might also like

Host your videos for free and earn from every view

Create your account in under a minute, upload your first video and start earning from day one.