Lostpedia
Advertisement

New: November 25th 2006 - Video from YouTube can now be placed in Lostpedia using simple markup.

Adding a video

To add a video, you need the id code for the video. The easiest way to get this is to look at the URL of the video from the YouTube page. The string of numbers and letters after the "v=" in the URL is the id code. For example http://www.youtube.com/watch?v=NvQScRuZj9s. The id code is NvQScRuZj9s

Videos are embedded with the code:

<youtube></youtube>

The id for the video you want to show goes between the tags:

<youtube>id code</youtube> 

So for the video above, the code would be:

<youtube>NvQScRuZj9s</youtube> 

Changing the size of the video

You can change the size of the video, up to a maximum of 425x350 pixels. If you set both the width and the height of the video and they are not proportionate, then you will have empty space around the video. If you just want to make it smaller, just set the width and the height is automatically adjusted.

  • Width is set with width="***", where *** is the number of pixels. The default is 425 pixels.
  • Height is set the same way, using height="xxx". The default is 350 pixels.

An example would be:

<youtube width="200" height="200">NvQScRuZj9s</youtube>

This gives you:

Advertisement