youtube links.

Information, problems and conversation on anything and everything to do with Aura and these here boards.
Post Reply
User avatar
Matt
Noble Warrior
Posts: 4543
Joined: Mon Jun 14, 2004 1:39 pm
Location: England
Contact:

Post by Matt » Fri Dec 08, 2006 11:43 pm

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.
User avatar
Chewi
Anti-Hero
Posts: 3521
Joined: Sat Jun 12, 2004 3:51 pm
Location: Edinburgh, Scotland

Post by Chewi » Sat Dec 09, 2006 2:18 am

User avatar
Chewi
Anti-Hero
Posts: 3521
Joined: Sat Jun 12, 2004 3:51 pm
Location: Edinburgh, Scotland

Post by Chewi » Sat Dec 09, 2006 2:22 am

Yay. :)
Post Reply