Proper YouTube BBCode Tag now available

Discussion in 'Site Discussions & Suggestions' started by Costello, Feb 8, 2011.

Feb 8, 2011
  1. Costello
    OP

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,031
    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 [​IMG]

    test:
    [youtube]http://www.youtube.com/watch?v=VRnQxCF-UcQ[/youtube]
     
  2. prowler

    Member prowler Sony

    Joined:
    Jul 14, 2009
    Messages:
    9,473
    Location:
    Ragol
    Country:
    United Kingdom
    I'm guessing others still work too, like &autoplay, #t=XmXXs, etc?

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

    Member Goli RPG

    Joined:
    Jul 16, 2008
    Messages:
    2,571
    Country:
    Chile
    [​IMG]
    Finally!
    I hated having to single out that unique video code when posting YT videos.
     
  4. The Pi

    Member The Pi Lurker

    Joined:
    Mar 18, 2010
    Messages:
    1,638
    Location:
    Scotland
    Country:
    United Kingdom
    [​IMG]

    Random test:
    [youtube]http://www.youtube.com/watch?v=CMNry4PE93Y[/youtube]
     
  5. Costello
    OP

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,031
    no, additional options have been disabled, purposedly.
    you don't want to allow people to autoplay videos on a forum like this.
     
  6. raulpica

    Supervisor raulpica With your drill, thrust to the sky!

    Joined:
    Oct 23, 2007
    Messages:
    10,663
    Location:
    _____________ PowerLevel: 9001
    Country:
    Italy
    Maybe the time option (#t=XmXXs) wouldn't be that bad to have [​IMG] It's pretty useful sometimes.
     
  7. Infinite Zero

    Member Infinite Zero Almost!

    Joined:
    Apr 25, 2010
    Messages:
    2,922
    Location:
    California
    Country:
    United States
    Thank you! This is very useful [​IMG]
     
  8. ProtoKun7

    Global Moderator ProtoKun7 GBAtemp Time Lord Regenerations: 3

    Joined:
    Jan 3, 2009
    Messages:
    7,480
    Location:
    Gallifrey
    Country:
    United Kingdom
    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.
     
  9. shlong

    Member shlong in memoriam of gravitas

    Joined:
    Jun 18, 2009
    Messages:
    2,301
    Location:
    Charlotte's maze
    Country:
    Italy
    Yay, this is kinda awesome ^~^
    Thanks, Costy [​IMG]
     
  10. Ron

    Member Ron somehow a weeb now.

    Joined:
    Dec 10, 2009
    Messages:
    2,837
    Location:
    here
    Country:
    Canada
    Same opinion as ProtoKun, there was nothing wrong with the old tag but now we have this tag, so it's great I guess..
     
  11. ProtoKun7

    Global Moderator ProtoKun7 GBAtemp Time Lord Regenerations: 3

    Joined:
    Jan 3, 2009
    Messages:
    7,480
    Location:
    Gallifrey
    Country:
    United Kingdom
    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.
     
  12. soulx

    Member soulx GBAtemp Legend

    Joined:
    Apr 4, 2009
    Messages:
    10,130
    Country:
    Canada
    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
    Gaming
    Interviews and Stuff
    ---
    I also tried it with the yt tag and it still doesn't work.
    Videos
    Gaming
    Interviews and Stuff
    ---
     
  13. Costello
    OP

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,031
    what do you mean by "grouped together"?
     
  14. tj_cool

    Supervisor tj_cool Stuff

    Joined:
    Jan 7, 2009
    Messages:
    9,942
    Location:
    This planet
    Country:
    Belgium
     
  15. soulx

    Member soulx GBAtemp Legend

    Joined:
    Apr 4, 2009
    Messages:
    10,130
    Country:
    Canada
    It seems to work with the original Youtube tag (yt), though.
    Videos
    Gaming
    Interviews and Stuff
     
  16. Rhulqdahr

    Newcomer Rhulqdahr Member

    Joined:
    Jan 22, 2011
    Messages:
    22
    Country:
    Poland
    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.
     
  17. Shockwind

    Member Shockwind GBATemp's Official The Last of Us Fan

    Joined:
    Dec 10, 2010
    Messages:
    1,106
    Location:
    inside a post-apocalyptic world.
    Country:
    Philippines
    Yay! This is going to be very useful. [​IMG]
     

Share This Page