אני לא בדקתי, אבל זה אמור לפעול:
HTML קוד:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="he" lang="he" dir="rtl">
<head>
<script type="text/javascript">
$(document).ready(function() {
window.fbAsyncInit = function()
{
FB.init({status: true, cookie: true, xfbml: true});
FB.Event.subscribe('edge.create', function(href, widget)
{
setCookie('hotmovieVideoGroupLike' + encode64(href), 'truer', 370);
$("#MoviePlayerPlayer").css("display","block");
});
FB.Event.subscribe('edge.remove', function(href, widget)
{
setCookie('hotmovieVideoGroupLike' + encode64(href), 'falser', 0);
$("#MoviePlayerPlayer").css("display","none");
});
};
(function()
{
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol + '//connect.facebook.net/he_IL/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
});
</script>
</head>
<body>
<div id='fb-root'></div>
<fb:like href="URL" send="false" width="550" show_faces="false"></fb:like>
</body>
</html>