Embed a Vimeo video in a shared HTML page
A landing page, lesson or portfolio page from Claude or ChatGPT with a Vimeo video in it. Which iframe address works, how to keep the fullscreen button, what a wrong ID shows, and how to share the page as a link.
Ask Claude or ChatGPT for a page with a Vimeo video and it writes an <iframe>. Whether the video shows depends on the address in src and on the iframe's allow attribute.
The tests below were run in headless Chrome with Vimeo's own public demo video, on a page served over http and on the same file opened from disk.
Use the player address
The iframe src has to be the player address, https://player.vimeo.com/video/VIDEO_ID. Tested in an iframe:
- ✓player.vimeo.com/video/VIDEO_ID: the player loaded with its video, over http and from a file:/// address.
- ✓vimeo.com/VIDEO_ID: no player. The page response carries X-Frame-Options: sameorigin, which stops other sites from framing it; headless Chrome got Vimeo's "Verify to continue" check in the frame instead.
- ✓player.vimeo.com/video/1 (an ID that does not exist): "Sorry. This video does not exist."
Keep the fullscreen button
Add allow="autoplay; fullscreen; picture-in-picture" to the <iframe>. Tested: without it, the player inside reported fullscreen as unavailable and dropped the Fullscreen control; with it, the control was there.
Vimeo's own embed code (Share, then Embed on the video) already includes this attribute, a responsive wrapper and the player.js script. Tested: that code worked from disk and over http, and the player.js API read the video's duration in both.
To get this from an AI tool, ask: "Embed the video with https://player.vimeo.com/video/VIDEO_ID and allow='autoplay; fullscreen; picture-in-picture'."
Private and unlisted videos
Not tested here: Vimeo's privacy settings can limit where a video embeds, and unlisted videos use an extra h= value in the player address. Copy the embed code from Vimeo's Share menu so those values come with it. If you limit embedding to specific domains, add r.fileproapp.com, the address shared pages run from.
Upload it and send the link
Drag the HTML file onto the FileShare Pro dashboard and copy the link. Viewers need no account on FileShare Pro. The shared view allows autoplay, fullscreen and picture-in-picture for your page, so the Vimeo player keeps those controls.
Change the page and upload a new version over the old one; the link stays the same. Related: a page with an embedded YouTube video, a page with a video file and a Calendly booking page in a shared page.
Frequently asked
Yes, for a public video. Unlike YouTube, the Vimeo player loaded from a file:/// address in the test.
No. The video stays on Vimeo; only the HTML file is uploaded.
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