Amélioration de Facebook Post #907
This commit is contained in:
parent
87896a46d2
commit
9f77d5f9a9
|
|
@ -393,9 +393,10 @@ tarteaucitron.services.facebookpost = {
|
|||
height = x.getAttribute("height"),
|
||||
url = x.getAttribute("data-url"),
|
||||
appId = x.getAttribute("data-appid"),
|
||||
allowfullscreen = x.getAttribute("allowfullscreen");
|
||||
allowfullscreen = x.getAttribute("allowfullscreen"),
|
||||
showText = x.getAttribute("data-show-text");
|
||||
|
||||
return '<iframe title="' + frame_title + '" src="https://www.facebook.com/plugins/post.php?href=' + encodeURIComponent(url) + '&width=' + width + '&show_text=false&appId=' + appId + '&height=' + height + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
||||
return '<iframe title="' + frame_title + '" src="https://www.facebook.com/plugins/post.php?href=' + encodeURIComponent(url) + '&width=' + width + '&show_text=false&appId=' + appId + '&show_text=' + showText + '&height=' + height + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
||||
});
|
||||
},
|
||||
"fallback": function () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue