Youtube-Videos
(Unterschied zwischen Versionen)
(Die Seite wurde neu angelegt: „To insert this widget, use the following code: <nowiki>{{#widget:YouTube|id=hsn19BNmqs8}}</nowiki> {{#widget:YouTube|id=hsn19BNmqs8}} == Parameters == * ''…“) |
|||
Zeile 1: | Zeile 1: | ||
− | + | = widget YouTube = | |
<nowiki>{{#widget:YouTube|id=hsn19BNmqs8}}</nowiki> | <nowiki>{{#widget:YouTube|id=hsn19BNmqs8}}</nowiki> | ||
Zeile 8: | Zeile 8: | ||
* '''playlist''' - playlist name (starts with PL) - first clip is played ('''id''' is ignored) | * '''playlist''' - playlist name (starts with PL) - first clip is played ('''id''' is ignored) | ||
* '''height''' and '''width''' define view dimensions, 420x350 is default | * '''height''' and '''width''' define view dimensions, 420x350 is default | ||
+ | |||
+ | = widget Html5media = | ||
+ | |||
+ | <nowiki>{{#widget:Html5media | ||
+ | |url=http://pornel.net/Performance.ogg | ||
+ | |width=640 | ||
+ | |height=360 | ||
+ | }}</nowiki> | ||
+ | |||
+ | == Parameters == | ||
+ | * '''url''' - URL of the video | ||
+ | * '''width''', '''height''' - dimensions (optional, 425x355 default) | ||
+ | |||
+ | == Sample result == | ||
+ | {{#widget:Html5media | ||
+ | |url=http://pornel.net/Performance.ogg | ||
+ | |width=640 | ||
+ | |height=360 | ||
+ | }} | ||
[[Kategorie:Test]] | [[Kategorie:Test]] |
Version vom 18. Oktober 2014, 11:18 Uhr
Inhaltsverzeichnis |
widget YouTube
{{#widget:YouTube|id=hsn19BNmqs8}}
Parameters
- id - video id (from the URL)
- playlist - playlist name (starts with PL) - first clip is played (id is ignored)
- height and width define view dimensions, 420x350 is default
widget Html5media
{{#widget:Html5media
|url=http://pornel.net/Performance.ogg
|width=640
|height=360
}}
Parameters
- url - URL of the video
- width, height - dimensions (optional, 425x355 default)
Sample result