How to embed a youtube video

From The Spaghetti Western Database

Jump to: navigation, search


HELP for EVERYONE

HELP for EDITORS

FURTHER HELP

META

As you probably know by now, YouTube has a bunch of spaghetti-related video, from film clips to trailers and more. It's quite simple to add a Youtube video to a SWDB entry. Go to the page of the Youtube video you want to embed. In the URL, you'll notice a unique id. For example, for the trailer for The Good, The Bad and the Ugly has a URL of http://www.youtube.com/watch?v=Xj0gJTGL93Q.

All you have to do is use this coding, putting that unique id in between the two | characters, like so:

{{#ev:youtube|Xj0gJTGL93Q|445}}

which will embed the video, so you'll see this:

The "445" is the pixel width, which is pretty standard, but you can change that to make the video larger or smaller if need be.

That's it!

--By Lordradish

Personal tools