Thread: Allow HTML?
View Single Post
Old 04-12-2008, 03:21 PM   #4 (permalink)
SawanM
Hem Hem
 
SawanM's Avatar
 
Join Date: Dec 2006

Posts: 12,805
Rep Power: 17 SawanM is a jewel in the roughSawanM is a jewel in the roughSawanM is a jewel in the rough
fTrader: (47)
fBuck$: 190,804
Bank: 0
Total fBuck$: 190,804
The first gift of the new fStore :) - SawanM0112 Look, I spelled your name right!  Enjoy your apple. - no2pencil =) - Larah 

My Forumer
My Country:
Default Re: Allow HTML?

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!

SawanM is offline