Youtube-Videos
Aus JodWiki
(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 == * ''…“) |
|||
(2 dazwischenliegende Versionen von einem Benutzer werden nicht angezeigt) | |||
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://hl-reuters.de/FilmJodLeni.mp4 | ||
+ | |width=640 | ||
+ | |height=360 | ||
+ | }}</nowiki> | ||
+ | |||
+ | == Parameters == | ||
+ | * '''url''' - URL of the video | ||
+ | * '''width''', '''height''' - dimensions (optional, 425x355 default) | ||
+ | |||
+ | == Sample result == | ||
+ | {{#widget:Html5media | ||
+ | |url=http://hl-reuters.de/FilmJodLeni.mp4 | ||
+ | |width=320 | ||
+ | |height=240 | ||
+ | }} | ||
+ | {{#widget:Html5media | ||
+ | |url=https://www.youtube.com/watch?feature=player_embedded&v=hsn19BNmqs8 | ||
+ | |width=320 | ||
+ | |height=240 | ||
+ | }} | ||
+ | |||
[[Kategorie:Test]] | [[Kategorie:Test]] |
Aktuelle Version vom 19. Oktober 2014, 00:26 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://hl-reuters.de/FilmJodLeni.mp4
|width=640
|height=360
}}
Parameters
- url - URL of the video
- width, height - dimensions (optional, 425x355 default)
Sample result