How to embed a youtube video

From The Spaghetti Western Database
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 https://www.youtube.com/watch?v=AxWlpeI9KRk.

All you have to do is use this tag, putting that unique id in between the two of them, like so:

<youtube>https://www.youtube.com/watch?v=AxWlpeI9KRk</youtube>

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

That's it!

--By Lordradish

Cookies help us deliver our services. By using our services, you agree to our use of cookies.