1) Log in to the Administrative Control Panel (ACP), and click the Posting tab.
2) Click add new BBCode
3) In BBCode usage put
Code:
[youtube]{TEXT}[/youtube] 4) In HTML replacement put
Code:
<embed src="http://www.youtube.com/v/{TEXT}" wmode="transparent" style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" flashvars=""> 5) In the Help section put 'Use the ID of the Youtube video'.
6) Tick the box where it says 'Display on posting Page'
Now when you go to the posting screen you will see a button called 'youtube'
So when the BBCode comes up, put the ID of the video in between the tags for example
Lets say your YouTube URL is -
http://youtube.com/watch?v=JNJEZes-ooA
Then in between the youtube BBcode tags put '
JNJEZes-ooA' only.
As a result, the BBCode displayed would be
Code:
[youtube]JNJEZes-ooA[/youtube]
7) Enjoy YouTube videos on your forum!