[Updated] How to embed YouTube videos!

Discussion in 'Site Discussions & Suggestions' started by mthrnite, Feb 22, 2007.

  1. mthrnite
    OP

    mthrnite So it goes.

    Former Staff
    4,530
    945
    Jun 30, 2006
    United States
    th' south
    NEW YOUTUBE TAG, Jan. 14th, 2008

    The new youtube tag is easier to use than the previous one (read the spoiler box below).

    Just put the video code between the tags.
    For example: to include this video http://www.youtube.com/watch?v=CZcNWUzxpUo
    All you need is the CZcNWUzxpUo part.

    Code:
    [youtube]CZcNWUzxpUo[/youtube]
    Result:


    Enjoy!


    [title:Old post by mthrnite]
    Many people haven't gotten the hang of the YOUTUBE tags for embedding video in their posts.
    Here's a quick explanation:

    Find a vid you like on www.youtube.com and copy what's in your browser's address bar, here I found one.
    Code:
    http://www.youtube.com/watch?v=WAEk9ZDJUI4&mode=related&search=
    Now, notice this part, between the v= and the mode=

    watch?v=WAEk9ZDJUI4&mode=related&search=

    That's the identifier for the vid. There isn't always a mode= part at the end, only if you got to the vid indirectly.
    The identifier lives in the "v" directory on YouTube, so, here comes the surgery...

    1. Highlight and delete the watch? on the left side of the v
    2. Highlight the = on the right side of the v and type a / to replace it.
    3. Highlight and delete mode=blablabla if it's there at all, all the way to the end of the line.
    4. Now all that's left to do is to surround it in the YOUTUBE tags.

    Here's a quick visual rundown:

    Code:
    This:
    http://www.youtube.com/watch?v=WAEk9ZDJUI4&mode=related&search=
    
    Becomes this:
    [YOUTUBE]http://www.youtube.com/v/WAEk9ZDJUI4&[/YOUTUBE]

    Make sure you Preview Post before you Submit Post, the YouTube vid should show up in your preview.
    If all is well, submit that thang and share your good taste with the world!




    If you've found an easier way to do this or have any questions, let me know here.
    I'm gonna sticky this topic for the time being.
     
  2. Sil3n7

    Sil3n7 GBAtemp Fan

    Member
    415
    0
    Aug 28, 2006
    United States
    .:Outer Heaven:.
    Thats cool and all but im a little scared of what people might post... Kinda like yours [​IMG]
     
  3. adgloride

    adgloride Its A Wii Wario

    Member
    2,261
    2
    Apr 2, 2003
    The youtube code is a lot more complicated then is should be.

    On the websites I go on that use the code. I do what mthrnite said, but I only need to enter the video number. As shown below.

    Code:
    [youtube]o-64Z9gccuU[/youtube]
     
  4. mthrnite
    OP

    mthrnite So it goes.

    Former Staff
    4,530
    945
    Jun 30, 2006
    United States
    th' south
    That's like one of my favorite songs in the whole world!
    Don't be hatin' on the classics, baby!
    (that being said, Don Ho she is not.)
     
  5. shaunj66

    shaunj66 Administrator

    Administrator
    10,106
    2,182
    Oct 24, 2002
    United Kingdom
    South England
    It's easier just to grab the "embed" code from the Youtube page and take the URL "value" from it.
     
  6. mthrnite
    OP

    mthrnite So it goes.

    Former Staff
    4,530
    945
    Jun 30, 2006
    United States
    th' south
    which I have to pare down.

    Personally having tried it both ways, I found myself doing it the "hard" way more often.
    Guess I'm just weird, or just got used to it...
    .. OR BOTH!!! [​IMG]
     
  7. Mortenga

    Mortenga GBAtemp Regular

    Member
    246
    0
    Nov 19, 2006
    Portsmouth, UK
    OR You could just post a link to the video you want people to watch?
     
  8. shaunj66

    shaunj66 Administrator

    Administrator
    10,106
    2,182
    Oct 24, 2002
    United Kingdom
    South England
    The embed text box is designed so that when you click it, all text is automatically selected. Just click in the cell > right click > copy.

    Paste in address bar for convenience; select and copy req. URL et voila.

    Or you could just keep doing it your way. Who cares? [​IMG]

    Edit: Moved topic to ' Site discussions, suggestions & forum help' for people looking for how to embed Youtube videos in the future.
     
  9. mthrnite
    OP

    mthrnite So it goes.

    Former Staff
    4,530
    945
    Jun 30, 2006
    United States
    th' south
    (_')
     
  10. Xcursion

    Xcursion GBAtemp Regular

    Member
    146
    0
    Nov 18, 2006
    Canada
    How about an option to disable embeded videos and to change them to links? I have noticed someone using the youtube tags to link to nonyoutube videos like in the following link.

    http://gbatemp.net/index.php?showtopic=56988
     
  11. Costello

    Costello Headmaster

    Administrator
    12,441
    5,780
    Oct 24, 2002
    UPDATE
    The Youtube tag has just been updated.

    Read the updated first post.
     
  12. .TakaM

    .TakaM .II

    Member
    3,525
    7
    Oct 8, 2004
    New Zealand
    yay, I was hoping GBAtemp would simplify it

    good job [​IMG]

    edit-
    any chance of getting a button for the tag:
    [​IMG] etc?
     
  13. jalaneme

    jalaneme Female Gamer

    Member
    6,248
    195
    Nov 27, 2006
    London
    cool [​IMG]
     
  14. Urza

    Urza hi

    Member
    6,493
    89
    Jul 18, 2007
    United States
    And the annoying border around the left/right sides has been removed.
     
  15. animethunder

    animethunder Advanced Member

    Newcomer
    70
    0
    Dec 19, 2007
    United States
    MapleIsland
    Are you allowed to do this:

    The Assasination:


    Kirby's Nightmare in Dream Land:
    y0EbeV0LEP4

    Naptime:


    Basketball Master:
     
  16. Supah Eirian

    Supah Eirian Advanced Member

    Newcomer
    85
    0
    Jan 8, 2008
    United States
    Yes. Yes, you can.
     
  17. The Teej

    The Teej Also known as The Tjalian

    Former Staff
    4,210
    6
    Jun 27, 2004
    England
    Is there any way of adding in parameters for the youtube tag? I.e.

    Code:
    [youtube=640,360]t3eJr4wx[/youtube]
    would make the video appear in 640x360 resolution, or is this not possible?
     
  18. The Teej

    The Teej Also known as The Tjalian

    Former Staff
    4,210
    6
    Jun 27, 2004
    England
    So, uhh, once again, I ask if this is possible [​IMG]
     
  19. Pizzaroo

    Pizzaroo douchebag

    Member
    1,161
    0
    Feb 2, 2008
    United States
    [​IMG]
     
  20. Vidboy10

    Vidboy10 Tsardom

    Member
    2,617
    7
    Dec 15, 2008
    Canada
    Vancouver, B.C
    Since Youtube is now in HD.
    Is it possible to Enable the Videos in a bigger screen?