Embedding Youtube in posts
Page 1 of 1

Author:  darren [ Thu Sep 13, 2012 1:34 pm ]
Post subject:  Embedding Youtube in posts

The gist of this post was in another thread, tommyboy asked me to post here as well. Glad to help. :)

Lets look at the following youtube url :


In this url there are two url variables; 'v' and 'feature'. The video id is the 'v' value, in this case 'O7EcT5YzKhQ'. Where you see an ampersand '&' starts another url variable named 'feature', and so on and so forth. Depending on the video and how you got to the page there may be more variables in the url and they could possibly be in a different order.

You can think of the url as a group of messages to your browser:
youtube.com/watch (domain and file) ? (? indicates there are some variables coming)
v=O7EcT5YzKhQ & (indicates another variable coming)
feature = relmfu & (and another)
guitars = chickmagnets

In order to embed your youtube video, copy whatever the 'v' value is (exclude the '=' and the following '&' if there is one), click on the youtube bbcode button when editing or creating your post, and paste your video id in like so:

[ youtube ]O7EcT5YzKhQ[ /youtube ]

(spaces added around the brackets so that the forum won't actually embed this video)

That concludes our programming lesson for the day. Enjoy!

Author:    [ Thu Sep 13, 2012 2:48 pm ]
Post subject:  Re: Embedding Youtube in posts

Thanks, Darren.
Much appreciated!


Author:  darren [ Thu Sep 13, 2012 3:04 pm ]
Post subject:  Re: Embedding Youtube in posts

You're welcome!

And yes, guitars ARE chickmagnets.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group