This article describes how you can easily embed Facebook videos in your web pages and blogs. is pretty simple. In fact, Embed Facebook Video it follows the same format as embedding others flash. But there are problems along the way after Facebook timeline style.
Facebook does not provide an 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.
Embed Facebook Video
Update May 2012
Facebook change url linkin of video on timeline style.
old style: http://www.facebook.com/video/video.php?v=xxxxxx
new style: http://www.facebook.com/photo.php?v=xxxxxx
how to fix Embed Facebook Video ?
Open the video and the URL of the video will be like this one:
Every video uploaded on to Facebook has a unique ID that you can find in the browserâs address bar (look for the value of parameter "v").
so as you can seen. the video unique ID are 348906867935
for example: I try to embed this Facebook video. so I must fix Video "ID" Problem with basic video link.
www.facebook.com/v/348906867935
it will redirect to Facebook link swf:
http://static.ak.fbcdn.net/rsrc.php/v1/y2/r/5l8_EVv_jyW.swf?v=348906867935&ev=0
Here the code to put embed Facebook video (swf) on Html:
<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>
Change the section of value and embed link with redirect link swf:
value="http://www.facebook.com/v/xxx" change with Redirect link swf
and alsoembed src="http://www.facebook.com/v/xxx" change with Redirect link swf
so the complete script will be:
<object width="400" height="224" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://static.ak.fbcdn.net/rsrc.php/v1/y2/r/5l8_EVv_jyW.swf?v=348906867935&ev=0" /><embed width="400" height="224" type="application/x-shockwave-flash" src="http://static.ak.fbcdn.net/rsrc.php/v1/y2/r/5l8_EVv_jyW.swf?v=348906867935&ev=0" allowfullscreen="true" allowscriptaccess="always" /></object>
Note: do not use break line on script, the embed code will not working as properly.
put on the html/code section on your script. done!
Sometime you have problem a usual:
Video cannot embed/still not appear?
Do not use "break line"Â to put embed code
how to fix this message?
Remember to Set Privacy setting on video to "Everyone" because Facebook doesn't allow everyone to see embed video/swf below main privacy such permission for a few friend (list). unfortunately they not provide more content with not on a login section. yeah Facebook still one F*ed after all!
credit by: Allah SWT
 @akaneasuhara
I'm not learning everything
Tidak ada komentar:
Posting Komentar