Template:YouTube
From VRChat Wiki
Documentation
Embeds a YouTube video.
{{Youtube|id|width|ratio|styles}}
Example Usage
{{YouTube|PWLPw4RE9Ig}}
{{YouTube|PWLPw4RE9Ig|200px}}
{{YouTube|PWLPw4RE9Ig|100%}}
{{YouTube|qivRiGWcowI|360px|9 / 16}}
{{YouTube|qivRiGWcowI|20%|9 / 16}}
Template parameters
Name | Variable | Description |
---|---|---|
id | 1 |
ID of the video |
width | 2 |
Width in CSS units (e.g. 200px, 100%) |
ratio | 3 |
Ratio (e.g. 16 / 9, 9 / 16, 1 / 1) |
style | 4 |
Custom CSS styles |