Template:YouTube: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
"type": "content" | "type": "content" | ||
}, | }, | ||
"float": {}, | "float": { | ||
"width": {}, | "aliases": [ | ||
"height": {} | "position" | ||
], | |||
"label": "Position", | |||
"description": "Either 'left' or 'right'", | |||
"type": "string", | |||
"autovalue": "right", | |||
"suggested": true | |||
}, | |||
"width": { | |||
"label": "Width", | |||
"autovalue": "400", | |||
"description": "Width of the embedded video. Does not automatically scale with the height." | |||
}, | |||
"height": { | |||
"description": "Height of embedded video. Does not automatically scale with the width.", | |||
"autovalue": "240" | |||
} | |||
}, | }, | ||
"description": "Embed a YouTube video" | "description": "Embed a YouTube video" |
Revision as of 07:17, 15 April 2020
Embed a YouTube video
Parameter | Description | Type | Status | |
---|---|---|---|---|
YouTube video ID | 1 | This is the alphanumeric code that follows the v= in the URL of the YouTube video. | String | required |
Description | 2 | Optional description to show below the video | Content | optional |
Position | float position | Either 'left' or 'right'
| String | suggested |
Width | width | Width of the embedded video. Does not automatically scale with the height.
| Unknown | optional |
height | height | Height of embedded video. Does not automatically scale with the width.
| Unknown | optional |