Template:YoutubeVideo: Difference between revisions
Jump to navigation
Jump to search
(ArchiveVideo no work no mo) |
No edit summary |
||
Line 2: | Line 2: | ||
<div style="display: inline-block; text-align: left;"> | <div style="display: inline-block; text-align: left;"> | ||
<div style="width: {{{width|640}}}px; margin: 20px auto; padding: 10px; border: 1px solid #ccc;"> | <div style="width: {{{width|640}}}px; margin: 20px auto; padding: 10px; border: 1px solid #ccc;"> | ||
< | <youtube>{{{videoURL}}}</youtube> | ||
<div style="text-align: center;"><small>{{{caption|}}}</small></div> | <div style="text-align: center;"><small>{{{caption|}}}</small></div> | ||
</div> | </div> | ||
Line 13: | Line 13: | ||
"videoURL": { | "videoURL": { | ||
"type": "url", | "type": "url", | ||
"required": true | "required": true, | ||
"example": "izF0hqzC8Gg or https://www.youtube.com/watch?v=izF0hqzC8Gg" | |||
}, | }, | ||
"width": { | "width": { | ||
Line 45: | Line 46: | ||
} | } | ||
}, | }, | ||
"description": " | "description": "Stylishly embed youtube videos!", | ||
"paramOrder": [ | "paramOrder": [ | ||
"videoURL", | "videoURL", |
Revision as of 00:42, 17 December 2023
Provided ID could not be validated.
Stylishly embed youtube videos!
Parameter | Description | Type | Status | |
---|---|---|---|---|
videoURL | videoURL | no description
| URL | required |
alignment | alignment | center is heavily suggested, as aligning it left/right can mess with the formatting of the article
| Unknown | required |
Video Width | width | no description
| Number | suggested |
Video Height | height | no description
| Number | suggested |
caption | caption | no description | Unknown | optional |