youtube

Post Reply

Topic author
T3h Antek
Active Member
Posts: 6
Joined: 4. March 2010 13:58
phpBB.com User: T3h Antek

youtube

Post by T3h Antek »

Hey everyone,

I am looking for a way to post youtube vids on the portal, any addons you can think off ?


Thank you

Mess
Active Member
Posts: 32
Joined: 10. September 2009 15:08
phpBB.com User: Mess

Re: youtube

Post by Mess »

I did it by adding a new BBcode.

BBCode usage

Code: Select all

[blocktube]{IDENTIFIER}[/blocktube]
HTML replacement

Code: Select all

<object width="180" height="140"><param name="movie" value="http://www.youtube.com/v/{IDENTIFIER}&hl=da_DK&fs=1&rel=0&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{IDENTIFIER}&hl=da_DK&fs=1&rel=0&hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="180" height="140"></embed></object>
Help line

Code: Select all

[blocktube]Youtube ID[/blocktube]

Then I added this to the default custom block:

Display the small custom block: YES
Headline for the small custom block: Featured video
Activate BBCode for the small custom block: YES
Code for the small custom block: [blocktube]Youtube ID[/blocktube]

You need to change the videos through the ACP, but it gets the job done. :)
Post Reply

Return to “Modification Requests”