Template:Youtube: Difference between revisions
From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
Lost Student (talk | contribs) (Created page with "<includeonly>{{#ev:youtube|{{{id|}}}|{{{dimensions|}}}|{{{alignment|}}}|{{{description|}}}|{{{container|}}}|urlargs=start={{{start|}}}&end={{{end|}}}}}</includeonly><noinclude><templatedata> { "params": { "id": { "label": "Video ID", "description": "The video ID. Can be found in the video url. For example, the id of the video at https://www.youtube.com/watch?v=34976SngvrY is \"34976SngvrY\"", "example": "34976SngvrY", "type": "string", "required": true...") |
Lost Student (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ev:youtube|{{{id|}}}|{{{dimensions|}}}|{{{alignment|}}}|{{{description|}}}|{{{container|}}}| | <includeonly>{{#ev:youtube|{{{id|}}}|{{{dimensions|}}}|{{{alignment|}}}|{{{description|}}}|{{{container|}}}|start={{{start|}}}&end={{{end|}}}}}</includeonly><noinclude><templatedata> | ||
{ | { | ||
"params": { | "params": { |
Latest revision as of 23:12, October 11, 2023
This template is for inserting an embedded Youtube video.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Video ID | id | The video ID. Can be found in the video url. For example, the id of the video at https://www.youtube.com/watch?v=34976SngvrY is "34976SngvrY"
| String | required |
Video Dimensions | dimensions | Size of the video frame
| String | optional |
Horizontal Alignment | alignment | Determine placement of the video frame on the page
| String | optional |
Video Description | description | Description of the video | String | optional |
Start Time (seconds) | start | Time to start playing the video | Number | optional |
End Time (seconds) | end | Time to end playing the video | Number | optional |