THIS IS ONLY A TESTWIKI! LH, MW 1.39.7, PHP 8, SMW 4.1.3

Widget:YouTube

Aus Test
Version vom 11. Juli 2024, 18:54 Uhr von Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<noinclude> This widget allows you to add a [https://developers.google.com/youtube/player_parameters YouTube video player] to your wiki page. == Using this widget == To insert this widget, use the following code: <pre><nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> |id=aayhZ8i7X58 |width=425 |height=355 }}</nowiki></pre> == Parameters == * '''id''' - video ID (from the URL) * '''start''' - timestamp of starting point within the video in seconds * '''p…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

This widget allows you to add a YouTube video player to your wiki page.

Using this widget

To insert this widget, use the following code:

{{#widget:{{PAGENAME}}
|id=aayhZ8i7X58
|width=425
|height=355
}}

Parameters

  • id - video ID (from the URL)
  • start - timestamp of starting point within the video in seconds
  • playlist - playlist name (starts with PL) - first clip is played (id and start are ignored)
  • height and width define view dimensions, 425x355 is default