How to Embed Facebook Videos on Your Website or WordPress (2026)
It is easy to embed YouTube videos, but how do you embed Facebook videos on your website or blog? When we first wrote this in 2011, Facebook had no embed button, so you had to build the code from the video URL. Now Facebook offers an official embed option, but WordPress no longer embeds Facebook links automatically. Here is how to embed Facebook videos in 2026, step by step.

Quick answer: Open the public Facebook video on a computer, click the three dots (…) and choose Embed, then copy the <iframe> code and paste it into your page’s HTML (in WordPress, use a Custom HTML block). The video must be public. WordPress removed automatic Facebook embeds in 2020, so pasting the plain URL no longer works without a plugin.
Table of Contents
How to embed a Facebook video
- Open the video on Facebook in a desktop browser. Make sure it is posted publicly (the globe icon).
- Click the three dots (…) on the post or video player.
- Select Embed. Tick “Include full post” if you want the caption and post text too.
- Click Copy code.
- Paste the code into your website’s HTML where you want the video.
Embed Facebook videos in WordPress
- Block editor: add a Custom HTML block and paste the iframe code. Preview to check it.
- Classic editor: switch to the Text tab and paste the code.
- Plugins: if you embed many Facebook videos or feeds, a plugin such as Smash Balloon’s Custom Facebook Feed can handle it.
Why does pasting a Facebook link not work? Facebook changed its API to require an access token for embeds, so WordPress removed Facebook and Instagram from its automatic embeds in version 5.5.2.
Make the video responsive
The default iframe has a fixed width. Add this CSS so it fits phones:
iframe[src*="facebook.com/plugins/video"] {
width: 100%;
max-width: 560px;
aspect-ratio: 16 / 9;
height: auto;
}For vertical videos and Reels, use aspect-ratio: 9 / 16.
Why is the Embed option missing?
- The video is not public (friends-only or private videos cannot be embedded).
- The owner has turned off embedding.
- You are using the mobile app; switch to a desktop browser.
Respect copyright
Embedding keeps the video on Facebook and credits the creator, but not every video is free to share. Embed your own videos, or ask the owner, especially for business use.
Facebook or YouTube?
Facebook embeds load slower and can be blocked by privacy extensions. If you own the video, uploading it to YouTube and embedding the YouTube video usually gives a faster, more reliable player.
More Facebook tools for your site: add Facebook comments and create a Facebook page for your blog.
FAQ
Can I embed a Facebook Reel?
Yes, if it is public. Open the Reel on desktop, click the three dots and choose Embed.
Can I embed a Facebook Live video?
Yes. Public live videos can be embedded and continue as a replay after the broadcast.
Does embedding Facebook videos slow my site?
Yes, a little, because Facebook loads its own scripts. Add loading=”lazy” to the iframe.
Do you embed social videos on your site? Tell us in the comments.
Stuck on a gift? Try our free Gift Idea GeneratorIdeas for anyone by age, job, interests and budget, with Amazon.com and Amazon.in linksFind gifts →Get our free weekly email: new tech guides and tools, no spam.
New and updated tech guides, a free tool worth bookmarking and one useful pick, once a week. No spam, unsubscribe anytime.
One email a week. Unsubscribe anytime. See our privacy policy.







code does not work. Sorry it just shows a blank screen.
I tried this and it did not work! .. it looks like the FAcebook Video URL does not work that way anymore. Try opening the new Facebook Video URL you come up with and see where it takes you.
There should be a different way to embed Facebook Videos – just still looking for an updated new code!
Thanks for sharing this info anyways! ..Great site by the way ;)
What if my Facebook URL has more characters after the video number? Your instructions seem to be getting me much closer than anything else I’ve tried, but I can’t quite get it still. What I’m trying to imbed is https://www.facebook.com/ricksaake/videos/3494383568250/ Thanks!
What if the video on private can only view only with friends. Is the video viewable online?
Hey this is very nice but can you please tell me, if I want user to enter only url of the website in a textbox to upload a video on my website then is this possible to get video from all website and then show into my website ?
Thanks so much. Your instructions were perfect and easy. There are other places online that gave me instructions that didn’t work or were not understandable. Really appreciate your instructions that worked like a champ.
I cant still play the video :) i have tried this but it seems like ain’t working.Can someone tell me what should i do T_T
This is indeed a useful post . Many thanks
may I ask something?
why does FaceBook not giving the embed code even on Public Videos by default?
Maybe because most users post personal videos to share with friends, and not intended for embedding by visiting bloggers.
Thank you very much, PCHere. I am thinking about how to embed FB Video for long time. And now I have understood. Thanks, dude!
There is one more way to embed it into your blog, go to facebook video page and look at your left, you’ll see ’embed this video’ link use it.
That embed link is visible if you want to embed your own videos.