History: PluginPeerTube
Source of version: 18
Copy to clipboard
! {icon name="video"} ~hs~ PluginPeerTube This ((wiki plugin)) embeds a PeerTube video in a Tiki page. It uses PeerTube’s oEmbed under the hood but exposes familiar Tiki parameters. Available since Tiki 30.x. !! Parameters Embed a PeerTube video (uses oEmbed under the hood). ''Introduced in Tiki 30.x. Required parameters are in'' -+__bold__+-. [https://gitlab.com/tikiwiki/tiki/-/merge_requests/8109/diffs#diff-content-e90771370fb0293b7bf1c429c7e38b159c51a24b|Go to the source code] ''Required preferences:'' -+wikiplugin_peertube+- and -+feature_peertube+-. || __Parameter__ | __Accepted values__ | __Description__ | __Default__ | __Since__ -+url+- | url | Full watch URL of the PeerTube video (e.g., https://videos.example.com/w/abc123xyz) | | Tiki 30.x -+height+- | digits | Height in pixels (e.g., 315). Leave empty to use provider dimensions | | Tiki 30.x -+width+- | digits | Width in pixels (e.g., 560). Leave empty to use provider dimensions | | Tiki 30.x -+start+- | digits | Start time offset in seconds | 0 | Tiki 30.x -+privacyEnhanced+- | y / n | Enable “privacy-enhanced” mode (if supported by the provider) | | Tiki 30.x -+bg+- | text | Container background color. Examples: -+#ffffff+-, -+rgb(255,255,255)+-, -+white+- | | Tiki 30.x -+allowFullScreen+- | y / n | Allow full-screen playback | y | Tiki 30.x -+borderRadius+- | y / n | Apply rounded corners to the container | y | Tiki 30.x -+border+- | text | Container border color. Examples: -+#ffffff+-, -+rgb(255,255,255)+-, -+white+- | | Tiki 30.x || --- !! Show a video ''Examples of using the PeerTube plugin:'' Minimal {CODE(colors="tiki")} {peertube url="https://videos.example.com/w/abc123xyz"} {CODE} With display options {CODE(colors="tiki")} {peertube url="https://videos.example.com/w/abc123xyz" width="560" height="315" allowFullScreen="y" bg="#000000" border="#ff0000" borderRadius="y" start="30" } {CODE} {oembed url="https://videos.evoludata.com/w/2aGghaFr12Cg1Nj1ckqznH" background="000000" border="ff0000" allowFullScreen="y"}
History
Information | Version | |||||
---|---|---|---|---|---|---|
Olivier Kango | 24 | |||||
Olivier Kango | 23 | |||||
Olivier Kango | 22 | |||||
Olivier Kango | 21 | |||||
Olivier Kango | 20 | |||||
Olivier Kango | 19 | |||||
Olivier Kango | 18 | |||||
Olivier Kango | 17 | |||||
Olivier Kango | 16 | |||||
Olivier Kango | 15 | |||||
Olivier Kango | 14 | |||||
Olivier Kango | 13 | |||||
Olivier Kango | 12 | |||||
Olivier Kango | 11 | |||||
Olivier Kango | 10 | |||||
Olivier Kango | 9 | |||||
Olivier Kango | 8 | |||||
Olivier Kango | 7 | |||||
Olivier Kango | 6 | |||||
Olivier Kango | 5 | |||||
Olivier Kango | 4 | |||||
Olivier Kango | 3 | |||||
Olivier Kango | 2 | |||||
Olivier Kango | 1 |