Share a page with an embedded YouTube video as a link
A landing page, lesson or demo page from Claude or ChatGPT with a YouTube video in it. Why the video shows Error 153 when you open the file from your computer, the embed URL that works, how to keep the fullscreen button, and how to send it as a link.
Ask Claude or ChatGPT for a landing page, a lesson or a product demo page and it often drops in a YouTube video as an <iframe>. Open the saved file from your computer and the player may show "Video player configuration error" with Error 153 in place of the video.
The tests below were run in Chrome with a public, embeddable YouTube video.
Error 153 means the page has no web address
YouTube's embedded player checks which site it is on, using the Referer the browser sends. A file opened from your computer (a file:// address) sends none. Tested: the same HTML file showed Error 153 when opened from disk and played when served over http.
A referrerpolicy="no-referrer" attribute on the <iframe> causes the same error. Tested: served over http with that attribute, the player showed Error 153 again. Remove the attribute if the generated code has it.
Nothing in the video settings fixes this. The page has to be opened from a web address, which is what a share link gives it. Shared FileShare Pro pages send Referrer-Policy: strict-origin-when-cross-origin, the browser default, so YouTube receives the page's site and the player loads.
Use the /embed/ address
The iframe src has to be the embed address, such as https://www.youtube.com/embed/VIDEO_ID. Tested in an iframe:
- ✓youtube.com/embed/VIDEO_ID: played.
- ✓youtube-nocookie.com/embed/VIDEO_ID: played. This is YouTube's privacy-enhanced mode.
- ✓youtube.com/watch?v=VIDEO_ID: "www.youtube.com refused to connect".
- ✓youtu.be/VIDEO_ID: redirected to the watch page and was refused the same way.
Keep the fullscreen button
A YouTube player in an iframe can only go fullscreen if the iframe allows it. Add allow="fullscreen" (or the older allowfullscreen attribute) to your <iframe>. Tested: without it, the player reported fullscreen as unavailable even inside a page that allowed it.
The share link's document view passes fullscreen, autoplay, picture-in-picture and encrypted-media on to your page, so your page's own allow list is the one that decides. Tested with the same nesting: the player inside a frame with that allow list had fullscreen available; inside a frame without it, it did not.
To get this from an AI tool, ask: "Embed the video with https://www.youtube.com/embed/VIDEO_ID, with allow='fullscreen; picture-in-picture' and no referrerpolicy attribute."
The video must also have embedding turned on in its YouTube settings.
Upload it and send the link
Drag the HTML file onto the FileShare Pro dashboard and copy the link. Viewers need no account, and they can leave comments on the page, such as "the video should come before the pricing".
Links on the page that go to other sites, including "Watch on YouTube" links you add yourself, open in a new tab in the shared view, so the page stays open behind them.
To swap the video after sending, upload the new file over the old one and the link stays the same: updating a shared link without changing it. Related: why a page that works in chat breaks when hosted and hosting a single HTML file free.
Frequently asked
Only small clips. A <video> tag needs the file at a web address or embedded as base64, which makes the HTML about a third larger than the video. For anything longer than a few seconds, a YouTube or Loom embed keeps the page small.
No. Shared files carry a noindex header: keeping a preview out of Google.
Drop the file, copy the link — live in seconds, free plan included.
Start sharing free