Proper YouTube BBCode Tag now available

  • Thread starter Thread starter Costello
  • Start date Start date
  • Views Views 4,798
  • Replies Replies 16

Costello

Headmaster
Administrator
Joined
Oct 24, 2002
Messages
14,405
Solutions
15
Reaction score
16,142
Trophies
5
XP
22,481
I've added a better YOUTUBE BBcode tag to replace the annoying old one

The OLD one worked this way:
Code:
[youtube]VRnQxCF-UcQ[/youtube]
I haven't removed it completely, it is still available as
Code:
[yt]VRnQxCF-UcQ[/yt]

The NEW one works more intuitively (choose the way you prefer):
Code:
1. [youtube]VRnQxCF-UcQ[/youtube] similar to old one
2. [youtube]http://www.youtube.com/watch?v=VRnQxCF-UcQ[/youtube] ---> regular link
3. [youtube]http://www.youtube.com/watch?v=VRnQxCF-UcQ&hd=1[/youtube]ÂÂ---> HD
4. [youtube]http://youtu.be/VRnQxCF-UcQ[/youtube]ÂÂ---> short link
5. [youtube]http://youtu.be/VRnQxCF-UcQ?hd=1[/youtube] --->ÂÂshort link, HD

this covers pretty much all possibilities.
you no longer have to worry about how to post a youtube video properly
smile.gif


test:
[youtube]http://www.youtube.com/watch?v=VRnQxCF-UcQ[/youtube]
 
I'm guessing others still work too, like &autoplay, #t=XmXXs, etc?

Edit: also awesome. I remember requesting this ages ago. Thanks
 
prwlr. said:
I'm guessing others still work too, like &autoplay, #t=XmXXs, etc?

Edit: also awesome. I remember requesting this ages ago. Thanks

no, additional options have been disabled, purposedly.
you don't want to allow people to autoplay videos on a forum like this.
 
Costello said:
prwlr. said:
I'm guessing others still work too, like &autoplay, #t=XmXXs, etc?

Edit: also awesome. I remember requesting this ages ago. Thanks

no, additional options have been disabled, purposedly.
you don't want to allow people to autoplay videos on a forum like this.
Maybe the time option (#t=XmXXs) wouldn't be that bad to have
tongue.gif
It's pretty useful sometimes.
 
I didn't have trouble with the old tag, but at least it's even less of a problem now, I guess. I'm glad the old tag was kept though; better to have the choice.

I'd prefer keeping time-specific tags with the new tag though, if possible.
 
Same opinion as ProtoKun, there was nothing wrong with the old tag but now we have this tag, so it's great I guess..
 
Well, maybe nothing wrong for those of us who knew how to use it, but in any case, it's good that both are still available (especially as if for any reason I want to use the older control style I can just use the old tag). I've found myself using this new one a couple of times already, so it's choice rather than preference, I think.
 
I discovered a bug. When multiple different Youtube videos are grouped together, they all turn into the first video. I'm not sure I worded that properly so look at the example, below.
---
Videos
[youtube]http://www.youtube.com/watch?v=JQqyUlQRB5g[/youtube] [youtube]http://www.youtube.com/watch?v=TeLKznOP4uM[/youtube]
[youtube]http://www.youtube.com/watch?v=8VDzoMK0SI0[/youtube][youtube]http://www.youtube.com/watch?v=NW2EzdOyFMg[/youtube][youtube]http://www.youtube.com/watch?v=na8MZXA2iQA[/youtube][youtube]http://www.youtube.com/watch?v=Jhho-1UC1fM[/youtube]
---
I also tried it with the yt tag and it still doesn't work.
Videos
---
 
Costello said:
what do you mean by "grouped together"?
See my post in your test topic.


Grouping them doesn't seem to be the problem, the notation is.


vvv

QUOTE(SoulSnatcher @ Feb 14 2011, 02:49 AM)
[youtube]JQqyUlQRB5g[/youtube] [youtube]http://www.youtube.com/watch?v=TeLKznOP4uM[/youtube]
 
It seems to work with the original Youtube tag (yt), though.
Videos
 
SoulSnatcher said:
I discovered a bug. When multiple different Youtube videos are grouped together, they all turn into the first video.

[...]

I also tried it with the yt tag and it still doesn't work.

[..]

That's exactly what I got a while ago. When putting a couple YouTube links in one post using the new BB code, the videos duplicate (when trying to view them, the second, third, fourth and so on changes into the first clip) or the place where they should be in the post turns blank. This does not occur when using the older BB code.
 

Site & Scene News

Popular threads in this forum