Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

How to Embed a Facebook Video on Your Website

To embed a Facebook video, open Facebook on a computer, go to the video, click Options and choose Embed, then copy the code and paste it into your web page. The video has to be public, and since September 2025 every Facebook video is a reel, so this is the reel embed.

Those are the steps in Facebook's Help Center, read in October 2026. There's one choice to make first, because Facebook gives you two kinds of embed: the reel on its own, or the whole post the reel sits in. Facebook says embedding the post includes the message posted with it, while embedding the reel directly includes only the reel player.

Two ways to embed, and when to use each

Embed typeWhat shows on your pageUse it when
Embed the reelOnly the video playerYou want the video to sit in your own article
Embed the postThe post's text plus the videoThe caption matters, such as an announcement
Embedded Video Player codeA player you size and configure yourselfYou want control over width, autoplay or captions

Embed a Facebook video from the video itself

  1. Open Facebook on a computer.
  2. Go to the video (reel) you want to embed.
  3. Click Options and select Embed. You'll only see this if the audience is set to Public.
  4. Copy the code that appears.
  5. Paste it into your web page where the video should appear.

To embed the post instead, go to the post, click the menu in its top right, click Embed and paste that code. Facebook says you can embed public posts you've shared, including photos and videos.

Where to paste the code

The code is HTML, so it needs to go somewhere your site accepts HTML, such as a Custom HTML block in WordPress or the code or embed element in most website builders. If you paste it into a normal text box, you'll usually see the raw code on the page instead of a video.

Using the Embedded Video Player code

Meta's developer documentation describes a more flexible route. You load Facebook's JavaScript SDK once on the page, ideally right after the opening body tag, then add a player tag with the video's address in data-href. The settings worth knowing:

SettingWhat Meta says it doesDefault
data-widthSets the player width; the minimum is 220auto
data-allowfullscreenLets visitors play the video full screenfalse
data-autoplayStarts the video muted when the page loads; doesn't apply on mobilefalse
data-show-textShows the post's text; desktop sites onlyfalse
data-show-captionsShows captions by default if available; desktop onlyfalse
data-lazyUses the browser's lazy loading so it doesn't render until near the screenfalse

Meta adds two warnings that save a lot of head-scratching. Don't use CSS to resize the player, because it can cause display errors; use data-width. And if you pull videos through the Graph API, don't use the embed_html property for embedding. Build the video address from its id instead.

Why an embedded Facebook video stops working

  1. The audience changed. Facebook says that if a reel's audience changes from Public, your site will show a message that the embedded reel is no longer available.
  2. It was never public. The Embed option only appears on public reels, and Meta's player needs a public video too.
  3. The code was pasted as text. Switch to an HTML or code block and paste again.
  4. The player was resized with CSS. Remove the CSS and set data-width instead.

Embedding isn't downloading

An embed plays the video from Facebook, so the video still lives there and the owner keeps control of it. Facebook's embed article also notes that it doesn't currently provide an option to download reels. If you need a copy of your own video for your site, that's a different job from embedding.

For a bigger screen than a web page, casting is covered in casting Facebook to a TV.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

The verdict

For most small business sites, the Embed option on a public reel is all you need: copy, paste into an HTML block, done. Reach for the Embedded Video Player code only if you want autoplay, full screen or a fixed width. And only embed videos you're happy to keep public, because changing the audience later breaks the embed. If you also share YouTube or X videos, the same principles apply when you embed a YouTube video or embed a video from X, and if you just want to send someone the clip, copy the reel's link instead.

If you want the full set, start at the Facebook Help: 80 Guides to Pages, Groups, Ads, Stories and Fixes.

Frequently asked questions

How do I get the embed code for a Facebook video?

On a computer, open the video, click Options and select Embed. The option only appears if the video's audience is Public.

Can I embed a private Facebook video?

No. Facebook only shows the Embed option for public reels, and if a reel's audience changes from Public the embed stops showing it.

Why is my embedded Facebook video not showing?

Usually the video is no longer public, or the code went into a text box instead of an HTML block. Facebook shows a no-longer-available message when the audience changes.

Can an embedded Facebook video autoplay?

Meta's Embedded Video Player has a data-autoplay setting that starts the video muted, but it doesn't apply on mobile.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.