How to Embed Facebook Videos

By Updated   BloggingFacebookSocial MediaTutorials

It is easy to embed Youtube videos, but how to embed Facebook videos on your site / blog. Facebook videos have links to share the Facebook video on your wall / friends wall, but does not provide an embed code. Here is how to do it.

1. Go to Facebook Video Page

When you are viewing a Facebook video in your news feed / profile and reach the end, these are the options offered.
facebook video url

Click on the “Go to Video” link and you are directed to the Facebook video page.

2. Find Facebook Video Url

Now look at the long url address in the browser location bar. It will look something like this

http://www.facebook.com/video/video.php?v=123456789012345

This is the url of the Facebook video page and cannot be embedded. We have to edit / shorten this url  to get the actual Facebook video url to embed. So this is the shorter url we need (note the changes, number stays same)

http://www.facebook.com/v/123456789012345

2. Get Facebook Video Embed Code

If you look at the old style embed code for any Youtube video, you find it looks like this

<object width="500" height="314">
<param name="movie" value="http://www.youtube.com/v/kdjuyfQijs0?fs=1&amp;hl=en_US"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/kdjuyfQijs0?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" width="500" height="314" allowscriptaccess="always" allowfullscreen="true"></embed>
</object>

This is a standard embed code for shockwave flash video. We have highlighted the embedded youtube urls. Now replace those youtube urls with the Facebook urls.

<object width="500" height="314">
<param name="movie" value="http://www.facebook.com/v/123456789012345"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.facebook.com/v/123456789012345" type="application/x-shockwave-flash" width="500" height="314" allowscriptaccess="always" allowfullscreen="true"></embed>
</object>

Paste in html mode in your post, and your Facebook video is embedded! Enjoy!

IMPORTANT NOTE: All Facebook videos are NOT in the public domain. Videos posted by Facebook users maybe copyrighted, personal, private, and may NOT be permitted for distribution or illegal to use without permission. So before you go ahead and embed any Facebook video, ALWAYS seek permission from the video owner / creator.

15 comments on “How to Embed Facebook Videos

  1. Tech Crates says:

    Wow… pretty easy tute to embed fb videos !! Great share buddy

  2. RealTimeTricks says:

    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.

  3. Pujiono JS says:

    Thank you very much, PCHere. I am thinking about how to embed FB Video for long time. And now I have understood. Thanks, dude!

  4. Julian says:

    may I ask something?

    why does FaceBook not giving the embed code even on Public Videos by default?

    • QuickOnlineTips says:

      Maybe because most users post personal videos to share with friends, and not intended for embedding by visiting bloggers.

  5. Matt Sharp says:

    This is indeed a useful post . Many thanks

  6. Kirk says:

    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

  7. Webmail says:

    Great share.Thanks

  8. americanexpatchiangmai says:

    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.

  9. Rakesh Shetty says:

    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 ?

  10. JelBee says:

    What if the video on private can only view only with friends. Is the video viewable online?

  11. Jennifer "InfertilityMom" Saake says:

    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/photo.php?v=3494383568250&set=vb.1531404073&type=3&theater Thanks!

  12. freddyjr says:

    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 ;)

  13. pauca says:

    code does not work. Sorry it just shows a blank screen.

Leave a Reply

Your email address will not be published. Required fields are marked *



 
css.php