shepline creative

Embedding Facebook videos in another site

This page nicely describes the technique of sharing videos hosted on Facebook on other webpages. I wanted to post the instructions here here for my own benefit and future reference.

Firstly, you need the id of the video you want to embed. This can be found in the address line, highlighted:

http://www.facebook.com/video/video.php?v=238773845205&ref=nf

Then, paste the following code into your webpage or blog post, and replace xxx with the video id:

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

And you’re done!

Category: embedding links

Tagged: , ,

Leave a Reply