Help:Embedding a video
From Judgepedia
| Tool Box |
|---|
| Writing tips |
| Templates • Charts Categories • Footnotes Videos • Images Links Writing • Cheatsheet Discussions |
| Community • Portals |
You can embed YouTube videos on pages in Judgepedia.
Here's how:
- Figure out the identifying number of the YouTube video you want to embed. Once you are on You Tube, looking at the particular video you have chosen, the URL in your browser will look something like this:
- http://www.youtube.com/watch?v=4TiryN8Lz10. What comes after the v= is what you are looking for.
- Type: {{#ev:youtube|4TiryN8Lz10}}
Once you hit "save", what you'll get on the page is:
Change the size of the video
To make a smaller version of the video appear on the Judgepedia page, insert some code to reduce its size.
Here's how:
- Instead of typing with no size instructions like this: {{#ev:youtube|4TiryN8Lz10}}
- Include size instructions, like this: {{#ev:youtube|4TiryN8Lz10|200}} (The "200" in that line of code is the size instructions).
- The videos below are sized, respectively, at 100, 200 and 300.
Change video's location on page
If you type this: <div style="float:right;">{{#ev:youtube|gCMDAYPUo30|200}}</div>
Your video will appear on the far right of the page.
Insert a row of videos
You can make a row of videos appear, like this:
