הבדלים בין גרסאות בדף "Widget:Ted"
קפיצה לניווט
קפיצה לחיפוש
(יצירת דף עם התוכן "<noinclude> This widget allows you to add a Ted talk to your wiki page. To insert this widget, use the following code: <nowiki>{{#widget:Ted|id=ruth_chang_how...") |
|||
שורה 3: | שורה 3: | ||
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
− | <nowiki>{{#widget:Ted|id=ruth_chang_how_to_make_hard_choices}}</nowiki> | + | <nowiki>{{#widget:Ted|id=ruth_chang_how_to_make_hard_choices}}</nowiki> |
− | |||
== Parameters == | == Parameters == | ||
− | * '''id''' - video id (from the URL) | + | * '''id''' - video id (from the URL, no html file type) |
* '''height''' and '''width''' define view dimensions, 420x350 is default | * '''height''' and '''width''' define view dimensions, 420x350 is default | ||
</noinclude> | </noinclude> | ||
<includeonly><iframe width="<!--{$width|escape:'html'|default:'854'}-->" height="<!--{$height|escape:'html'|default:480}-->" src="https://embed-ssl.ted.com/talks/lang/he/<!--{$id|escape:'urlpathinfo'}-->.html" frameborder="0" scrolling="no" allowfullscreen webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></includeonly> | <includeonly><iframe width="<!--{$width|escape:'html'|default:'854'}-->" height="<!--{$height|escape:'html'|default:480}-->" src="https://embed-ssl.ted.com/talks/lang/he/<!--{$id|escape:'urlpathinfo'}-->.html" frameborder="0" scrolling="no" allowfullscreen webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></includeonly> |
גרסה מ־15:45, 24 בדצמבר 2014
This widget allows you to add a Ted talk to your wiki page. To insert this widget, use the following code:
{{#widget:Ted|id=ruth_chang_how_to_make_hard_choices}}
Parameters
- id - video id (from the URL, no html file type)
- height and width define view dimensions, 420x350 is default