Page 1 of 2

a New BB code option :)

Posted: Mon Jan 21, 2013 9:11 pm
by Bond009
I was wondering if you could add a [video]link[/video] for youtube and stuff like that like it is on my site, im sure it can be done easy enough :) for stuff like this https://www.youtube.com/watch?v=g6cSBlho77Y little cuts of game play or whatever it may be.

Re: a New BB code option :)

Posted: Mon Jan 21, 2013 9:18 pm
by cyberpunk
Support.
[spoiler=msg to uakf.b how to implement]Go to ACP->Posting->BBCodes->Add a New BBCode
In bbcode usage paste this

Code: Select all

[youtube]{URL}[/youtube]

In HTML replacement paste this

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>

In Help line, to help the user

Code: Select all

Usage: [youtube]URL TO VIDEO[/youtube]

And do not forget to "Display on posting page"[/spoiler]

Re: a New BB code option :)

Posted: Mon Jan 21, 2013 10:45 pm
by uakf.b
Personally I find embedded videos to be exceptionally annoying. For people who don't use NoScript to block Flash by default, it also would greatly increase the page load time. What's wrong with posting a link?

Re: a New BB code option :)

Posted: Mon Jan 21, 2013 11:57 pm
by Bond009
eh idk its just nice to have in some cases, i mean to have 1 video in a thread wont increase the load time that much unless you guys made a funny video thread or music thread which in that case it would increase the load time a fair amount.. lol but you could just make them put it in a spoiler tab and then no load time :) its not a nessasary thing just sometimes nice and convenient i guess.

Re: a New BB code option :)

Posted: Tue Jan 22, 2013 12:12 am
by uakf.b
Or you could post a link.

Re: a New BB code option :)

Posted: Tue Jan 22, 2013 3:05 am
by cyberpunk
with a bbcode it will display what you are clicking, unless you want to see justin bieber's videos.

Re: a New BB code option :)

Posted: Tue Jan 22, 2013 3:25 am
by Bond009
cyberpunk wrote:with a bbcode it will display what you are clicking, unless you want to see justin bieber's videos.

exactly^ its like a nice preview to see if its worth your time to even click or not. thats the nice part about it. besides it just loads the front picture not like it loads the whole video and starts auto streaming it, so not a big downside. ;p Im a good guy here im trying to enhance your site and make it better for ppl and bring more traffic here so you can trust me, im spreading the word lol

Re: a New BB code option :)

Posted: Tue Jan 22, 2013 7:19 pm
by Bond009
agreements wrote:Just embed them in a lightbox, with autoplay off?

whos this directed towards, and what is the bb code for a lightbox on this forum lol

Re: a New BB code option :)

Posted: Tue Jan 22, 2013 7:21 pm
by teller55
I still think this is a bad idea because if someone posts something illegal/NSFW, and the mods don't catch it for a couple hours, this can mean bad news. A link is one thing, but to actually support the ability to see and watch the vid on the forum is another.

Re: a New BB code option :)

Posted: Tue Jan 22, 2013 7:33 pm
by cyberpunk
teller55 wrote:I still think this is a bad idea because if someone posts something illegal/NSFW
Our members can use

Code: Select all

[url]redtube.com[/url]
Will be the same thing. And videos from youtube? I dunno what kind of illegal video remains there because the youtube staff always remove. I had my account banned once. :3

Re: a New BB code option :)

Posted: Tue Jan 22, 2013 7:38 pm
by teller55
Yes, you can still post a link, but it doesn't explicitly play the video on the forum. I am an admin on another forum with the [video] links and you can watch the video right on the forum without leaving to go to youtube or the other sites.

I'm just saying it puts more liability than just a simple link.

Re: a New BB code option :)

Posted: Wed Jan 23, 2013 12:01 am
by Bond009
Cant it be supported to only show vids from youtube or maybe just show the front img of the video and when u click it, it takes you to the site instead of playing it from the forum? I mean it has benefits and i guess maybe some down sides.. is there a way to get the benefits without the downsides?

Re: a New BB code option :)

Posted: Wed Jan 23, 2013 12:48 am
by Raizen
how about make the youtube video with auto spoiler
so could watch the video at the forum without be annoying :P

Re: a New BB code option :)

Posted: Wed Jan 23, 2013 3:58 am
by teller55
Only issue: I see no upsides?

What's wrong with posting the link and doing [url=www.youtube.com/yourvideo]Video of my cousin kicking a dog[/url "]" (leaving off last bracket so text displays)

If you believe there are upsides, I guess maybe you can convince uakf.b that there are, I just can't think of any off the top of my head :/

Re: a New BB code option :)

Posted: Wed Jan 23, 2013 10:52 am
by Hisoka
Pornopunk wrote: Our members can use

Code: Select all

    [url]redtube.com[/url]


Mmhhh... Piggie Piggie