Page 1 of 1

Forum :: Youtube

Posted: Sun Jun 17, 2012 6:56 am
by cyberpunk
Please :3
Like the spoiler, easy to implement

BBCode: Youtube
ACP -> Posting -> BBCodes -> Add a New BBCode

BBcode:

Code: Select all

[youtube]{URL}[/youtube]
HTML:

Code: Select all

<script language="Javascript">
var a = '{URL}';
var temp = new Array();
temp = a.split('?v=');
document.write('<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/' + temp[1] + '&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/' + temp[1] + '&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="344"></embed></object>');
</script>
Help line:

Code: Select all

Usage: [youtube]URL text[/youtube]

Re: Forum :: Youtube

Posted: Sun Jun 17, 2012 2:51 pm
by uakf.b
If you want to show a Youtube video, just post a link to it. Same goes for a video on any other video streaming website.

Re: Forum :: Youtube

Posted: Sun Jun 17, 2012 5:18 pm
by cyberpunk
this would be more entertaining
[spoiler=Example]Image[/spoiler]
than a simple link http://www.youtube.com/watch?v=pyMiqyDi ... r_embedded