[Updated] How to embed YouTube videos!

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

Feb 22, 2007
  1. mthrnite
    OP

    Former Staff mthrnite So it goes.

    Joined:
    Jun 30, 2006
    Messages:
    4,523
    Location:
    th' south
    Country:
    United States
    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

    Member Sil3n7 GBAtemp Fan

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

    Member adgloride Its A Wii Wario

    Joined:
    Apr 2, 2003
    Messages:
    2,261
    Country:
    United Kingdom
    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

    Former Staff mthrnite So it goes.

    Joined:
    Jun 30, 2006
    Messages:
    4,523
    Location:
    th' south
    Country:
    United States
    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

    Administrator shaunj66 Administrator

    Joined:
    Oct 24, 2002
    Messages:
    9,830
    Location:
    South England
    Country:
    United Kingdom
    It's easier just to grab the "embed" code from the Youtube page and take the URL "value" from it.
     
  6. mthrnite
    OP

    Former Staff mthrnite So it goes.

    Joined:
    Jun 30, 2006
    Messages:
    4,523
    Location:
    th' south
    Country:
    United States
    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

    Member Mortenga GBAtemp Regular

    Joined:
    Nov 19, 2006
    Messages:
    246
    Location:
    Portsmouth, UK
    Country:
    United Kingdom
    OR You could just post a link to the video you want people to watch?
     
  8. shaunj66

    Administrator shaunj66 Administrator

    Joined:
    Oct 24, 2002
    Messages:
    9,830
    Location:
    South England
    Country:
    United Kingdom
    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

    Former Staff mthrnite So it goes.

    Joined:
    Jun 30, 2006
    Messages:
    4,523
    Location:
    th' south
    Country:
    United States
  10. Xcursion

    Member Xcursion GBAtemp Regular

    Joined:
    Nov 18, 2006
    Messages:
    146
    Country:
    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

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,031
    UPDATE
    The Youtube tag has just been updated.

    Read the updated first post.
     
  12. .TakaM

    Member .TakaM .II

    Joined:
    Oct 8, 2004
    Messages:
    3,525
    Country:
    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

    Member jalaneme Female Gamer

    Joined:
    Nov 27, 2006
    Messages:
    6,247
    Location:
    London
    Country:
    United Kingdom
  14. Urza

    Member Urza hi

    Joined:
    Jul 18, 2007
    Messages:
    6,493
    Country:
    United States
    And the annoying border around the left/right sides has been removed.
     
  15. animethunder

    Newcomer animethunder Advanced Member

    Joined:
    Dec 19, 2007
    Messages:
    70
    Location:
    MapleIsland
    Country:
    United States
    Are you allowed to do this:

    The Assasination:


    Kirby's Nightmare in Dream Land:
    y0EbeV0LEP4

    Naptime:


    Basketball Master:
     
  16. Supah Eirian

    Newcomer Supah Eirian Advanced Member

    Joined:
    Jan 8, 2008
    Messages:
    85
    Country:
    United States
    Yes. Yes, you can.
     
  17. The Teej

    Former Staff The Teej Also known as The Tjalian

    Joined:
    Jun 27, 2004
    Messages:
    4,210
    Location:
    England
    Country:
    United Kingdom
    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

    Former Staff The Teej Also known as The Tjalian

    Joined:
    Jun 27, 2004
    Messages:
    4,210
    Location:
    England
    Country:
    United Kingdom
    So, uhh, once again, I ask if this is possible [​IMG]
     
  19. Pizzaroo

    Member Pizzaroo douchebag

    Joined:
    Feb 2, 2008
    Messages:
    1,161
    Country:
    United States
    [​IMG]
     
  20. Vidboy10

    Member Vidboy10 Tsardom

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

Share This Page