How to Embed facebook Video in WordPress website Blog post without Plugin

How to Embed facebook Video in WordPress website Blog post without Plugin

Facebook does not provide any embedding code as other video hosting sites like youtube do. You can easily upload and share your videos on facebook; but if you want to share these videos with your friends or readers without any plugin on your blog, here is a very simple solution. All you have to open the video in facebook, copy the video number and paste in the following code.

STEP 1: Open the video and the URL of the video will be like this one:

STEP 2: Copy the video number (between = and & sings)

STEP 3: Open the post-editor in your wordpress blog and click on HTML as shown in picture.

STEP 3: Copy paste the following code in HTML editor by replacing the xxx with video number.

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

STEP 4: All is done, you can also change the width and height of the video by changing the width and height in first line of code.

2 Comments
  1. This is not working for me. I changed themes recently. I went to Signal Options (Signal is the name of the new theme)…copy/pasted the HTML code above with video # replacing the xxx’s. The box designated for this code is only capable of a one liner and the directive below it says this: Enter youtube paly video id. Example: http://www.youtube.com/watch?v=SxNJTWZVOQk
    Does this mean I cannot use a Facebook video? I just HAVE to have this video…it is exceptional for my blog. Any other ideas?

Leave a reply

TechEggs
Logo