How to add YouTube videos to your profile.

Started by Linkjay, June 26, 2016, 04:33:27 PM

Previous topic - Next topic
June 26, 2016, 04:33:27 PM Last Edit: June 26, 2016, 04:35:05 PM by linkjay1
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.

<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?
you visited this website to experience fun (you know what I mean).






Need to stalk me?

Add me on Steam