Widget:FBF: Różnice pomiędzy wersjami
Z Nurkopedia
(Nie pokazano 7 pośrednich wersji utworzonych przez tego samego użytkownika) | |||
Linia 1: | Linia 1: | ||
+ | <noinclude>__NOTOC__ | ||
+ | This widget allows you to embed a '''[https://developers.facebook.com/docs/plugins/embedded-video-player Embedded Page]''' (iframe version) on your wiki page. | ||
+ | Adapted by [https://www.mediawiki.org/wiki/User:Alianin Alianin] and for nurkopedia [[User:MIG|MIG]] from the [https://www.mediawikiwidgets.org/Facebook_Like_Box Facebook Like Box]] widget by [https://www.mediawikiwidgets.org/User:Chris_White Chris White]. | ||
+ | ==Copy to your site== | ||
+ | To use this widget on your site, just install the [https://www.mediawiki.org/wiki/Extension:Widgets Widgets] extension and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{PAGENAME}}''' article. | ||
+ | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | <iframe src="//www.facebook.com/plugins/ | + | <style> |
+ | table, th, td { | ||
+ | border: 1px solid black; | ||
+ | border-collapse: collapse; | ||
+ | border-color: #cccccc; | ||
+ | background-color: #f9f9f9; | ||
+ | } | ||
+ | </style> | ||
+ | <table> | ||
+ | <tr> | ||
+ | <th> | ||
+ | <iframe src="//www.facebook.com/plugins/video.php?href= | ||
<!--{$profile}-->& | <!--{$profile}-->& | ||
− | width=<!--{$ | + | width=<!--{$szerokosc|default:500|escape:'urlpathinfo'}-->& |
− | height=<!--{$height|default: | + | height=<!--{$height|default:300|escape:'urlpathinfo'}-->& |
appId" | appId" | ||
− | width="<!--{$ | + | width="<!--{$szerokosc|default:500|escape:'urlpathinfo'}-->" |
− | height="<!--{$height|default: | + | height="<!--{$height|default:300|escape:'urlpathinfo'}-->" |
style="border:none; overflow:hidden;" | style="border:none; overflow:hidden;" | ||
scrolling="no" | scrolling="no" | ||
allowTransparency="true"> | allowTransparency="true"> | ||
</iframe> | </iframe> | ||
+ | </th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td><p><!--{$opis|default:""}--> <a href=www.facebook.com>Film z Facbook.</a></p></td> | ||
+ | </tr> | ||
+ | </table><br> | ||
</includeonly> | </includeonly> |
Aktualna wersja na dzień 06:35, 9 lip 2018
This widget allows you to embed a Embedded Page (iframe version) on your wiki page. Adapted by Alianin and for nurkopedia MIG from the Facebook Like Box] widget by Chris White.
Copy to your site
To use this widget on your site, just install the Widgets extension and copy the full source code of this page to your wiki as FBF article.