Nieuwe pagina aangemaakt met '<div class="bb--video"> <video width="{{{width|640}}}" height="{{{height|360}}}" controls poster="{{{poster|}}}"> <source src="{{{file}}}" type="video/mp4"> Your browser does not support the video tag. </video> </div>' |
Geen bewerkingssamenvatting |
||
| (Een tussenliggende versie door dezelfde gebruiker niet weergegeven) | |||
| Regel 1: | Regel 1: | ||
<div class="bb--video"> | <noinclude> | ||
<templatedata> | |||
{ | |||
"description": "Embedded video (YouTube or uploaded file)", | |||
"params": { | |||
"file": { | |||
"label": "Video file", | |||
"description": "Naam van geüpload mp4-bestand", | |||
"type": "wiki-file-name", | |||
</ | "required": false | ||
}, | |||
"id": { | |||
"label": "Video ID", | |||
"description": "YouTube video ID (bijv. 3NpF2SMnyUk)", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"type": { | |||
"label": "Platform", | |||
"description": "Video platform (bijv. YouTube)", | |||
"type": "string", | |||
"default": "YouTube", | |||
"required": false | |||
}, | |||
"width": { | |||
"label": "Breedte", | |||
"default": "500" | |||
}, | |||
"height": { | |||
"label": "Hoogte", | |||
"default": "500" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"file", | |||
"id", | |||
"type", | |||
"width", | |||
"height" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | |||
<includeonly> | |||
{{#if:{{{id|}}} | |||
| <!-- YouTube / external widget video --> | |||
<div class="bb--video"> | |||
{{#widget:{{{type|YouTube}}} | |||
| id={{{id|}}} | |||
| width={{{width|500}}} | |||
| height={{{height|500}}} | |||
}} | |||
</div> | |||
| <!-- Local file video --> | |||
<div class="bb--video"> | |||
{{#widget:Video | |||
| url={{filepath:{{{file|}}}}} | |||
| width={{{width|500}}} | |||
| height={{{height|500}}} | |||
}} | |||
</div> | |||
}} | |||
</includeonly> | |||
Huidige versie van 24 feb 2026 15:57
Embedded video (YouTube or uploaded file)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Video file | file | Naam van geüpload mp4-bestand | File | optional |
| Video ID | id | YouTube video ID (bijv. 3NpF2SMnyUk) | String | optional |
| Platform | type | Video platform (bijv. YouTube)
| String | optional |
| Breedte | width | no description
| Unknown | optional |
| Hoogte | height | no description
| Unknown | optional |