This article is a stub. You can help YumeWiki by expanding it. |
This page is a guide for embedding videos on YumeWiki. Videos are usually embedded using the #ev
tag added by the EmbedVideo extension.
Basic Embeds
The usual syntax:
{{#ev:service|id|dimensions|alignment|description}}
An example for syntax that skips dimensions and alignment (notice the empty inputs):
{{#ev:service|id|||description}}
Examples
The following example embeds a youtube video using a small size, centers the video on the page, and uses a description that combines wikitext with <center>
tags.
{{#ev:youtube|SFcuEQyO1O8|320x180|center|<center>[[Yume Nikki:Effects#Towel|Towel]] effect guide</center>}}
Since the default value of alignment
is center
, it can be left blank for the same result. Another thing to be aware of is that <center>
tags placed on the outside of the #ev
tag will only center the text, and not effect the alignment of the whole element. The following example would result in the exact same output as the previous:
<center>{{#ev:youtube|SFcuEQyO1O8|320x180||[[Yume Nikki:Effects#Towel|Towel]] effect guide}}</center>
In this example, the same video was made to float to the right, with a smaller width. The tag was used before this paragraph. If you are on a mobile device, you may notice the element does not become centered, unlike floating images. This causes the text to wrap and can make pages hard to read. The input used was the following:
{{#ev:youtube|SFcuEQyO1O8|240x180|right|<center>[[Yume Nikki:Effects#Towel|Towel]] effect guide</center>}}
Inline Videos
The alignment
of a video can be give a value of inline
to allow for more freedom in displaying it on the page. One major use to this is displaying videos side by side. The following example was used in this revision of Yume Nikki:Frog.
<center> {{#ev:youtube|8p4EY8LVcpg|320x180|inline|How to find the Frog in Forest World.}} {{#ev:youtube|TzlvlIrAkP0|320x180|inline|How to find the Frog in the Dense Woods B.}} </center>