Page 1 of 1

Posted: Fri Dec 08, 2006 11:43 pm
by Matt
They go like this.

Log in to the ACP.

Management.

Add new BBCode.

Custom BBCode Title = YouTube BBCode

Custom BBCode Description = To embed a YouTube link

Custom BBCode Example =

Code: Select all

[youtube]9pKujuTgtL0[/youtube]
Custom BBCode Tag = youtube

Use Option in tag? = No

Custom BBCode Replacement =

Code: Select all

<object width="425" height="350" autostart="0"><param name="movie" value="http://www.youtube.com/v/{content}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{content}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
or, to stick the page link for youtube at the bottom of the page

Code: Select all

<object width="425" height="350" autostart="0"><param name="movie" value="http://www.youtube.com/v/{content}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{content}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object><br /><br /><a href="http://www.youtube.com/v/{content}">http://www.youtube.com/v/{content}</a>
Notice
autostart="0"
Stops pages being plagued with autostarts. When I figure out the code that hides them. I'll post that. That's actually better.

Posted: Sat Dec 09, 2006 2:18 am
by Chewi

Posted: Sat Dec 09, 2006 2:22 am
by Chewi
Yay. :)