Embedding Facebook Video – WordPress

So you don’t want to use extra plugins, I don’t blame you.
Here’s a quick and easy way to do it:

 

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 & signs)

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

STEP 4: 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>
</object>

 

STEP 5: 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.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>