Garry's Mod Since 2014

Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: How to add YouTube videos to your profile.  (Read 1214 times)

Offline Linkjay

  • that guy who
  • Co-Owner
  • Savior
  • Posts: 1,472
  • Reputation: 174
  • Gender: Male
  • hey i do stuff
    • My website
How to add YouTube videos to your profile.
« on: June 26, 2016, 04:33:27 pm »
So if you look at mine, you can see I have a nice embed video of Highway to Hell. Now, the default, and non-deprecated method of doing this likes to not work so, this will be the only time I say this, but we're going to do it wrong to do it right. Simple?

This is the code.

Code: [Select]
<object width="800" height="360" data="YOUTUBELINKHERE">
</object>

This was deprecated a long time ago by YouTube and replaced with <iframe> which, for some reason, does not work on our profile setup. Now you can't just replace the link with anything, you have to get the special embed link. This can be done by going to any video, and clicking on share.



Now click on embed and copy JUST THE YOUTUBE LINK THAT CONTAINS THE /embed/ PART.



Now just replace the YOUTUBELINKHERE in my code with your new embed link. You can change the resolution but I would keep it how I set it at the very top in the HTML code. It looks nice, is widescreen, and just fits nicely with everything.


Pls donate some +rep for dis guide?
« Last Edit: June 26, 2016, 04:35:05 pm by linkjay1 »
you visited this website to experience fun (you know what I mean).







Need to stalk me?

Add me on Steam