Difference between revisions of "Help:YouTube"
(Created page with "How to embed youtube videos in wiki pages ==General== <nowiki><youtube></nowiki><span style="color:green;">videoid</span><nowiki></youtube></nowiki> The videoid can be foun...") |
m |
||
Line 3: | Line 3: | ||
==General== | ==General== | ||
<nowiki><youtube></nowiki><span style="color:green;">videoid</span><nowiki></youtube></nowiki> | <nowiki><youtube></nowiki><span style="color:green;">'''videoid'''</span><nowiki></youtube></nowiki> | ||
The videoid can be found in the youtube url: <nowiki>http://www.youtube.com/watch?v=</nowiki><span style="color:green;">6gd1FvbcnL4</span> | The videoid can be found in the youtube url: <nowiki>http://www.youtube.com/watch?v=</nowiki><span style="color:green;">'''6gd1FvbcnL4'''</span> | ||
You can add <nowiki><br /></nowiki> to achieve line break if you don't want the video to be embedded in text. | |||
<youtube>6gd1FvbcnL4</youtube> | So adding <nowiki><br /><youtube>6gd1FvbcnL4</youtube><br /></nowiki> to any wiki page should result in the display of the video like: | ||
<br /><youtube>6gd1FvbcnL4</youtube><br /> | |||
==Options== | ==Options== | ||
<nowiki><youtube size="small">6gd1FvbcnL4</youtube></nowiki> | <nowiki><br /><youtube size="small">6gd1FvbcnL4</youtube><br /></nowiki> | ||
<youtube size="small">6gd1FvbcnL4</youtube> | <br /><youtube size="small">6gd1FvbcnL4</youtube><br /> | ||
<nowiki><youtube size="medium">6gd1FvbcnL4</youtube></nowiki> | <nowiki><br /><youtube size="medium">6gd1FvbcnL4</youtube><br /></nowiki> | ||
<youtube size="medium">6gd1FvbcnL4</youtube> | <br /><youtube size="medium">6gd1FvbcnL4</youtube><br /> | ||
<nowiki><youtube size="normal">6gd1FvbcnL4</youtube></nowiki> | <nowiki><br /><youtube size="normal">6gd1FvbcnL4</youtube><br /></nowiki> | ||
<youtube size="normal">6gd1FvbcnL4</youtube> | <br /><youtube size="normal">6gd1FvbcnL4</youtube><br /> | ||
<nowiki><youtube size="big">6gd1FvbcnL4</youtube></nowiki> | <nowiki><br /><youtube size="big">6gd1FvbcnL4</youtube><br /></nowiki> | ||
<youtube size="big">6gd1FvbcnL4</youtube> | <br /><youtube size="big">6gd1FvbcnL4</youtube><br /> | ||
<nowiki><youtube align="right" width="100" height="100">xYHsaDDSF</youtube></nowiki> | <nowiki><br /><youtube align="right" width="100" height="100">xYHsaDDSF</youtube><br /></nowiki> | ||
<youtube align="right" width="100" height="100">xYHsaDDSF</youtube> | <br /><youtube align="right" width="100" height="100">xYHsaDDSF</youtube><br /> |
Revision as of 14:07, 12 December 2012
How to embed youtube videos in wiki pages
General
<youtube>videoid</youtube>
The videoid can be found in the youtube url: http://www.youtube.com/watch?v=6gd1FvbcnL4
You can add <br /> to achieve line break if you don't want the video to be embedded in text.
So adding <br /><youtube>6gd1FvbcnL4</youtube><br /> to any wiki page should result in the display of the video like:
<youtube>6gd1FvbcnL4</youtube>
Options
<br /><youtube size="small">6gd1FvbcnL4</youtube><br />
<youtube size="small">6gd1FvbcnL4</youtube>
<br /><youtube size="medium">6gd1FvbcnL4</youtube><br />
<youtube size="medium">6gd1FvbcnL4</youtube>
<br /><youtube size="normal">6gd1FvbcnL4</youtube><br />
<youtube size="normal">6gd1FvbcnL4</youtube>
<br /><youtube size="big">6gd1FvbcnL4</youtube><br />
<youtube size="big">6gd1FvbcnL4</youtube>
<br /><youtube align="right" width="100" height="100">xYHsaDDSF</youtube><br />
<youtube align="right" width="100" height="100">xYHsaDDSF</youtube>